Waiting for engine...
Skip to main content

X12 Connector Record object

X12 Connector Records correspond to the trading partner details of the Process Reporting page in the user interface. The X12 Connector Record object contains X12-specific document information and user-defined tracked field information along with other fields.

Structure

<X12ConnectorRecord>
<account/>
<executionId/>
<atomId/>
<dateProcessed/>
<id/>
<actionType/>
<connectorType/>
<connectorName/>
<operationName/>
<documentIndex/>
<successful/>
<size/>
<errorMessage/>
<customFields>
<field1>value</field1>
.
.
.
<fieldN>value</fieldN>
</customFields>
<isaAckStatus/>
<isaAckReport/>
<ackStatus/>
<ackReport/>
<isaControl/>
<gsControl/>
<stControl/>
<functionalID/>
<transactionSet/>
<testIndicator/>
<senderIDQualifier/>
<senderID/>
<receiverIDQualifier/>
<receiverID/>
<appSenderID/>
<appReceiverID/>
<standardID/>
<standard/>
<gsVersion/>
<agencyCode/>
<gsDate/>
<gsTime/>
<outboundValidationStatus/>
<outboundValidationReport/>
</X12ConnectorRecord>
FieldTypeDescription
FilterFilterFilter
accountstringThe ID of the account in which this record ran.
executionIdstringThe ID of the run.
atomIdstringThe ID of the Runtime that processed this record.
dateProcessedstringThe processing date and time for this record. The format is yyyy-MM-dd'T'HH:mm:ss'Z', for example, 2016-01-31T15:32:00Z.
idstringThe ID of this record.
actionTypestringThe type of action with which this record corresponds — Send for an outbound interchange, Get for an inbound interchange using the Disk, FTP, or SFTP communication method, or Listen for an inbound interchange using the AS2 or HTTP communication method.
connectorTypestringx12 is the connector type for any record.
connectorNamestringThe value is Trading Partner for an X12 trading partner Send operation, or Start for an X12 trading partner Listen operation.
operationNamestringThe name of the operation component that processed the record.
documentIndexintThe numerical index of this record in the run.
successfulbooleanWhether the record is a success or error.
sizelongThe size, in bytes, of the document that corresponds to this record.
errorMessagestringAny error message associated with this record.
customFieldsstringCustom fields based on the those configured on the Document Tracking tab of the Setup page. The names of the fields depend on your account setup.
isaAckStatusstringThe interchange acknowledgment status — either Accepted, Accepted with Errors, Partially Accepted, or Rejected
isaAckReportstringThe interchange acknowledgment report, which contains descriptions of interchange segment validation errors.
ackStatusstringThe acknowledgment status — either Accepted, Accepted with Errors, Partially Accepted, or Rejected.
ackReportstringThe acknowledgment report.
isaControlstringThe number that uniquely identifies the interchange.
gsControlstringThe group control number.
stControlstringThe transaction set control number.
functionalIDstringThe identifier for the type of message in the functional group.
transactionSetstringThe identifier code for the transaction set.
testIndicatorstringSpecifies whether the interchange is for testing or production.
senderIDQualifierstringFor outbound interchanges, the Interchange ID Qualifier, which categorizes the Sender ID.
senderIDstringFor outbound interchanges, the Interchange Sender ID, which identifies the sender.
receiverIDQualifierstringFor inbound interchanges, the Interchange ID Qualifier, which categorizes the Receiver ID.
receiverIDstringFor inbound interchanges, the Interchange Receiver ID, which identifies the receiver.
appSenderIDstringFor outbound interchanges, the Application Sender’s Code, which identifies the sender.
appReceiverIDstringFor inbound interchanges, the Application Receiver’s Code, which identifies the receiver.
standardIDstringDisplays the same information as in the Standard column of the user interface.
standardstringThe Interchange Control standard.
gsVersionstringThe Version, Release, and Industry identifier code.
agencyCodestringThe Responsible Agency Code.
gsDatestringThe preparation date of the interchange.
gsTimestringThe preparation time of the interchange.
outboundValidationStatusstringThe outbound validation status — is either Success, Error-Interchange, Error-Transaction Set, or N/A. For an outbound interchange for which you did not select the outbound validation option in the sending trading partner, the value is N/A. The platform omits this field for an inbound interchange.
outboundValidationReportstringThe outbound validation report. This report contains descriptions of errors present in the outbound interchange. If you did not select the outbound validation option in the sending trading partner, the value is N/A. The platform omits this field for an inbound interchange.

Supported operations

GETQUERYCREATEUPDATEEXECUTEDELETE
 Not supportedSupported Not supported  Not supported Not supported Not supported

The following fields can be used as QUERY filters for the X12 Connector Record object:

FieldAllowed values
executionIdAny string value
atomIdAny string value
dateProcessedDate with the format yyyy-MM-dd'T'HH:mm:ss'Z', for example, 2016-01-31T15:32:00Z
idAny string value
actionTypeSend, Get, Listen
connectorTypex12
connectorNameUse Trading Partner to filter by X12 trading partner Send operations, use Start to filter by X12 trading partner Listen operations.
operationNameAny string value
documentIndexAny numeric value
successfultrue, false
sizeAny numeric value
errorMessageAny string value
isaAckStatus- Accepted
- Accepted with Errors
- Partially Accepted
- Rejected
isaAckReportAny string value
ackStatus- Accepted
- Accepted with Errors
- Partially Accepted
- Rejected
ackReportAny string value
isaControlAny string value
gsControlAny string value
stControlAny string value
functionalIDAny string value
transactionSetAny string value
testIndicatorAny string value
senderIDQualifierAny string value
senderIDAny string value
receiverIDQualifierAny string value
receiverIDAny string value
appSenderIDAny string value
appReceiverIDAny string value
standardIDAny string value
standardAny string value
gsVersionAny string value
agencyCodeAny string value
gsDateAny string value
gsTimeAny string value
outboundValidationStatus- Success
- Error-Interchange
- Error-Transaction Set
- N/A
outboundValidationReportAny string value

To filter by a custom field, use the format customFields. Use the fieldName as the filter property where fieldName is the element name of the custom field in the X12 Connector Record structure. To get a list of the available custom fields see the Custom Tracked Field object documentation.

The operators allowed for the X12 Connector Record object filters are:

  • BETWEEN

  • EQUALS

  • GREATER_THAN

  • GREATER_THAN_OR_EQUAL

  • LESS_THAN

  • LESS_THAN_OR_EQUAL

  • STARTS_WITH

However, it is important to note that the STARTS_WITH operator only accepts values that do not include spaces.

For general information about the structure of QUERY filters and how to handle paged results, see the Query filters and Query paging topics.

SOAP implementation

The following example query returns all X12 Connector records with an executionId of execution-01234567-89ab-cdef-0123-456789abcdef-2016.05.21.

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>ATOMSPHERE_USER_NAME</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ATOMSPHERE_PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<api:query>
<api:objectType>X12ConnectorRecord</api:objectType>
<api:queryConfig>
<api:QueryFilter>
<api:expression operator="EQUALS" property="executionId"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="api:SimpleExpression">
<api:argument>execution-01234567-89ab-cdef-0123-456789abcdef-2016.05.21</api:argument>
</api:expression>
</api:QueryFilter>
</api:queryConfig>
</api:query>
</soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<S:Body>
<bns:queryResponse xmlns="http://api.platform.boomi.com/">
<bns:results numberOfResults="100">
<bns:queryToken>EXAMPLE_QUERY_TOKEN</bns:queryToken>
<bns:result xsi:type="bns:X12ConnectorRecord">
<bns:account>account-123456</bns:account>
<bns:executionId>execution-01234567-89ab-cdef-0123-456789abcdef-2016.05.28</bns:executionId>
<bns:atomId>3456789a-bcde-f012-3456-789abcdef012</bns:atomId>
<bns:dateProcessed>2016-05-28T06:24:12Z</bns:dateProcessed>
<bns:id>connector-abcdef01-2345-6789-abcd-ef0123456789</bns:id>
<bns:actionType>Send</bns:actionType>
<bns:connectorType>x12</bns:connectorType>
<bns:connectorName>Trading Partner</bns:connectorName>
<bns:operationName>Xmit Message</bns:operationName>
<bns:documentIndex>0</bns:operationName>
<bns:successful>true</bns:successful>
<bns:size>654</bns:size>
<bns:customFields>
<bns:field1>13</bns:field1>
<bns:field2>ASA</bns:field2>
</bns:customFields>
<bns:isaAckStatus>Accepted</bns:isaAckStatus>
<bns:isaAckReport>Acknowledgment Report for Interchange Control Number 000000852&#xD;Date: 160528&#xD;Time: 0624&#xD;Acknowledgment Status: Accepted&#xD;Note: No Error</bns:isaAckReport>
<bns:ackStatus>Accepted</bns:ackStatus>
<bns:ackReport>Group Control #: 852&#xD;Acknowledgement Status: A</bns:ackReport>
<bns:isaControl>000000852</bns:isaControl>
<bns:gsControl>852</bns:gsControl>
<bns:stControl>0001</bns:stControl>
<bns:functionalID>SM</bns:functionalID>
<bns:transactionSet>204</bns:transactionSet>
<bns:testIndicator>P</bns:testIndicator>
<bns:senderIDQualifier>02</bns:senderIDQualifier>
<bns:senderID>NDTL</bns:senderID>
<bns:receiverIDQualifier>ZZ</bns:receiverIDQualifier>
<bns:receiverID>D1T1</bns:receiverID>
<bns:appSenderID>NDTL</bns:appSenderID>
<bns:appReceiverID>D1T1</bns:appReceiverID>
<bns:standardID>U</bns:standardID>
<bns:standard>U</bns:standard>
<bns:gsVersion>003050</bns:gsVersion>
<bns:agencyCode>X</bns:agencyCode>
<bns:gsDate>130528</bns:gsDate>
<bns:gsTime>0224</bns:gsTime>
<bns:outboundValidationStatus>Success</bns:outboundValidationStatus>
<bns:outboundValidationReport>Transaction Set #: 19 Acknowledgement Status: A</bns:outboundValidationReport>
</bns:result>
...
<bns:result xsi:type="bns:X12ConnectorRecord">
<bns:account>account-123456</bns:account>
<bns:executionId>execution-01234567-89ab-cdef-0123-456789abcdef-2016.05.28</bns:executionId>
<bns:atomId>3456789a-bcde-f012-3456-789abcdef012</bns:atomId>
<bns:dateProcessed>2016-05-28T06:25:02Z</bns:dateProcessed>
<bns:id>connector-bcdef012-3456-789a-bcde-f0123456789a</bns:id>
<bns:actionType>Send</bns:actionType>
<bns:connectorType>x12</bns:connectorType>
<bns:connectorName>Trading Partner</bns:connectorName>
<bns:operationName>Xmit Message</bns:operationName>
<bns:documentIndex>49</bns:operationName>
<bns:successful>true</bns:successful>
<bns:size>654</bns:size>
<bns:customFields>
<bns:field1>55</bns:field1>
<bns:field2>ASA</bns:field2>
</bns:customFields>
<bns:isaAckStatus>Accepted</bns:isaAckStatus>
<bns:isaAckReport>Acknowledgment Report for Interchange Control Number 000000913&#xD;Date: 160528&#xD;Time: 0625&#xD;Acknowledgment Status: Accepted&#xD;Note: No Error</bns:isaAckReport>
<bns:ackStatus>Accepted</bns:ackStatus>
<bns:ackReport>Group Control #: 913&#xD;Acknowledgement Status: A</bns:ackReport>
<bns:isaControl>000000913</bns:isaControl>
<bns:gsControl>913</bns:gsControl>
<bns:stControl>0001</bns:stControl>
<bns:functionalID>SM</bns:functionalID>
<bns:transactionSet>253</bns:transactionSet>
<bns:testIndicator>P</bns:testIndicator>
<bns:senderIDQualifier>02</bns:senderIDQualifier>
<bns:senderID>NDTL</bns:senderID>
<bns:receiverIDQualifier>ZZ</bns:receiverIDQualifier>
<bns:receiverID>D1T1</bns:receiverID>
<bns:appSenderID>NDTL</bns:appSenderID>
<bns:appReceiverID>D1T1</bns:appReceiverID>
<bns:standardID>U</bns:standardID>
<bns:standard>U</bns:standard>
<bns:gsVersion>003050</bns:gsVersion>
<bns:agencyCode>X</bns:agencyCode>
<bns:gsDate>130528</bns:gsDate>
<bns:gsTime>0225</bns:gsTime>
<bns:outboundValidationStatus>Success</bns:outboundValidationStatus>
<bns:outboundValidationReport>Transaction Set #: 19 Acknowledgement Status: A</bns:outboundValidationReport>
</bns:result>
</bns:results>
</bns:queryResponse>
</S:Body>
</S:Envelope>

The maximum number of results returned per QUERY response is 100. This response includes a queryToken element, which means there are more than 100 results to retrieve. The Query paging topic describes how to use a queryMore call to retrieve more results.

On this Page