Query record (ticket) status

POST /openapi/IntegrationHistory/GetTicketNumberStatus — TMS API · Order and Consignment Record

Returns the processing status and, if processed, line-level results for the ticketNumber returned by SaveOrder / SaveConsignment calls.

  • statusCode: NOTSTARTED, STARTED, SUCCESS, ERROR, or RETRY.
  • typeCode: type of operation (e.g., order addition, consignment addition).
  • result: if the operation is completed, success, message, code (related order/consignment number) for each order/consignment.

İstek gövdesi

  • clientCode (string): Organization code.
  • accountCode (string, zorunlu): Account code.
  • ticketNumber (string, zorunlu): Ticket number from the SaveOrder/SaveConsignment response.

Yanıtlar

  • 200: Ticket status
  • 400: Invalid account code
  • 401: No token, invalid or expired (response without body).

200 yanıt alanları