GET
/
polling
/
transactions
  curl --request GET -L \
    --url https://core.us.stedi.com/2023-08-01/polling/transactions?startDateTime=2023-08-28T00:00:00Z \
    --header "Authorization: ${STEDI_API_KEY}" 
{
  "items": [
    {
      "direction": "OUTBOUND",
      "mode": "production",
      "fileExecutionId": "f75168e4-e682-4410-bfec-b5b1541c7f21",
      "transactionId": "a15b68ca-fae0-42de-b8a3-f436668b8604",
      "processedAt": "2023-08-28T09:00:28.354Z",
      "artifacts": [
        {
          "artifactType": "application/json",
          "sizeBytes": 490,
          "usage": "input",
          "url": "https://core.us.stedi.com/2023-08-01/transactions/a15b68ca-fae0-42de-b8a3-f436668b8604/input"
        },
        {
          "artifactType": "application/edi-x12",
          "sizeBytes": 51,
          "usage": "output",
          "url": "https://core.us.stedi.com/2023-08-01/transactions/a15b68ca-fae0-42de-b8a3-f436668b8604/output"
        }
      ],
      "partnership": {
        "partnershipId": "i-am-another-merch_this-is-me",
        "partnershipType": "x12",
        "sender": {
          "profileId": "i-am-another-merch"
        },
        "receiver": {
          "profileId": "this-is-me"
        }
      },
      "businessIdentifiers": [
       {
         "element": "PRF-01",
         "name": "Purchase Order Number",
         "value": "T000HNb4d"
       }
      ],
      "x12": {
        "metadata": {
          "interchange": {
            "acknowledgmentRequestedCode": "1",
            "controlNumber": 2
          },
          "functionalGroup": {
            "controlNumber": 2,
            "release": "008010",
            "date": "2023-08-28",
            "time": "09:00:20",
            "functionalIdentifierCode": "PO"
          },
          "transaction": {
            "controlNumber": "1",
            "transactionSetIdentifier": "850"
          },
          "receiver": {
            "applicationCode": "THISISME",
            "isa": {
              "qualifier": "ZZ",
              "id": "THISISME"
            }
          },
          "sender": {
            "applicationCode": "ANOTHERMERCH",
            "isa": {
              "qualifier": "14",
              "id": "ANOTHERMERCH"
            }
          }
        },
        "transactionSetting": {
          "guideId": "01H8PSWG4ZD6QPKC9VSD42PQX3",
          "transactionSettingId": "005010-850"
        }
      }
    }
  ],
  "nextPageToken": "945ff6de213d3ef481d028065d4c12fb996a166a3a90ef98564318decfae50ce4b36d74b7e9d9bafa6e1d169"
}
  curl --request GET -L \
    --url https://core.us.stedi.com/2023-08-01/polling/transactions?startDateTime=2023-08-28T00:00:00Z \
    --header "Authorization: ${STEDI_API_KEY}" 
{
  "items": [
    {
      "direction": "OUTBOUND",
      "mode": "production",
      "fileExecutionId": "f75168e4-e682-4410-bfec-b5b1541c7f21",
      "transactionId": "a15b68ca-fae0-42de-b8a3-f436668b8604",
      "processedAt": "2023-08-28T09:00:28.354Z",
      "artifacts": [
        {
          "artifactType": "application/json",
          "sizeBytes": 490,
          "usage": "input",
          "url": "https://core.us.stedi.com/2023-08-01/transactions/a15b68ca-fae0-42de-b8a3-f436668b8604/input"
        },
        {
          "artifactType": "application/edi-x12",
          "sizeBytes": 51,
          "usage": "output",
          "url": "https://core.us.stedi.com/2023-08-01/transactions/a15b68ca-fae0-42de-b8a3-f436668b8604/output"
        }
      ],
      "partnership": {
        "partnershipId": "i-am-another-merch_this-is-me",
        "partnershipType": "x12",
        "sender": {
          "profileId": "i-am-another-merch"
        },
        "receiver": {
          "profileId": "this-is-me"
        }
      },
      "businessIdentifiers": [
       {
         "element": "PRF-01",
         "name": "Purchase Order Number",
         "value": "T000HNb4d"
       }
      ],
      "x12": {
        "metadata": {
          "interchange": {
            "acknowledgmentRequestedCode": "1",
            "controlNumber": 2
          },
          "functionalGroup": {
            "controlNumber": 2,
            "release": "008010",
            "date": "2023-08-28",
            "time": "09:00:20",
            "functionalIdentifierCode": "PO"
          },
          "transaction": {
            "controlNumber": "1",
            "transactionSetIdentifier": "850"
          },
          "receiver": {
            "applicationCode": "THISISME",
            "isa": {
              "qualifier": "ZZ",
              "id": "THISISME"
            }
          },
          "sender": {
            "applicationCode": "ANOTHERMERCH",
            "isa": {
              "qualifier": "14",
              "id": "ANOTHERMERCH"
            }
          }
        },
        "transactionSetting": {
          "guideId": "01H8PSWG4ZD6QPKC9VSD42PQX3",
          "transactionSettingId": "005010-850"
        }
      }
    }
  ],
  "nextPageToken": "945ff6de213d3ef481d028065d4c12fb996a166a3a90ef98564318decfae50ce4b36d74b7e9d9bafa6e1d169"
}

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Query Parameters

pageSize
number

The maximum number of elements to return in a page. You can set this to a maximum of 500 elements. If not specified, the default is 100.

Required range: x >= 1
pageToken
string

A token returned by a previous call to this operation in the nextPageToken. If not specified, Stedi returns the first page of results.

Required string length: 1 - 1024
startDateTime
string

An ISO 8601 formatted string. For example 2023-08-28T00:00:00Z. Stedi returns transactions processed after this time.

Response

200
application/json
ListPollingTransactions 200 response
items
object[]
required
nextPageToken
string

The token used for pagination

Required string length: 1 - 1024