IPWorks EDI 2020 Python Edition

Questions / Feedback?

input_format Property

The format of the input data.

Syntax

def get_input_format() -> int: ...
def set_input_format(value: int) -> None: ...

input_format = property(get_input_format, set_input_format)

Default Value

3

Remarks

This property specifies the format of the input data. The value set here, along with output_format, determines how the data is converted when translate is called.

Possible values are:

  • 0 (ifXML)
  • 1 (ifJSON)
  • 3 (ifX12)
Before calling translate, both input_format and output_format must be specified. Translation from XML or JSON to EDI and vice versa are supported. If input_format is ifXML or ifJSON, output_format must be an EDI format. Similarly, if input_format is an EDI format, output_format must be ofXML or ofJSON.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]