Validate EDI resources with the HTTP POST Method
In order to validate EDI documents according to the implementation guide for each standard and version use the following resources with the POST method:
You can read two resources, X12 files and EDIFACT files/streams. To do so, execute HTTP POST to the resource URL, with the request body being the file to translate included as form-data content.
-
The request body must be an X12Interchange. Execute HTTP POST to the resource URL, with the request included as
application/json
content.- URL:
https://api.edination.com/v2/x12/validate
- Header:
Ocp-Apim-Subscription-Key: {API key}
- Request: X12Interchange
- Response: OperationDetails
The response will contain validation details, encoded in
application/json
format. - URL:
-
The request body must be an EdifactInterchange. Execute HTTP POST to the resource URL, with the request included as
application/json
content.- URL:
https://api.edination.com/v2/edifact/validate
- Header:
Ocp-Apim-Subscription-Key: {API key}
- Request: EdifactInterchange
- Response: OperationDetails
The response will contain validation details, encoded in
application/json
format. - URL:
Example with Postman:
Comments
0 comments
Please sign in to leave a comment.