Status update log

Transaction log returns order status to customer

POST api/Customer/GetStatusLogs

Headers

NameTypeDescription

ClientID*

Number

Get at SSO - Login

Token*

String

Get at SSO - Login

Request Body

NameTypeDescription

FromDate*

DateTime

From date

ToDate*

DateTime

To date

OrderCodes

String

Order code (multiple orders separated by ",")

{
  "Data": {
    "Orders": [
      {
        "OrderCode": "HD000003",
        "Histories": [
          {
            "OrderCode": "HD000003",
            "ExternalCode": "HD000003",
            "ReferenceCode": "HD000003",
            "Status": "21",
            "StatusName": "DATIEPNHAN",
            "Description": null,
            "RequestFeedbackCount": 0,
            "DelayCode": null,
            "DelayNotes": null,
            "DeliveryNotes": null,
            "Mailman": null,
            "TransactionId": "8b2213ed-g2de-457b-a0e1-9a26c4d23a3f",
            "DeliveryDate": null,
            "ReceiverName": null,
            "Time": "2023-01-03T10:11:19.6240597+07:00",
            "IsCallError": false,
            "ErrorMessage": null,
            "IsPartnerResponseError": false,
            "PartnerResponseErrorMsg": null
          },
          {
            "OrderCode": "MDH24700000001",
            "ExternalCode": null,
            "Status": "23",
            "StatusName": "DALAYHANG",
            "Description": null,
            "RequestFeedbackCount": 0,
            "DelayCode": null,
            "DelayNotes": null,
            "DeliveryNotes": null,
            "Mailman": null,
            "TransactionId": "eda18522-2ffc-48ce-beb8-abe32aa60a54",
            "DeliveryDate": null,
            "ReceiverName": null,
            "Time": "2023-01-04T10:11:19.6240597+07:00",
            "IsCallError": false,
            "ErrorMessage": null,
            "IsPartnerResponseError": false,
            "PartnerResponseErrorMsg": null
          }
        ]
      }
    ]
  },
  "IsError": false,
  "ErrorMessage": ""
}

Response description

TrườngMô tả

Data

Data

Orders

List of orders

Histories

Transaction log of update status orders

OrderCode

Order code

ExternalCode

External code (Order code entered by customer)

ReferenceCode

Customer reference code

Status

Status ID (detail)

StatusName

Status name

Description

Description status

RequestFeedbackCount

External code

DelayCode

Delay code (detail)

DelayNotes

Reason for failed delivery

Mailman

Mail man

TransactionId

Transaction ID

DeliveryDate

Delivery date

DeliveryNotes

Delivery notes

ReceiverName

Recipient's name

Time

Event occurrence time

IsCallError

Is call API failed?

ErrorMessage

Description for API Call Failed

IsPartnerResponseError

Is the response error?

PartnerResponseErrorMsg

Description for response error

Last updated