Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
integration:nhlmis [2026/07/22 15:58] – [23.07. NHLMIS integration] Gary Willettsintegration:nhlmis [2026/08/28 12:29] (current) – [Sending shipments] Gary Willetts
Line 11: Line 11:
 <WRAP important center round 90%> <WRAP important center round 90%>
 Currently, there is no functionality to show the program a particular order is for or to force the selection of stock that belongs to the correct program. This might be added in a future upgrade.  Currently, there is no functionality to show the program a particular order is for or to force the selection of stock that belongs to the correct program. This might be added in a future upgrade. 
 +</WRAP>
 +
 +<WRAP info center round 90%>
 +The NHLMIS API detail is here: http://field-api-docs.s3-website.eu-central-1.amazonaws.com/
 </WRAP> </WRAP>
  
Line 100: Line 104:
  
 ==== Sending shipments ==== ==== Sending shipments ====
-When a customer invoice, which comes from a requisition generated from an NHLMIS order, is finalised it is sent to NHLMIs by making a PATCH call to the ''/orders'' endpoint. All shipments are sent with a "packed" status. If it is successful, all is well. If the send fails then it is added to a queue and the send is retried after the number of minutes in the **Minutes between retries** field. When the call is successful then the shipment is removed from the queue. If it fails the number of times in the **No. times to retry sends** field then the shipment is removed from the queue and an error email is sent to the email(s) in the **Error email** field.+When a customer invoice, which comes from a requisition generated from an NHLMIS order, is finalised it is sent to NHLMIS by making a POST call to the ''/shipments'' endpoint. All shipments are sent with a "packed" status. If it is successful, all is well. If the send fails then it is added to a queue and the send is retried after the number of minutes in the **Minutes between retries** field. When the call is successful then the shipment is removed from the queue. If it fails the number of times in the **No. times to retry sends** field then the shipment is removed from the queue and an error email is sent to the email(s) in the **Error email** field.
  
  
  • Last modified: 2026/07/22 15:58
  • by Gary Willetts