GET
/
transactions
/
{transactionId}
/
output
  curl --request GET -L \
    --url https://core.us.stedi.com/2023-08-01/transactions/{transactionId}/output \
    --header "Authorization: ${STEDI_API_KEY}" 
{
  "heading": {
    "transaction_set_header_ST": {
      "transaction_set_identifier_code_01": "850",
      "transaction_set_control_number_02": 1
    },
    "beginning_segment_for_purchase_order_BEG": {
      "transaction_set_purpose_code_01": "XX",
      "purchase_order_type_code_02": "XX",
      "purchase_order_number_03": "XXXXX",
      "date_05": "2023-08-11"
    }
  },
  "detail": {
    "baseline_item_data_PO1_loop": [
      {
        "baseline_item_data_PO1": {}
      }
    ]
  },
  "summary": {
    "transaction_set_trailer_SE": {
      "number_of_included_segments_01": 4,
      "transaction_set_control_number_02": 1
    }
  }
}

Authorizations

Authorization
string
headerrequired

API key authentication via the 'Authorization' header

Path Parameters

transactionId
string
required

A unique identifier for the processed transaction within Stedi. This ID is included in the transaction.processed.v2 event, or you can retrieve it manually from the transaction's details page within the Stedi app.

Response

302 - application/json
documentDownloadUrl
string

A URL to download the document. This URL is available for 60 minutes.

Was this page helpful?