AirTrakShipment
Click here for a complete list of operations.
AddNewShipment
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/AddNewShipment"
<?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>
<AddNewShipment 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>
<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>
<ConsigneeRef>string</ConsigneeRef>
<ShipperRef>string</ShipperRef>
<ShipperRefType>string</ShipperRefType>
<ConsigneeRefType>string</ConsigneeRefType>
<CustomerNo>int</CustomerNo>
<PayType>string</PayType>
<InvoiceNotes>string</InvoiceNotes>
<UserId>string</UserId>
<ProductCode>string</ProductCode>
<ShipmentLineList>
<NewShipmentDimLine>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<PClass>string</PClass>
</NewShipmentDimLine>
<NewShipmentDimLine>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<PClass>string</PClass>
</NewShipmentDimLine>
</ShipmentLineList>
<Housebill>int</Housebill>
<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>
</AddNewShipment>
</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>
<AddNewShipmentResponse xmlns="http://tempuri.org/">
<AddNewShipmentResult>
<Housebill>string</Housebill>
<ErrorMessage>string</ErrorMessage>
<DestinationAirport>string</DestinationAirport>
</AddNewShipmentResult>
</AddNewShipmentResponse>
</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>
<AddNewShipment 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>
<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>
<ConsigneeRef>string</ConsigneeRef>
<ShipperRef>string</ShipperRef>
<ShipperRefType>string</ShipperRefType>
<ConsigneeRefType>string</ConsigneeRefType>
<CustomerNo>int</CustomerNo>
<PayType>string</PayType>
<InvoiceNotes>string</InvoiceNotes>
<UserId>string</UserId>
<ProductCode>string</ProductCode>
<ShipmentLineList>
<NewShipmentDimLine>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<PClass>string</PClass>
</NewShipmentDimLine>
<NewShipmentDimLine>
<Description>string</Description>
<Weigth>decimal</Weigth>
<Height>decimal</Height>
<Length>decimal</Length>
<Width>decimal</Width>
<Pieces>int</Pieces>
<PClass>string</PClass>
</NewShipmentDimLine>
</ShipmentLineList>
<Housebill>int</Housebill>
<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>
</AddNewShipment>
</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>
<AddNewShipmentResponse xmlns="http://tempuri.org/">
<AddNewShipmentResult>
<Housebill>string</Housebill>
<ErrorMessage>string</ErrorMessage>
<DestinationAirport>string</DestinationAirport>
</AddNewShipmentResult>
</AddNewShipmentResponse>
</soap12:Body>
</soap12:Envelope>