...
Onetrail TPN supports JSON (P&A only), XML and EDIFACT for the REST services. The documentation and definitions can be found here: Message Types
Communication
From Seller to Onetrail
...
TPN
https://$base_url/exchange/rest/tradingpartner/{toGLN}/msgtype/{msgType}/msg/{msgID}
...
- Method: POST
- Body: XML or EDIFACT content
From Onetrail
...
TPN to Seller
https://$base_url/tradingpartner/{fromGLN}/msgtype/{msgType}/msg/{msgID}
...
- base_url:
- Acceptance: to be provided by the Seller
- Production: to be provided by the Seller
- Variables:
- {fromGLN} = GLN for the buyer sending the message
- {msgType} = Order
- {msgID} = the unique messageID
- Method: POST
- Body: XML or EDIFACT content
From Buyer to Onetrail
...
TPN (Order)
https://$base_url/exchange/rest/tradingpartner/{toGLN}/msgtype/{msgType}/msg/{msgID}
...