POST api/Shipments/Customs/Save

Request Information

URI Parameters

None.

Body Parameters

AirShipmentCustomsInputModel
NameDescriptionTypeAdditional information
Shipment_ID

globally unique identifier

None.

AES_ITN_ID

integer

Range: inclusive between 87 and 91

ValueForCarriage

decimal number

None.

ValueForCustoms

decimal number

None.

Insurance

decimal number

None.

HandlingInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Shipment_ID": "53a7f55c-4b8d-4618-8260-1f97bf2e916b",
  "AES_ITN_ID": 1,
  "ValueForCarriage": 1.0,
  "ValueForCustoms": 1.0,
  "Insurance": 1.0,
  "HandlingInfo": "sample string 2"
}

application/xml, text/xml

Sample:
<AirShipmentCustomsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <AES_ITN_ID>1</AES_ITN_ID>
  <HandlingInfo>sample string 2</HandlingInfo>
  <Insurance>1</Insurance>
  <Shipment_ID>53a7f55c-4b8d-4618-8260-1f97bf2e916b</Shipment_ID>
  <ValueForCarriage>1</ValueForCarriage>
  <ValueForCustoms>1</ValueForCustoms>
</AirShipmentCustomsInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Shipment_ID":"53a7f55c-4b8d-4618-8260-1f97bf2e916b","AES_ITN_ID":1,"ValueForCarriage":1.0,"ValueForCustoms":1.0,"Insurance":1.0,"HandlingInfo":"sample string 2"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.