AirTrakShipment


Click here for a complete list of operations.

UpdateShipmentForwarderToAgent

Update 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/UpdateShipmentForwarderToAgent"

<?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>
    <UpdateShipmentForwarderToAgent xmlns="http://tempuri.org/">
      <Housebill>string</Housebill>
      <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>
        <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>
        <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>
        <SpecialInstructions>string</SpecialInstructions>
        <DeliveryTime2>dateTime</DeliveryTime2>
        <ShipmentLineList>
          <NewShipmentDimLineFA>
            <Description>string</Description>
            <Weigth>int</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>
          </NewShipmentDimLineFA>
          <NewShipmentDimLineFA>
            <Description>string</Description>
            <Weigth>int</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>
          </NewShipmentDimLineFA>
        </ShipmentLineList>
        <ReferenceList>
          <NewShipmentRefsFA>
            <ReferenceNo>string</ReferenceNo>
            <CustomerTypeFA>Shipper or Consignee or BillTo</CustomerTypeFA>
            <RefTypeId>string</RefTypeId>
          </NewShipmentRefsFA>
          <NewShipmentRefsFA>
            <ReferenceNo>string</ReferenceNo>
            <CustomerTypeFA>Shipper or Consignee or BillTo</CustomerTypeFA>
            <RefTypeId>string</RefTypeId>
          </NewShipmentRefsFA>
        </ReferenceList>
        <NewShipmentAcessorialsList>
          <NewShipmentAcessorialsFA>
            <Code>string</Code>
            <Amount>decimal</Amount>
          </NewShipmentAcessorialsFA>
          <NewShipmentAcessorialsFA>
            <Code>string</Code>
            <Amount>decimal</Amount>
          </NewShipmentAcessorialsFA>
        </NewShipmentAcessorialsList>
        <Housebill>int</Housebill>
        <DelBy>By or Between or Only</DelBy>
        <CallInCompany>string</CallInCompany>
        <CallInName>string</CallInName>
        <CallInPhone>string</CallInPhone>
        <CallInFax>string</CallInFax>
        <CallInExtn>string</CallInExtn>
        <CallInEmail>string</CallInEmail>
      </oShipData>
      <ForwarderCompanyId>string</ForwarderCompanyId>
    </UpdateShipmentForwarderToAgent>
  </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>
    <UpdateShipmentForwarderToAgentResponse xmlns="http://tempuri.org/">
      <UpdateShipmentForwarderToAgentResult>
        <Success>boolean</Success>
        <ErrorMessage>string</ErrorMessage>
      </UpdateShipmentForwarderToAgentResult>
    </UpdateShipmentForwarderToAgentResponse>
  </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:Body>
    <UpdateShipmentForwarderToAgent xmlns="http://tempuri.org/">
      <Housebill>string</Housebill>
      <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>
        <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>
        <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>
        <SpecialInstructions>string</SpecialInstructions>
        <DeliveryTime2>dateTime</DeliveryTime2>
        <ShipmentLineList>
          <NewShipmentDimLineFA>
            <Description>string</Description>
            <Weigth>int</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>
          </NewShipmentDimLineFA>
          <NewShipmentDimLineFA>
            <Description>string</Description>
            <Weigth>int</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>
          </NewShipmentDimLineFA>
        </ShipmentLineList>
        <ReferenceList>
          <NewShipmentRefsFA>
            <ReferenceNo>string</ReferenceNo>
            <CustomerTypeFA>Shipper or Consignee or BillTo</CustomerTypeFA>
            <RefTypeId>string</RefTypeId>
          </NewShipmentRefsFA>
          <NewShipmentRefsFA>
            <ReferenceNo>string</ReferenceNo>
            <CustomerTypeFA>Shipper or Consignee or BillTo</CustomerTypeFA>
            <RefTypeId>string</RefTypeId>
          </NewShipmentRefsFA>
        </ReferenceList>
        <NewShipmentAcessorialsList>
          <NewShipmentAcessorialsFA>
            <Code>string</Code>
            <Amount>decimal</Amount>
          </NewShipmentAcessorialsFA>
          <NewShipmentAcessorialsFA>
            <Code>string</Code>
            <Amount>decimal</Amount>
          </NewShipmentAcessorialsFA>
        </NewShipmentAcessorialsList>
        <Housebill>int</Housebill>
        <DelBy>By or Between or Only</DelBy>
        <CallInCompany>string</CallInCompany>
        <CallInName>string</CallInName>
        <CallInPhone>string</CallInPhone>
        <CallInFax>string</CallInFax>
        <CallInExtn>string</CallInExtn>
        <CallInEmail>string</CallInEmail>
      </oShipData>
      <ForwarderCompanyId>string</ForwarderCompanyId>
    </UpdateShipmentForwarderToAgent>
  </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>
    <UpdateShipmentForwarderToAgentResponse xmlns="http://tempuri.org/">
      <UpdateShipmentForwarderToAgentResult>
        <Success>boolean</Success>
        <ErrorMessage>string</ErrorMessage>
      </UpdateShipmentForwarderToAgentResult>
    </UpdateShipmentForwarderToAgentResponse>
  </soap12:Body>
</soap12:Envelope>