Documentation

How to generate EDIFACT CONTRL

Article author
Admin
  • Updated

Generate EDIFACT CONTRL with the HTTP POST Method

You can generate an EDIFACT CONTRL acknowledgment for an EdifactInterchange by using the HTTP POST method. The request body must be an EdifactInterchange. Execute HTTP POST to the resource URL, with the request included as application/json content.

  1. URL: https://api.edination.com/v2/edifact/ack
  2. Header: Ocp-Apim-Subscription-Key: {API key}
  3. Request: EdifactInterchange
  4. Response: EdifactInterchange

The response will contain an EdifactInterchange, encoded in application/json format, which represents the CONTRL acknowledgment with the original UNB and UNB, where the sender and receiver had been swapped and the UNB5 (Interchange Control Reference) had been set to 1. By default technical CONTRL will be included as per the UNB9 (Acknowledgment Request) flag.

Example with Postman:

generate-edifact-contrl.png

Share this:

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.