OrderManagement


Click here for a complete list of operations.

AddOrder

Add an Order

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 /WS/OrderManagement/OrderManagement.asmx HTTP/1.1
Host: ws.webfulfillment.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.webfulfillment.com/InterlinkONE.IlinkONE.WebServices.OrderImport/AddOrder"

<?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>
    <AddOrder xmlns="http://webservices.webfulfillment.com/InterlinkONE.IlinkONE.WebServices.OrderImport">
      <auth>
        <name>string</name>
        <password>string</password>
        <catalog>string</catalog>
        <token>string</token>
      </auth>
      <oOrder xmlns="InterlinkONE.IlinkONE.Data">
        <OrderNoID>string</OrderNoID>
        <OrderNumber>string</OrderNumber>
        <ExternalOrderNumber>string</ExternalOrderNumber>
        <OrderDate>string</OrderDate>
        <OrderedByRepName>string</OrderedByRepName>
        <Prefix>string</Prefix>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <LastName>string</LastName>
        <Suffix>string</Suffix>
        <Title>string</Title>
        <Company>string</Company>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <Address3>string</Address3>
        <City>string</City>
        <State>string</State>
        <Province>string</Province>
        <Zip>string</Zip>
        <Phone>string</Phone>
        <Country>string</Country>
        <ShipMethod>string</ShipMethod>
        <ShipMethodService>string</ShipMethodService>
        <ThirdPartyAccount>string</ThirdPartyAccount>
        <ShipperReferenceNo>string</ShipperReferenceNo>
        <ShipLabelComment>string</ShipLabelComment>
        <RecipientsEmail>string</RecipientsEmail>
        <RequestedShipDate>string</RequestedShipDate>
        <OrderReason>string</OrderReason>
        <CostCenter>string</CostCenter>
        <OrderDetail>
          <ProductCode>string</ProductCode>
          <PartRevision>string</PartRevision>
          <Qty>string</Qty>
          <StateRestriction>string</StateRestriction>
          <Color>string</Color>
          <Size>string</Size>
        </OrderDetail>
        <OrderDetail>
          <ProductCode>string</ProductCode>
          <PartRevision>string</PartRevision>
          <Qty>string</Qty>
          <StateRestriction>string</StateRestriction>
          <Color>string</Color>
          <Size>string</Size>
        </OrderDetail>
      </oOrder>
    </AddOrder>
  </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>
    <AddOrderResponse xmlns="http://webservices.webfulfillment.com/InterlinkONE.IlinkONE.WebServices.OrderImport">
      <AddOrderResult>
        <orderinfo>
          <Contactid>int</Contactid>
          <OrderID>int</OrderID>
          <OrderNumber>string</OrderNumber>
          <ExternalOrderNumber>string</ExternalOrderNumber>
        </orderinfo>
        <rc>
          <returnType>Success or Failure or FailureInformational or Other</returnType>
          <returnCode>long</returnCode>
          <returnDesc>string</returnDesc>
        </rc>
      </AddOrderResult>
    </AddOrderResponse>
  </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 /WS/OrderManagement/OrderManagement.asmx HTTP/1.1
Host: ws.webfulfillment.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>
    <AddOrder xmlns="http://webservices.webfulfillment.com/InterlinkONE.IlinkONE.WebServices.OrderImport">
      <auth>
        <name>string</name>
        <password>string</password>
        <catalog>string</catalog>
        <token>string</token>
      </auth>
      <oOrder xmlns="InterlinkONE.IlinkONE.Data">
        <OrderNoID>string</OrderNoID>
        <OrderNumber>string</OrderNumber>
        <ExternalOrderNumber>string</ExternalOrderNumber>
        <OrderDate>string</OrderDate>
        <OrderedByRepName>string</OrderedByRepName>
        <Prefix>string</Prefix>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <LastName>string</LastName>
        <Suffix>string</Suffix>
        <Title>string</Title>
        <Company>string</Company>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <Address3>string</Address3>
        <City>string</City>
        <State>string</State>
        <Province>string</Province>
        <Zip>string</Zip>
        <Phone>string</Phone>
        <Country>string</Country>
        <ShipMethod>string</ShipMethod>
        <ShipMethodService>string</ShipMethodService>
        <ThirdPartyAccount>string</ThirdPartyAccount>
        <ShipperReferenceNo>string</ShipperReferenceNo>
        <ShipLabelComment>string</ShipLabelComment>
        <RecipientsEmail>string</RecipientsEmail>
        <RequestedShipDate>string</RequestedShipDate>
        <OrderReason>string</OrderReason>
        <CostCenter>string</CostCenter>
        <OrderDetail>
          <ProductCode>string</ProductCode>
          <PartRevision>string</PartRevision>
          <Qty>string</Qty>
          <StateRestriction>string</StateRestriction>
          <Color>string</Color>
          <Size>string</Size>
        </OrderDetail>
        <OrderDetail>
          <ProductCode>string</ProductCode>
          <PartRevision>string</PartRevision>
          <Qty>string</Qty>
          <StateRestriction>string</StateRestriction>
          <Color>string</Color>
          <Size>string</Size>
        </OrderDetail>
      </oOrder>
    </AddOrder>
  </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>
    <AddOrderResponse xmlns="http://webservices.webfulfillment.com/InterlinkONE.IlinkONE.WebServices.OrderImport">
      <AddOrderResult>
        <orderinfo>
          <Contactid>int</Contactid>
          <OrderID>int</OrderID>
          <OrderNumber>string</OrderNumber>
          <ExternalOrderNumber>string</ExternalOrderNumber>
        </orderinfo>
        <rc>
          <returnType>Success or Failure or FailureInformational or Other</returnType>
          <returnCode>long</returnCode>
          <returnDesc>string</returnDesc>
        </rc>
      </AddOrderResult>
    </AddOrderResponse>
  </soap12:Body>
</soap12:Envelope>