For the complete documentation index, see llms.txt. This page is also available as Markdown.
Service Order Integration API
The objective of the Service Order integration is to trigger the ordering of port related services and receive updates on estimated, revised and actual cost from parties handling the orders. The costs are internally assigned to the correct port call, vessel and voyage and processed further inside the VMS.
Description
Note: Recommended before proceeding - read: Getting Started with Dataloy REST API.
The endpoints for the Port Service Order process are:
The fields property to customize the messages must be encoded with Base64 and set in attribute json of the WebhookSubscription
If the integration want to be notified also when there are changes to the PortCall connected with the ServiceOrder, a WebhookSubscription like this should be POST:
where “dataloyObject“: 3644213 is the PortCall key.
Auto posting of service order invoices is supported for integrations with external agency systems. This feature allows invoices to be automatically posted when service orders are updated via the API.
A key prerequisite is configuring the Auto Post Service Order system setting. This setting determines the service order status from which auto posting is enabled and includes invoicing properties such as Default Payment Term and Default Baseline Term.
Once configured, it's essential to include the autoPost = true HTTP header in all PUT requests to service orders and/or service order lines. This will trigger the automatic posting of the invoices based on the updated data.
Important Note
Manual Changes Will Not Trigger Auto Posting
Changes made via the VMS client UI (manually by users) will NOT trigger auto posting. This feature is exclusive to API-based integrations.
Service Order statues
Draft, DFT
Estimated, EST
Revised, REV
Final, FIN
Cancel, CAN
Service Order status transitions
Service Order status transitions when Agent nomination is enabled