POST api/ShipmentActions/UpdateStatus

Request Information

URI Parameters

None.

Body Parameters

ShipmentStatusBindingViewModel
NameDescriptionTypeAdditional information
ShipmentId

integer

Required

StatusId

integer

Required

AccessLevelId

integer

Required

PickupReadyDateTime

date

None.

DeliveryEstimatedDateTime

date

None.

ProNumber

string

None.

LinehaulCarrierPickupNumber

string

None.

Location

string

None.

Notes

string

None.

ActualPickupDate

date

None.

Arrival

time interval

None.

Departure

time interval

None.

ProofOfDeliveryDate

date

None.

ProofOfDeliverySignedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShipmentId": 1,
  "StatusId": 2,
  "AccessLevelId": 3,
  "PickupReadyDateTime": "2025-12-05T23:45:18.3688561-08:00",
  "DeliveryEstimatedDateTime": "2025-12-05T23:45:18.3688561-08:00",
  "ProNumber": "sample string 4",
  "LinehaulCarrierPickupNumber": "sample string 5",
  "Location": "sample string 6",
  "Notes": "sample string 7",
  "ActualPickupDate": "2025-12-05T23:45:18.3688561-08:00",
  "Arrival": "00:00:00.1234567",
  "Departure": "00:00:00.1234567",
  "ProofOfDeliveryDate": "2025-12-05T23:45:18.3698629-08:00",
  "ProofOfDeliverySignedBy": "sample string 12"
}

application/xml, text/xml

Sample:
<ShipmentStatusBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.TransportationShipment">
  <AccessLevelId>3</AccessLevelId>
  <ActualPickupDate>2025-12-05T23:45:18.3688561-08:00</ActualPickupDate>
  <Arrival>PT0.1234567S</Arrival>
  <DeliveryEstimatedDateTime>2025-12-05T23:45:18.3688561-08:00</DeliveryEstimatedDateTime>
  <Departure>PT0.1234567S</Departure>
  <LinehaulCarrierPickupNumber>sample string 5</LinehaulCarrierPickupNumber>
  <Location>sample string 6</Location>
  <Notes>sample string 7</Notes>
  <PickupReadyDateTime>2025-12-05T23:45:18.3688561-08:00</PickupReadyDateTime>
  <ProNumber>sample string 4</ProNumber>
  <ProofOfDeliveryDate>2025-12-05T23:45:18.3698629-08:00</ProofOfDeliveryDate>
  <ProofOfDeliverySignedBy>sample string 12</ProofOfDeliverySignedBy>
  <ShipmentId>1</ShipmentId>
  <StatusId>2</StatusId>
</ShipmentStatusBindingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.