PUT api/v1/Awb/{id}
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
Pouch | Pouch DTO |
Define this parameter in the request body. |
id | AwbID |
Define this parameter in the request URI. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Mawb": null, "Hawbs": [ { "HawbStatus": "sample string 1", "LastStatus": "sample string 2", "AwbNumber": "sample string 3", "Charges": { "CurrencyCode": "sample string 1", "WeightOrValuation": "sample string 2", "Other": "sample string 3", "ValuesForCarriage": 1.0, "ValuesForCustom": 1.0, "ValuesForInsurance": 1.0 }, "HawbNumber": "sample string 4", "NumberOfPieces": 5, "GrossWeight": { "Value": 1.0, "UOM": "sample string 2" }, "Locations": { "PortOfOrigin": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" }, "PortOfDestination": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" } }, "Commodity": "sample string 6", "SLAC": 1, "Parties": { "Shipper": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" }, "Consignee": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" } }, "Cargo": { "HSCode": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "SpecialHandling": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "GoodsDescription": "sample string 1" }, "Optional": { "OtherCustoms": [ { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" } ] }, "Created": null, "Updated": { "AgentID": 1, "AgentIDAsText": "1", "AgentName": null, "ContactID": 0, "ContactIDAsText": "0", "ContactName": null, "Datetime": null, "DatetimeAsText": null } }, { "HawbStatus": "sample string 1", "LastStatus": "sample string 2", "AwbNumber": "sample string 3", "Charges": { "CurrencyCode": "sample string 1", "WeightOrValuation": "sample string 2", "Other": "sample string 3", "ValuesForCarriage": 1.0, "ValuesForCustom": 1.0, "ValuesForInsurance": 1.0 }, "HawbNumber": "sample string 4", "NumberOfPieces": 5, "GrossWeight": { "Value": 1.0, "UOM": "sample string 2" }, "Locations": { "PortOfOrigin": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" }, "PortOfDestination": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" } }, "Commodity": "sample string 6", "SLAC": 1, "Parties": { "Shipper": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" }, "Consignee": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" } }, "Cargo": { "HSCode": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "SpecialHandling": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "GoodsDescription": "sample string 1" }, "Optional": { "OtherCustoms": [ { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" } ] }, "Created": null, "Updated": { "AgentID": 1, "AgentIDAsText": "1", "AgentName": null, "ContactID": 0, "ContactIDAsText": "0", "ContactName": null, "Datetime": null, "DatetimeAsText": null } }, { "HawbStatus": "sample string 1", "LastStatus": "sample string 2", "AwbNumber": "sample string 3", "Charges": { "CurrencyCode": "sample string 1", "WeightOrValuation": "sample string 2", "Other": "sample string 3", "ValuesForCarriage": 1.0, "ValuesForCustom": 1.0, "ValuesForInsurance": 1.0 }, "HawbNumber": "sample string 4", "NumberOfPieces": 5, "GrossWeight": { "Value": 1.0, "UOM": "sample string 2" }, "Locations": { "PortOfOrigin": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" }, "PortOfDestination": { "Code": "sample string 1", "Name": "sample string 1 (sample string 2)" } }, "Commodity": "sample string 6", "SLAC": 1, "Parties": { "Shipper": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" }, "Consignee": { "TheId": 1, "WinId": 1, "AccountNumber": "sample string 1", "Name": "sample string 2", "Phone": "sample string 3", "Fax": "sample string 4", "Email": "sample string 5", "Address": { "Line1": "sample string 1", "Line2": "sample string 2", "Place": "sample string 3", "City": { "Code": "sample string 1", "Name": "sample string 2" }, "PostalCode": "sample string 4", "StateProvince": "sample string 5", "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" } }, "PrintPartyDetails": "sample string 6" } }, "Cargo": { "HSCode": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "SpecialHandling": [ { "Code": "sample string 1" }, { "Code": "sample string 1" }, { "Code": "sample string 1" } ], "GoodsDescription": "sample string 1" }, "Optional": { "OtherCustoms": [ { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" }, { "TheID": 1, "Country": { "Code": "sample string 1", "Name": "sample string 1 - sample string 2" }, "InformationIdentifier": "sample string 1", "ControlIdentifier": "sample string 2", "SupplementControlInformation": "sample string 3" } ] }, "Created": null, "Updated": { "AgentID": 1, "AgentIDAsText": "1", "AgentName": null, "ContactID": 0, "ContactIDAsText": "0", "ContactName": null, "Datetime": null, "DatetimeAsText": null } } ] }
application/xml, text/xml
Sample:
<PouchDTO> <Mawb /> <Hawbs> <HawbStatus>sample string 1</HawbStatus> <LastStatus>sample string 2</LastStatus> <AwbNumber>sample string 3</AwbNumber> <Charges> <CurrencyCode>sample string 1</CurrencyCode> <WeightOrValuation>sample string 2</WeightOrValuation> <Other>sample string 3</Other> <ValuesForCarriage>1</ValuesForCarriage> <ValuesForCustom>1</ValuesForCustom> <ValuesForInsurance>1</ValuesForInsurance> </Charges> <HawbNumber>sample string 4</HawbNumber> <NumberOfPieces>5</NumberOfPieces> <GrossWeight> <Value>1</Value> <UOM>sample string 2</UOM> </GrossWeight> <Locations> <PortOfOrigin> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfOrigin> <PortOfDestination> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfDestination> </Locations> <Commodity>sample string 6</Commodity> <SLAC>1</SLAC> <Parties> <Shipper> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Shipper> <Consignee> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Consignee> </Parties> <Cargo> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <GoodsDescription>sample string 1</GoodsDescription> </Cargo> <Optional> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> </Optional> <Created /> <Updated> <AgentID>1</AgentID> <AgentName /> <ContactID>0</ContactID> <ContactName /> </Updated> </Hawbs> <Hawbs> <HawbStatus>sample string 1</HawbStatus> <LastStatus>sample string 2</LastStatus> <AwbNumber>sample string 3</AwbNumber> <Charges> <CurrencyCode>sample string 1</CurrencyCode> <WeightOrValuation>sample string 2</WeightOrValuation> <Other>sample string 3</Other> <ValuesForCarriage>1</ValuesForCarriage> <ValuesForCustom>1</ValuesForCustom> <ValuesForInsurance>1</ValuesForInsurance> </Charges> <HawbNumber>sample string 4</HawbNumber> <NumberOfPieces>5</NumberOfPieces> <GrossWeight> <Value>1</Value> <UOM>sample string 2</UOM> </GrossWeight> <Locations> <PortOfOrigin> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfOrigin> <PortOfDestination> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfDestination> </Locations> <Commodity>sample string 6</Commodity> <SLAC>1</SLAC> <Parties> <Shipper> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Shipper> <Consignee> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Consignee> </Parties> <Cargo> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <GoodsDescription>sample string 1</GoodsDescription> </Cargo> <Optional> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> </Optional> <Created /> <Updated> <AgentID>1</AgentID> <AgentName /> <ContactID>0</ContactID> <ContactName /> </Updated> </Hawbs> <Hawbs> <HawbStatus>sample string 1</HawbStatus> <LastStatus>sample string 2</LastStatus> <AwbNumber>sample string 3</AwbNumber> <Charges> <CurrencyCode>sample string 1</CurrencyCode> <WeightOrValuation>sample string 2</WeightOrValuation> <Other>sample string 3</Other> <ValuesForCarriage>1</ValuesForCarriage> <ValuesForCustom>1</ValuesForCustom> <ValuesForInsurance>1</ValuesForInsurance> </Charges> <HawbNumber>sample string 4</HawbNumber> <NumberOfPieces>5</NumberOfPieces> <GrossWeight> <Value>1</Value> <UOM>sample string 2</UOM> </GrossWeight> <Locations> <PortOfOrigin> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfOrigin> <PortOfDestination> <Code>sample string 1</Code> <Name>sample string 1 (sample string 2)</Name> </PortOfDestination> </Locations> <Commodity>sample string 6</Commodity> <SLAC>1</SLAC> <Parties> <Shipper> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Shipper> <Consignee> <TheId>1</TheId> <WinId>1</WinId> <AccountNumber>sample string 1</AccountNumber> <Name>sample string 2</Name> <Phone>sample string 3</Phone> <Fax>sample string 4</Fax> <Email>sample string 5</Email> <Address> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Place>sample string 3</Place> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <PostalCode>sample string 4</PostalCode> <StateProvince>sample string 5</StateProvince> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> </Address> <PrintPartyDetails>sample string 6</PrintPartyDetails> </Consignee> </Parties> <Cargo> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <HSCode> <Code>sample string 1</Code> </HSCode> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <SpecialHandling> <Code>sample string 1</Code> </SpecialHandling> <GoodsDescription>sample string 1</GoodsDescription> </Cargo> <Optional> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> <OtherCustoms> <TheID>1</TheID> <Country> <Code>sample string 1</Code> <Name>sample string 1 - sample string 2</Name> </Country> <InformationIdentifier>sample string 1</InformationIdentifier> <ControlIdentifier>sample string 2</ControlIdentifier> <SupplementControlInformation>sample string 3</SupplementControlInformation> </OtherCustoms> </Optional> <Created /> <Updated> <AgentID>1</AgentID> <AgentName /> <ContactID>0</ContactID> <ContactName /> </Updated> </Hawbs> </PouchDTO>
Response Information
Response body formats
application/json, text/json
Sample:
{ "TransactionID": 1, "MawbID": 2, "AgentID": 3, "AWBNumber": "sample string 4", "WINStatus": "sample string 5", "Remarks": [ { "ReferenceNumber": "sample string 1", "Identifier": "sample string 2", "ErrorCode": "sample string 3", "ErrorMessage": "sample string 4" }, { "ReferenceNumber": "sample string 1", "Identifier": "sample string 2", "ErrorCode": "sample string 3", "ErrorMessage": "sample string 4" }, { "ReferenceNumber": "sample string 1", "Identifier": "sample string 2", "ErrorCode": "sample string 3", "ErrorMessage": "sample string 4" } ] }
application/xml, text/xml
Sample:
<APIResponseMessage> <TransactionID>1</TransactionID> <MawbID>2</MawbID> <AgentID>3</AgentID> <AWBNumber>sample string 4</AWBNumber> <WINStatus>sample string 5</WINStatus> <Remarks> <APIError> <ReferenceNumber>sample string 1</ReferenceNumber> <Identifier>sample string 2</Identifier> <ErrorCode>sample string 3</ErrorCode> <ErrorMessage>sample string 4</ErrorMessage> </APIError> <APIError> <ReferenceNumber>sample string 1</ReferenceNumber> <Identifier>sample string 2</Identifier> <ErrorCode>sample string 3</ErrorCode> <ErrorMessage>sample string 4</ErrorMessage> </APIError> <APIError> <ReferenceNumber>sample string 1</ReferenceNumber> <Identifier>sample string 2</Identifier> <ErrorCode>sample string 3</ErrorCode> <ErrorMessage>sample string 4</ErrorMessage> </APIError> </Remarks> </APIResponseMessage>