v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1430193167.6 KB

Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.

post/#X-Amz-Target=B2BI.TestParsing

Headers

X-Amz-Target'B2BI.TestParsing' required

Request body

fileFormat'XML' | 'JSON' | 'NOT_USED' required

Specifies that the currently supported file formats for EDI transformations are <code>JSON</code> and <code>XML</code>.

Response

Success

parsedFileContentstring required

Returns the contents of the input file being tested, parsed according to the specified EDI (electronic data interchange) type.

parsedSplitFileContentsString[]

Returns an array of parsed file contents when the input file is split according to the specified split options. Each element in the array represents a separate split file's parsed content.

validationMessagesString[]

Returns an array of validation messages generated during EDI validation. These messages provide detailed information about validation errors, warnings, or confirmations based on the configured X12 validation rules such as element length constraints, code list validations, and element requirement checks. This field is populated when the <code>TestParsing</code> API validates EDI documents.