Skip to content

TestParsingResponse

Source code in docs_src/capo_b2bi/types/test_parsing_response.py
class TestParsingResponse(TypedDict, closed=True):
    parsed_file_content: "str"
    """<p>Returns the contents of the input file being tested, parsed according to the specified EDI (electronic data interchange) type.</p>"""
    parsed_split_file_contents: NotRequired[
        "capo_b2bi.types.parsed_split_file_contents_list.ParsedSplitFileContentsList"
    ]
    """<p>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.</p>"""
    validation_messages: NotRequired[
        "capo_b2bi.types.validation_messages.ValidationMessages"
    ]
    """<p>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.</p>"""

parsed_file_content instance-attribute

parsed_file_content: str

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

parsed_split_file_contents instance-attribute

parsed_split_file_contents: NotRequired[ParsedSplitFileContentsList]

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.

validation_messages instance-attribute

validation_messages: NotRequired[ValidationMessages]

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 TestParsing API validates EDI documents.