- Applies the mapping (if present) to the provided transaction data.
- Adds fragments from specified fragment groups (if present).
- Generates an EDI file according to the Stedi guide attached to the outbound transaction setting. This includes adding required envelope information (
ISAandGSheaders) and autogenerated control numbers. - Delivers the EDI file to your trading partner through the connection specified in the outbound transaction setting.
Response
When you deliver a single transaction without any fragment groups, this endpoint is synchronous, and you will receive any errors. If you are using more advanced features, generation may be asynchronous. In both cases, you can use the returnedfileExecutionId to check the status of the delivery and retrieve the execution input, output, and metadata for the generated file.
Transaction data
The endpoint supports three ways to provide transaction data:- No mapping or fragments: You provide transaction data in Guide JSON format. The transaction data must be < 5MB.
- Mapping: You provide transaction data in the source schema format for the specified Stedi mapping. The transaction data that you want to map must be < 4MB.
- Fragments: You provide the fragment wrapper in Guide JSON format. Visit outbound fragments for more details and examples.
Delivery attempts
Stedi attempts to deliver a file to all configured connections every 6 minutes for up to 3 total attempts. If it cannot deliver the file after the third attempt, it marks the file execution asFAILED and emits the file.failed.v2 event. Stedi displays each delivery attempt and the failure details on the Files page.