Operation


Click here for a complete list of operations.

ShipmentOrder

To Insert Orders for Delivery

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 /DTInterfaceWCFService/Operation.asmx HTTP/1.1
Host: poc.dt.ae
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ShipmentOrder"

<?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>
    <RequestHeader xmlns="http://tempuri.org/">
      <RequestedSystem>string</RequestedSystem>
      <RetryLimit>string</RetryLimit>
      <RequestedDate>string</RequestedDate>
      <TransactionID>string</TransactionID>
    </RequestHeader>
    <AuthHeader xmlns="http://tempuri.org/">
      <InterfaceUserName>string</InterfaceUserName>
      <InterfacePassword>string</InterfacePassword>
      <InterfaceUniqueId>string</InterfaceUniqueId>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <ShipmentOrder xmlns="http://tempuri.org/">
      <shipmentOrderRequestData>
        <LineItems>
          <LineItem>
            <LineNumber>string</LineNumber>
            <SIC>string</SIC>
            <QuantityOrdered>string</QuantityOrdered>
            <UnitCost>string</UnitCost>
            <SourceStoreCode>string</SourceStoreCode>
            <DestinationStoreCode>string</DestinationStoreCode>
            <Description>string</Description>
            <TONumber>string</TONumber>
            <OrderCode>string</OrderCode>
            <WincashTOReference>string</WincashTOReference>
            <BasketItemID>string</BasketItemID>
          </LineItem>
          <LineItem>
            <LineNumber>string</LineNumber>
            <SIC>string</SIC>
            <QuantityOrdered>string</QuantityOrdered>
            <UnitCost>string</UnitCost>
            <SourceStoreCode>string</SourceStoreCode>
            <DestinationStoreCode>string</DestinationStoreCode>
            <Description>string</Description>
            <TONumber>string</TONumber>
            <OrderCode>string</OrderCode>
            <WincashTOReference>string</WincashTOReference>
            <BasketItemID>string</BasketItemID>
          </LineItem>
        </LineItems>
        <AdditionalInfos>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
        </AdditionalInfos>
        <OrderNumber>string</OrderNumber>
        <WebRefNumber>string</WebRefNumber>
        <SourceSystem>string</SourceSystem>
        <DemandSequenceID>string</DemandSequenceID>
        <ClientReferenceID>string</ClientReferenceID>
        <LPID>string</LPID>
        <CustomerName>string</CustomerName>
        <Address>string</Address>
        <Country>string</Country>
        <City>string</City>
        <Phone1>string</Phone1>
        <Phone2>string</Phone2>
        <OrderType>string</OrderType>
        <Mode>string</Mode>
        <AgentName>string</AgentName>
        <Currency>string</Currency>
        <CTSService>string</CTSService>
        <CTSValue>string</CTSValue>
        <AccountNumber>string</AccountNumber>
        <DeliveryRegion>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
        </DeliveryRegion>
        <DeliveryZone>
          <ZoneCode>string</ZoneCode>
          <ZoneName>string</ZoneName>
        </DeliveryZone>
        <DeliveryLocationLatitude>double</DeliveryLocationLatitude>
        <DeliveryLocationLongitude>double</DeliveryLocationLongitude>
        <DeliveryArea>
          <AreaCode>string</AreaCode>
          <AreaName>string</AreaName>
        </DeliveryArea>
        <PreferredDeliveryDateTime>string</PreferredDeliveryDateTime>
        <BasketID>string</BasketID>
      </shipmentOrderRequestData>
    </ShipmentOrder>
  </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:Header>
    <ShipmentOrderResponseHeader xmlns="http://tempuri.org/">
      <TransactionID>string</TransactionID>
      <OrderNumber>string</OrderNumber>
      <LPRefNumber>string</LPRefNumber>
    </ShipmentOrderResponseHeader>
  </soap:Header>
  <soap:Body>
    <ShipmentOrderResponse xmlns="http://tempuri.org/">
      <ShipmentOrderResult>
        <AdditionalInfos>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
        </AdditionalInfos>
        <Status>string</Status>
        <ErrorCode>string</ErrorCode>
        <ErrorType>string</ErrorType>
        <ErrorDescription>string</ErrorDescription>
      </ShipmentOrderResult>
    </ShipmentOrderResponse>
  </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 /DTInterfaceWCFService/Operation.asmx HTTP/1.1
Host: poc.dt.ae
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>
    <RequestHeader xmlns="http://tempuri.org/">
      <RequestedSystem>string</RequestedSystem>
      <RetryLimit>string</RetryLimit>
      <RequestedDate>string</RequestedDate>
      <TransactionID>string</TransactionID>
    </RequestHeader>
    <AuthHeader xmlns="http://tempuri.org/">
      <InterfaceUserName>string</InterfaceUserName>
      <InterfacePassword>string</InterfacePassword>
      <InterfaceUniqueId>string</InterfaceUniqueId>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <ShipmentOrder xmlns="http://tempuri.org/">
      <shipmentOrderRequestData>
        <LineItems>
          <LineItem>
            <LineNumber>string</LineNumber>
            <SIC>string</SIC>
            <QuantityOrdered>string</QuantityOrdered>
            <UnitCost>string</UnitCost>
            <SourceStoreCode>string</SourceStoreCode>
            <DestinationStoreCode>string</DestinationStoreCode>
            <Description>string</Description>
            <TONumber>string</TONumber>
            <OrderCode>string</OrderCode>
            <WincashTOReference>string</WincashTOReference>
            <BasketItemID>string</BasketItemID>
          </LineItem>
          <LineItem>
            <LineNumber>string</LineNumber>
            <SIC>string</SIC>
            <QuantityOrdered>string</QuantityOrdered>
            <UnitCost>string</UnitCost>
            <SourceStoreCode>string</SourceStoreCode>
            <DestinationStoreCode>string</DestinationStoreCode>
            <Description>string</Description>
            <TONumber>string</TONumber>
            <OrderCode>string</OrderCode>
            <WincashTOReference>string</WincashTOReference>
            <BasketItemID>string</BasketItemID>
          </LineItem>
        </LineItems>
        <AdditionalInfos>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
        </AdditionalInfos>
        <OrderNumber>string</OrderNumber>
        <WebRefNumber>string</WebRefNumber>
        <SourceSystem>string</SourceSystem>
        <DemandSequenceID>string</DemandSequenceID>
        <ClientReferenceID>string</ClientReferenceID>
        <LPID>string</LPID>
        <CustomerName>string</CustomerName>
        <Address>string</Address>
        <Country>string</Country>
        <City>string</City>
        <Phone1>string</Phone1>
        <Phone2>string</Phone2>
        <OrderType>string</OrderType>
        <Mode>string</Mode>
        <AgentName>string</AgentName>
        <Currency>string</Currency>
        <CTSService>string</CTSService>
        <CTSValue>string</CTSValue>
        <AccountNumber>string</AccountNumber>
        <DeliveryRegion>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
        </DeliveryRegion>
        <DeliveryZone>
          <ZoneCode>string</ZoneCode>
          <ZoneName>string</ZoneName>
        </DeliveryZone>
        <DeliveryLocationLatitude>double</DeliveryLocationLatitude>
        <DeliveryLocationLongitude>double</DeliveryLocationLongitude>
        <DeliveryArea>
          <AreaCode>string</AreaCode>
          <AreaName>string</AreaName>
        </DeliveryArea>
        <PreferredDeliveryDateTime>string</PreferredDeliveryDateTime>
        <BasketID>string</BasketID>
      </shipmentOrderRequestData>
    </ShipmentOrder>
  </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:Header>
    <ShipmentOrderResponseHeader xmlns="http://tempuri.org/">
      <TransactionID>string</TransactionID>
      <OrderNumber>string</OrderNumber>
      <LPRefNumber>string</LPRefNumber>
    </ShipmentOrderResponseHeader>
  </soap12:Header>
  <soap12:Body>
    <ShipmentOrderResponse xmlns="http://tempuri.org/">
      <ShipmentOrderResult>
        <AdditionalInfos>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
          <AdditionalInfo>
            <Name>string</Name>
            <Value>string</Value>
          </AdditionalInfo>
        </AdditionalInfos>
        <Status>string</Status>
        <ErrorCode>string</ErrorCode>
        <ErrorType>string</ErrorType>
        <ErrorDescription>string</ErrorDescription>
      </ShipmentOrderResult>
    </ShipmentOrderResponse>
  </soap12:Body>
</soap12:Envelope>