Boomi Platform API Reference (1.0.0) - AS2ConnectorRecord
AS2 Connector Records correspond to the document and trading partner details of the Process Reporting page. Processes send AS2 messages using the AS2 Client connector and receive AS2 messages using the AS2 Shared Server connector. The AS2 Connector Record object contains AS2-specific document information and user-defined tracked field information along with other fields.
Required Privileges
You need these privileges in the target environment:
Write access
- N/A
Read access
- API — Use the Boomi Platform API to access account data.
Queries for an AS2ConnectorRecord object(s)
For general information about the structure of QUERY filters, their sample payloads, and how to handle the paged results, refer to Query filters and Query paging.
Authorizations:
Request Body schema: optional
required | object | ||||||||||
| |||||||||||
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (AS2ConnectorRecord) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "argument": [
- "execution-01234567-89ab-cdef-0123-456789abcdef-2018.07.11"
], - "operator": "EQUALS",
- "property": "executionId"
}
}
}Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 100,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "AS2ConnectorRecord",
- "ackStatus": "Acknowledged",
- "as2FromId": "DASHER",
- "as2ToId": "DANCER",
- "subject": "Sleigh Order 122518",
- "messageId": "<976473487.15.1527087239460.JavaMail.dasher@northpole>",
- "mdnMessage": "processed",
- "contentLength": "484",
- "filename": "0000000122518.dat",
- "mimetype": "application/octet-stream",
- "size": [
- "Long",
- 654
], - "account": "account-123456",
- "executionId": "execution-01234567-89ab-cdef-0123-456789abcdef-2016.07.11",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "dateProcessed": "2018-07-11T06:24:12Z",
- "id": "connector-abcdef01-2345-6789-abcd-ef0123456789",
- "actionType": "Send",
- "connectorType": "as2",
- "connectorName": "Sample AS2 connection",
- "operationName": "Sample AS2 operation",
- "documentIndex": 0,
- "successful": true
}, - {
- "@type": "AS2ConnectorRecord",
- "ackStatus": "Acknowledged",
- "as2FromId": "DASHER",
- "as2ToId": "DANCER",
- "subject": "Sleigh Order 122560",
- "messageId": "<976473487.15.1527087239502.JavaMail.dasher@northpole>",
- "mdnMessage": "processed",
- "contentLength": "610",
- "filename": "0000000122560.dat",
- "mimetype": "application/octet-stream",
- "size": [
- "Long",
- 654
], - "account": "account-123456",
- "executionId": "execution-01234567-89ab-cdef-0123-456789abcdef-2018.07.11",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "dateProcessed": "2018-07-11T06:25:02Z",
- "id": "connector-bcdef012-3456-789a-bcde-f0123456789a",
- "actionType": "Send",
- "connectorType": "as2",
- "connectorName": "Sample AS2 connection",
- "operationName": "Sample AS2 operation",
- "documentIndex": 49,
- "successful": true
}
]
}Retrieves additional results for an AS2ConnectorRecord query
To learn about using queryMore, refer to the topic Query paging.
Authorizations:
Request Body schema: text/plainrequired
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (AS2ConnectorRecord) |
Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 100,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "AS2ConnectorRecord",
- "ackStatus": "Acknowledged",
- "as2FromId": "DASHER",
- "as2ToId": "DANCER",
- "subject": "Sleigh Order 122518",
- "messageId": "<976473487.15.1527087239460.JavaMail.dasher@northpole>",
- "mdnMessage": "processed",
- "contentLength": "484",
- "filename": "0000000122518.dat",
- "mimetype": "application/octet-stream",
- "size": [
- "Long",
- 654
], - "account": "account-123456",
- "executionId": "execution-01234567-89ab-cdef-0123-456789abcdef-2016.07.11",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "dateProcessed": "2018-07-11T06:24:12Z",
- "id": "connector-abcdef01-2345-6789-abcd-ef0123456789",
- "actionType": "Send",
- "connectorType": "as2",
- "connectorName": "Sample AS2 connection",
- "operationName": "Sample AS2 operation",
- "documentIndex": 0,
- "successful": true
}, - {
- "@type": "AS2ConnectorRecord",
- "ackStatus": "Acknowledged",
- "as2FromId": "DASHER",
- "as2ToId": "DANCER",
- "subject": "Sleigh Order 122560",
- "messageId": "<976473487.15.1527087239502.JavaMail.dasher@northpole>",
- "mdnMessage": "processed",
- "contentLength": "610",
- "filename": "0000000122560.dat",
- "mimetype": "application/octet-stream",
- "size": [
- "Long",
- 654
], - "account": "account-123456",
- "executionId": "execution-01234567-89ab-cdef-0123-456789abcdef-2018.07.11",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "dateProcessed": "2018-07-11T06:25:02Z",
- "id": "connector-bcdef012-3456-789a-bcde-f0123456789a",
- "actionType": "Send",
- "connectorType": "as2",
- "connectorName": "Sample AS2 connection",
- "operationName": "Sample AS2 operation",
- "documentIndex": 49,
- "successful": true
}
]
}