AirTrakShipment
Click here for a complete list of operations.
AddNewShipmentV4
Create Shipment With Class
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /wtkservices/airtrakshipment.asmx HTTP/1.1
Host: awctest.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddNewShipmentV4"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthHeader xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<AddNewShipmentV4 xmlns="http://tempuri.org/">
<oShipData>
<Station>string</Station>
<CODAmount>decimal</CODAmount>
<FCCOD>string</FCCOD>
<DeclaredValue>decimal</DeclaredValue>
<DeclaredType>string</DeclaredType>
<ReadyDate>dateTime</ReadyDate>
<ReadyTime>dateTime</ReadyTime>
<ServiceLevel>string</ServiceLevel>
<DeliveryDate>dateTime</DeliveryDate>
<DeliveryTime>dateTime</DeliveryTime>
<PickupInstructions>string</PickupInstructions>
<DeliveryInstructions>string</DeliveryInstructions>
<CloseTime>dateTime</CloseTime>
<BillToAcct>int</BillToAcct>
<ShipperNo>string</ShipperNo>
<ShipperName>string</ShipperName>
<ShipperAddress1>string</ShipperAddress1>
<ShipperAddress2>string</ShipperAddress2>
<ShipperCity>string</ShipperCity>
<ShipperState>string</ShipperState>
<ShipperZip>string</ShipperZip>
<ShipperCountry>string</ShipperCountry>
<ShipperPhone>string</ShipperPhone>
<ShipperFax>string</ShipperFax>
<ShipperContact>string</ShipperContact>
<ShipperEmail>string</ShipperEmail>
<ConsigneeNo>string</ConsigneeNo>
<ConsigneeName>string</ConsigneeName>
<ConsigneeAddress1>string</ConsigneeAddress1>
<ConsigneeAddress2>string</ConsigneeAddress2>
<ConsigneeCity>string</ConsigneeCity>
<ConsigneeState>string</ConsigneeState>
<ConsigneeZip>string</ConsigneeZip>
<ConsigneeCountry>string</ConsigneeCountry>
<ConsigneePhone>string</ConsigneePhone>
<ConsigneeFax>string</ConsigneeFax>
<ConsigneeContact>string</ConsigneeContact>
<ConsigneeEmail>string</ConsigneeEmail>
<CustomerNo>int</CustomerNo>
<PayType>string</PayType>
<InvoiceNotes>string</InvoiceNotes>
<UserId>string</UserId>
<ProductCode>string</ProductCode>
<ContainerType>string</ContainerType>
<IncoTermsCode>string</IncoTermsCode>
<CommericalInvoiceValue>decimal</CommericalInvoiceValue>
<ShipmentType>Shipment or Quote</ShipmentType>
<Mode>Domestic or Truckload or OceanExport or OceanImport or AirImport or AirExport or Transborder</Mode>
<PODName>string</PODName>
<PODDate>dateTime</PODDate>
<PODTime>dateTime</PODTime>
<OrderStatus>string</OrderStatus>
<SpecialInstructions>string</SpecialInstructions>
<DeliveryTime2>dateTime</DeliveryTime2>
<ShipmentLineList>
<NewShipmentDimLineV4>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<WeightUOMV3>lb or kg</WeightUOMV3>
<DimUOMV3>in or cm</DimUOMV3>
<PieceType>string</PieceType>
<Hazmat>boolean</Hazmat>
<PClass>string</PClass>
</NewShipmentDimLineV4>
<NewShipmentDimLineV4>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<WeightUOMV3>lb or kg</WeightUOMV3>
<DimUOMV3>in or cm</DimUOMV3>
<PieceType>string</PieceType>
<Hazmat>boolean</Hazmat>
<PClass>string</PClass>
</NewShipmentDimLineV4>
</ShipmentLineList>
<ReferenceList>
<NewShipmentRefsV4>
<ReferenceNo>string</ReferenceNo>
<CustomerTypeV3>Shipper or Consignee or BillTo</CustomerTypeV3>
<RefTypeId>string</RefTypeId>
</NewShipmentRefsV4>
<NewShipmentRefsV4>
<ReferenceNo>string</ReferenceNo>
<CustomerTypeV3>Shipper or Consignee or BillTo</CustomerTypeV3>
<RefTypeId>string</RefTypeId>
</NewShipmentRefsV4>
</ReferenceList>
<NewShipmentAcessorialsList>
<NewShipmentAcessorialsV4>
<Code>string</Code>
<Amount>decimal</Amount>
</NewShipmentAcessorialsV4>
<NewShipmentAcessorialsV4>
<Code>string</Code>
<Amount>decimal</Amount>
</NewShipmentAcessorialsV4>
</NewShipmentAcessorialsList>
<DelBy>By or Between or Only</DelBy>
<NewShipmentVendorList>
<NewShipmentVendorLineV4>
<VendorID>string</VendorID>
<CostType>string</CostType>
<BaseCost>decimal</BaseCost>
<FuelSurcharge>decimal</FuelSurcharge>
<ReferenceNumber>string</ReferenceNumber>
</NewShipmentVendorLineV4>
<NewShipmentVendorLineV4>
<VendorID>string</VendorID>
<CostType>string</CostType>
<BaseCost>decimal</BaseCost>
<FuelSurcharge>decimal</FuelSurcharge>
<ReferenceNumber>string</ReferenceNumber>
</NewShipmentVendorLineV4>
</NewShipmentVendorList>
<Housebill>int</Housebill>
<ShipNo>int</ShipNo>
<ConNo>int</ConNo>
<ProjectCode>string</ProjectCode>
<ReadyDate1>string</ReadyDate1>
<ReadyTime1>string</ReadyTime1>
<ReadyTime1Range>string</ReadyTime1Range>
<DeliveryDate1>string</DeliveryDate1>
<DeliveryTime1>string</DeliveryTime1>
<DeliveryTime1Range>string</DeliveryTime1Range>
<ExemptionCode>string</ExemptionCode>
<ITNNumber>string</ITNNumber>
<OrgAirport>string</OrgAirport>
<DestAirport>string</DestAirport>
</oShipData>
</AddNewShipmentV4>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddNewShipmentV4Response xmlns="http://tempuri.org/">
<AddNewShipmentV4Result>
<ShipQuoteNo>string</ShipQuoteNo>
<Housebill>string</Housebill>
<ErrorMessage>string</ErrorMessage>
<DestinationAirport>string</DestinationAirport>
</AddNewShipmentV4Result>
</AddNewShipmentV4Response>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /wtkservices/airtrakshipment.asmx HTTP/1.1
Host: awctest.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthHeader xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<AddNewShipmentV4 xmlns="http://tempuri.org/">
<oShipData>
<Station>string</Station>
<CODAmount>decimal</CODAmount>
<FCCOD>string</FCCOD>
<DeclaredValue>decimal</DeclaredValue>
<DeclaredType>string</DeclaredType>
<ReadyDate>dateTime</ReadyDate>
<ReadyTime>dateTime</ReadyTime>
<ServiceLevel>string</ServiceLevel>
<DeliveryDate>dateTime</DeliveryDate>
<DeliveryTime>dateTime</DeliveryTime>
<PickupInstructions>string</PickupInstructions>
<DeliveryInstructions>string</DeliveryInstructions>
<CloseTime>dateTime</CloseTime>
<BillToAcct>int</BillToAcct>
<ShipperNo>string</ShipperNo>
<ShipperName>string</ShipperName>
<ShipperAddress1>string</ShipperAddress1>
<ShipperAddress2>string</ShipperAddress2>
<ShipperCity>string</ShipperCity>
<ShipperState>string</ShipperState>
<ShipperZip>string</ShipperZip>
<ShipperCountry>string</ShipperCountry>
<ShipperPhone>string</ShipperPhone>
<ShipperFax>string</ShipperFax>
<ShipperContact>string</ShipperContact>
<ShipperEmail>string</ShipperEmail>
<ConsigneeNo>string</ConsigneeNo>
<ConsigneeName>string</ConsigneeName>
<ConsigneeAddress1>string</ConsigneeAddress1>
<ConsigneeAddress2>string</ConsigneeAddress2>
<ConsigneeCity>string</ConsigneeCity>
<ConsigneeState>string</ConsigneeState>
<ConsigneeZip>string</ConsigneeZip>
<ConsigneeCountry>string</ConsigneeCountry>
<ConsigneePhone>string</ConsigneePhone>
<ConsigneeFax>string</ConsigneeFax>
<ConsigneeContact>string</ConsigneeContact>
<ConsigneeEmail>string</ConsigneeEmail>
<CustomerNo>int</CustomerNo>
<PayType>string</PayType>
<InvoiceNotes>string</InvoiceNotes>
<UserId>string</UserId>
<ProductCode>string</ProductCode>
<ContainerType>string</ContainerType>
<IncoTermsCode>string</IncoTermsCode>
<CommericalInvoiceValue>decimal</CommericalInvoiceValue>
<ShipmentType>Shipment or Quote</ShipmentType>
<Mode>Domestic or Truckload or OceanExport or OceanImport or AirImport or AirExport or Transborder</Mode>
<PODName>string</PODName>
<PODDate>dateTime</PODDate>
<PODTime>dateTime</PODTime>
<OrderStatus>string</OrderStatus>
<SpecialInstructions>string</SpecialInstructions>
<DeliveryTime2>dateTime</DeliveryTime2>
<ShipmentLineList>
<NewShipmentDimLineV4>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<WeightUOMV3>lb or kg</WeightUOMV3>
<DimUOMV3>in or cm</DimUOMV3>
<PieceType>string</PieceType>
<Hazmat>boolean</Hazmat>
<PClass>string</PClass>
</NewShipmentDimLineV4>
<NewShipmentDimLineV4>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<WeightUOMV3>lb or kg</WeightUOMV3>
<DimUOMV3>in or cm</DimUOMV3>
<PieceType>string</PieceType>
<Hazmat>boolean</Hazmat>
<PClass>string</PClass>
</NewShipmentDimLineV4>
</ShipmentLineList>
<ReferenceList>
<NewShipmentRefsV4>
<ReferenceNo>string</ReferenceNo>
<CustomerTypeV3>Shipper or Consignee or BillTo</CustomerTypeV3>
<RefTypeId>string</RefTypeId>
</NewShipmentRefsV4>
<NewShipmentRefsV4>
<ReferenceNo>string</ReferenceNo>
<CustomerTypeV3>Shipper or Consignee or BillTo</CustomerTypeV3>
<RefTypeId>string</RefTypeId>
</NewShipmentRefsV4>
</ReferenceList>
<NewShipmentAcessorialsList>
<NewShipmentAcessorialsV4>
<Code>string</Code>
<Amount>decimal</Amount>
</NewShipmentAcessorialsV4>
<NewShipmentAcessorialsV4>
<Code>string</Code>
<Amount>decimal</Amount>
</NewShipmentAcessorialsV4>
</NewShipmentAcessorialsList>
<DelBy>By or Between or Only</DelBy>
<NewShipmentVendorList>
<NewShipmentVendorLineV4>
<VendorID>string</VendorID>
<CostType>string</CostType>
<BaseCost>decimal</BaseCost>
<FuelSurcharge>decimal</FuelSurcharge>
<ReferenceNumber>string</ReferenceNumber>
</NewShipmentVendorLineV4>
<NewShipmentVendorLineV4>
<VendorID>string</VendorID>
<CostType>string</CostType>
<BaseCost>decimal</BaseCost>
<FuelSurcharge>decimal</FuelSurcharge>
<ReferenceNumber>string</ReferenceNumber>
</NewShipmentVendorLineV4>
</NewShipmentVendorList>
<Housebill>int</Housebill>
<ShipNo>int</ShipNo>
<ConNo>int</ConNo>
<ProjectCode>string</ProjectCode>
<ReadyDate1>string</ReadyDate1>
<ReadyTime1>string</ReadyTime1>
<ReadyTime1Range>string</ReadyTime1Range>
<DeliveryDate1>string</DeliveryDate1>
<DeliveryTime1>string</DeliveryTime1>
<DeliveryTime1Range>string</DeliveryTime1Range>
<ExemptionCode>string</ExemptionCode>
<ITNNumber>string</ITNNumber>
<OrgAirport>string</OrgAirport>
<DestAirport>string</DestAirport>
</oShipData>
</AddNewShipmentV4>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddNewShipmentV4Response xmlns="http://tempuri.org/">
<AddNewShipmentV4Result>
<ShipQuoteNo>string</ShipQuoteNo>
<Housebill>string</Housebill>
<ErrorMessage>string</ErrorMessage>
<DestinationAirport>string</DestinationAirport>
</AddNewShipmentV4Result>
</AddNewShipmentV4Response>
</soap12:Body>
</soap12:Envelope>