POST api/{siteCode}/Job/ContainerBookingUpdate

Updates the job and container records

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteCode

The site code.

integer

Required

Body Parameters

The container booking update.

ContainerBookingUpdate
NameDescriptionTypeAdditional information
ContainerNumber

Container number.

string

None.

Vessel

Vessel name.

string

None.

Voyage

Voyage number.

string

None.

PortOfDischarge

Port of discharge.

string

None.

PortOfDischargeUNLOCODE

Port of discharge UNLOCODE.

string

None.

EstimatedDeparture

Estimated departure.

date

None.

ConfirmedDeparture

Confirmed departure.

date

None.

ETA

ETA.

date

None.

ConfirmedArrival

Confirmed arrival.

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ContainerNumber": "BOXT1234567",
  "Vessel": "BoxTop Voyager",
  "Voyage": "B1234P",
  "PortOfDischarge": "THAMESPORT",
  "PortOfDischargeUNLOCODE": "GBTHP",
  "EstimatedDeparture": "2025-02-04T00:00:00+00:00",
  "ConfirmedDeparture": "2025-02-04T00:00:00+00:00",
  "ETA": "2025-02-04T00:00:00+00:00",
  "ConfirmedArrival": "2025-02-04T00:00:00+00:00"
}

application/xml, text/xml

Sample:
<ContainerBookingUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ContainerNumber>BOXT1234567</ContainerNumber>
  <Vessel>BoxTop Voyager</Vessel>
  <Voyage>B1234P</Voyage>
  <PortOfDischarge>THAMESPORT</PortOfDischarge>
  <PortOfDischargeUNLOCODE>GBTHP</PortOfDischargeUNLOCODE>
  <EstimatedDeparture>2025-02-04T00:00:00+00:00</EstimatedDeparture>
  <ConfirmedDeparture>2025-02-04T00:00:00+00:00</ConfirmedDeparture>
  <ETA>2025-02-04T00:00:00+00:00</ETA>
  <ConfirmedArrival>2025-02-04T00:00:00+00:00</ConfirmedArrival>
</ContainerBookingUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.