IPWorks EDI 2020 macOS Edition

Questions / Feedback?

GISBData Type

The EDI payload of the message.

Remarks

The EDI payload of the message.

Fields

dataB
Data

This property contains the EDI payload of the transmission.

In a receiver, this property will only be populated if OutputStream has not been specified and ParseRequest finishes without an error. Data will contain the full decrypted text of the EDI message.

data
String

This property contains the EDI payload of the transmission.

In a receiver, this property will only be populated if OutputStream has not been specified and ParseRequest finishes without an error. Data will contain the full decrypted text of the EDI message.

ediType
String

The EDIType of the EDI message. The default value is "X12". EDIType may also be set to "error", in which case the message is an error relating to a previous message. In this case the ErrorMessage property and related properties will provide more information.

filename
String

In a sender, if Filename is specified, the file specified will be used for the EDI payload of the transmission. Name will be populated with the name of the file.

In a receiver, if this property is set prior to calling ParseFormData and ParseRequest the incoming data will be decrypted and written to the file at the specified path.

Note: When OutputStream is set, the data will be written to the stream and this property will not be populated.

name
String

Name is the final name to be associated with the contents of either the Data or FileName properties. This corresponds to the filename attribute of the Content-Disposition header for the EDI payload.

When constructing EDI data to be sent, Name will be set to the same value as FileName, but can be overridden after setting FileName to indicate that another name should be used in the outbound request's Content-Disposition MIME header.

When receiving EDI data, Name will be read out of the "filename" attribute of the inbound request's Content-Disposition MIME header.

Constructors

public init()
public init(data: Data, eDIType: String)
public init(filename: String, eDIType: String)

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