Workflows
This page describes the typical workflow and high level process flow for the production API.
Information on the test process can be found in the EMCS API testing guide.
Typical workflow
The consignor submits a draft movement (IE815) message, and will asynchronously receive a validated e-AD (IE801) message in return to notify them that their draft movement has been accepted.
The consignor or consignee can call the get excise movements endpoint or the get single excise movement endpoint to retrieve the status of the excise movement.
Using the ‘updatedSince’ query parameter with the get excise movements endpoint, consignors or consignees can filter excise movements modified after the last time they polled for messages.
For each updated movement that gets returned, they can then call the get all messages for an excise movement endpoint and pass in the same value for its “updatedSince” query parameter to get the messages that have been received since they last polled. This service guide contains a list of all messages it is possible to receive.
The consignor or consignee can use the submit a message for an excise movement endpoint to update the movement with the following messages:
- IE810 - Cancellation
- IE813 - Change of destination
- IE818 - Report of receipt
- IE819 - Alert or rejection of E-AD/E-SAD
- IE837 - Explain delay to delivery
- IE871 - Reason for shortage
Once the IE818 - Report of receipt has been submitted and accepted, the movement is complete.
High level process flow diagram
Open high level process map in a new tab.
Detailed process flow diagrams for the new RESTful API are still in development.
As the functionality of the API remains similar to the SOAP API, you should use the process flows in the existing DDNEA documentation.
Ignore any references to SOAP or SOAP envelopes, the new API is RESTful.