POST Track/UpdateTracking

Action will update tracking status/details inside the system. Pass the Shipment ID and APICompanyID. Error message will be returned if shipment did not found inside system

Request Information

URI Parameters

None.

Body Parameters

Track details object.

TrackDetails
NameDescriptionTypeAdditional information
HeaderInfo

Header details

HeaderInfo

None.

ShipmentDetails

Shipment details

Collection of ShipmentDatails

None.

StatusInfo

Status Info

StatusInfo

None.

OtherInfo

Other Info

OtherInfo

None.

DateTimeValues

Date Times

DateTimeValues

None.

Request Formats

application/json, text/json

Sample:
{
  "HeaderInfo": {
    "APICompanyId": "sample string 1",
    "Sender": 1,
    "MovementId": "sample string 2",
    "ShipmentId": "sample string 3",
    "ProNumber": "sample string 4",
    "OrderNumber": "sample string 5",
    "RefOne": "sample string 6",
    "RefTwo": "sample string 7"
  },
  "ShipmentDetails": [
    {
      "ContainerId": "sample string 1",
      "ContainerType": "sample string 2",
      "Weight": 1,
      "Volume": "sample string 3",
      "Length": 4.1,
      "Width": 5.1,
      "Height": 6.1,
      "Quanity": "sample string 7",
      "PackageType": "sample string 8"
    },
    {
      "ContainerId": "sample string 1",
      "ContainerType": "sample string 2",
      "Weight": 1,
      "Volume": "sample string 3",
      "Length": 4.1,
      "Width": 5.1,
      "Height": 6.1,
      "Quanity": "sample string 7",
      "PackageType": "sample string 8"
    }
  ],
  "StatusInfo": {
    "StatusUpdatedOn": "2024-11-20T23:36:53.0326735-08:00",
    "CurrentStatusCode": 1,
    "StatusState": "sample string 1",
    "StatusCity": "sample string 2",
    "StatusCountryCode": "sample string 3",
    "TrackingComments": "sample string 4",
    "EstimatedPod": "2024-11-20T23:36:53.0336717-08:00",
    "POD": "2024-11-20T23:36:53.0336717-08:00",
    "SignedBy": "sample string 5",
    "Longitude": "sample string 6",
    "Latitude": "sample string 7"
  },
  "OtherInfo": {
    "MasterBillNo": "sample string 1",
    "CarrierCode": "sample string 2",
    "CarrierName": "sample string 3",
    "VoyageFlightNo": "sample string 4",
    "VesselName": "sample string 5",
    "TransportMode": 1,
    "PickupCity": "sample string 6",
    "OriginCountryCode": "sample string 7",
    "OriginPort": "sample string 8",
    "DestCity": "sample string 9",
    "DestCountryCode": "sample string 10",
    "DestPort": "sample string 11"
  },
  "DateTimeValues": {
    "BookingDateTime": "2024-11-20T23:36:53.0346707-08:00",
    "PickupDateTime": "2024-11-20T23:36:53.0346707-08:00",
    "OutboundCustomsDateTime": "2024-11-20T23:36:53.0346707-08:00",
    "OnboardDateTime": "2024-11-20T23:36:53.0356701-08:00",
    "EstimatedDeparture": "2024-11-20T23:36:53.0356701-08:00",
    "ActualDeparture": "2024-11-20T23:36:53.0356701-08:00",
    "EstimatedArrival": "2024-11-20T23:36:53.0356701-08:00",
    "ActualArrival": "2024-11-20T23:36:53.0356701-08:00",
    "InbondCustomsDateTime": "2024-11-20T23:36:53.0356701-08:00",
    "PortDepartureDateTime": "2024-11-20T23:36:53.0356701-08:00",
    "PODDocument": "sample string 1"
  }
}

Response Information

Resource Description

BadResponse
NameDescriptionTypeAdditional information
Data

Data returned by api

Object

None.

Code

Response code returned by api

HttpStatusCode

None.

Message

Human readable message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 100,
  "Message": "sample string 2",
  "Data": {}
}