OrderProcessing


Click here for a complete list of operations.

GetPickupOrdersByCustomer

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 /ws14/orderprocessing.asmx HTTP/1.1
Host: ws.bloyal.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://bloyal.com/GetPickupOrdersByCustomer"

<?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>
    <GetPickupOrdersByCustomer xmlns="http://bloyal.com/">
      <customerId>int</customerId>
      <associatedEntities>None or Properties or Lines or Packages or Payments or ActivityLog or All</associatedEntities>
    </GetPickupOrdersByCustomer>
  </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>
    <GetPickupOrdersByCustomerResponse xmlns="http://bloyal.com/">
      <GetPickupOrdersByCustomerResult>
        <Order>
          <CalcToken>string</CalcToken>
          <Title>string</Title>
          <CustomerId>int</CustomerId>
          <OrderDate>dateTime</OrderDate>
          <StoreCode>string</StoreCode>
          <AccountNumber>string</AccountNumber>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <CompanyName>string</CompanyName>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <Country>string</Country>
          <Phone1>string</Phone1>
          <Phone2>string</Phone2>
          <EmailAddress>string</EmailAddress>
          <ExternalOrderId>string</ExternalOrderId>
          <Comment>string</Comment>
          <Deposit>decimal</Deposit>
          <Status>Pending or Holding or Problem or Approved or Canceled or Delivery or Closed</Status>
          <Channel>WebStore or Kiosk or Club or Phone or POS or Event or Other or OutsideSales or Mobile or SocialNetwork or Wholesale</Channel>
          <Packages>
            <OrderPackage xsi:nil="true" />
            <OrderPackage xsi:nil="true" />
          </Packages>
          <Lines>
            <OrderLine xsi:nil="true" />
            <OrderLine xsi:nil="true" />
          </Lines>
          <ActivityLogs>
            <ActivityLog xsi:nil="true" />
            <ActivityLog xsi:nil="true" />
          </ActivityLogs>
          <CustomCode1>int</CustomCode1>
          <CustomCode2>int</CustomCode2>
          <CustomCode3>int</CustomCode3>
          <CustomCode4>int</CustomCode4>
          <PurchaseDate>dateTime</PurchaseDate>
          <BypassShippingCompliance>boolean</BypassShippingCompliance>
          <BypassQuantityLimits>boolean</BypassQuantityLimits>
          <ReceiptUrl>string</ReceiptUrl>
          <Payments>
            <OrderPayment xsi:nil="true" />
            <OrderPayment xsi:nil="true" />
          </Payments>
          <ComplianceLevel>Normal or IgnoreStreetLevelErrors or IgnoreAddressErrors or IgnoreComplianceErrors or BypassCompliance or ExternallyValidated</ComplianceLevel>
          <SourceExternalId>string</SourceExternalId>
        </Order>
        <Order>
          <CalcToken>string</CalcToken>
          <Title>string</Title>
          <CustomerId>int</CustomerId>
          <OrderDate>dateTime</OrderDate>
          <StoreCode>string</StoreCode>
          <AccountNumber>string</AccountNumber>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <CompanyName>string</CompanyName>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <Country>string</Country>
          <Phone1>string</Phone1>
          <Phone2>string</Phone2>
          <EmailAddress>string</EmailAddress>
          <ExternalOrderId>string</ExternalOrderId>
          <Comment>string</Comment>
          <Deposit>decimal</Deposit>
          <Status>Pending or Holding or Problem or Approved or Canceled or Delivery or Closed</Status>
          <Channel>WebStore or Kiosk or Club or Phone or POS or Event or Other or OutsideSales or Mobile or SocialNetwork or Wholesale</Channel>
          <Packages>
            <OrderPackage xsi:nil="true" />
            <OrderPackage xsi:nil="true" />
          </Packages>
          <Lines>
            <OrderLine xsi:nil="true" />
            <OrderLine xsi:nil="true" />
          </Lines>
          <ActivityLogs>
            <ActivityLog xsi:nil="true" />
            <ActivityLog xsi:nil="true" />
          </ActivityLogs>
          <CustomCode1>int</CustomCode1>
          <CustomCode2>int</CustomCode2>
          <CustomCode3>int</CustomCode3>
          <CustomCode4>int</CustomCode4>
          <PurchaseDate>dateTime</PurchaseDate>
          <BypassShippingCompliance>boolean</BypassShippingCompliance>
          <BypassQuantityLimits>boolean</BypassQuantityLimits>
          <ReceiptUrl>string</ReceiptUrl>
          <Payments>
            <OrderPayment xsi:nil="true" />
            <OrderPayment xsi:nil="true" />
          </Payments>
          <ComplianceLevel>Normal or IgnoreStreetLevelErrors or IgnoreAddressErrors or IgnoreComplianceErrors or BypassCompliance or ExternallyValidated</ComplianceLevel>
          <SourceExternalId>string</SourceExternalId>
        </Order>
      </GetPickupOrdersByCustomerResult>
    </GetPickupOrdersByCustomerResponse>
  </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 /ws14/orderprocessing.asmx HTTP/1.1
Host: ws.bloyal.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>
    <GetPickupOrdersByCustomer xmlns="http://bloyal.com/">
      <customerId>int</customerId>
      <associatedEntities>None or Properties or Lines or Packages or Payments or ActivityLog or All</associatedEntities>
    </GetPickupOrdersByCustomer>
  </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>
    <GetPickupOrdersByCustomerResponse xmlns="http://bloyal.com/">
      <GetPickupOrdersByCustomerResult>
        <Order>
          <CalcToken>string</CalcToken>
          <Title>string</Title>
          <CustomerId>int</CustomerId>
          <OrderDate>dateTime</OrderDate>
          <StoreCode>string</StoreCode>
          <AccountNumber>string</AccountNumber>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <CompanyName>string</CompanyName>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <Country>string</Country>
          <Phone1>string</Phone1>
          <Phone2>string</Phone2>
          <EmailAddress>string</EmailAddress>
          <ExternalOrderId>string</ExternalOrderId>
          <Comment>string</Comment>
          <Deposit>decimal</Deposit>
          <Status>Pending or Holding or Problem or Approved or Canceled or Delivery or Closed</Status>
          <Channel>WebStore or Kiosk or Club or Phone or POS or Event or Other or OutsideSales or Mobile or SocialNetwork or Wholesale</Channel>
          <Packages>
            <OrderPackage xsi:nil="true" />
            <OrderPackage xsi:nil="true" />
          </Packages>
          <Lines>
            <OrderLine xsi:nil="true" />
            <OrderLine xsi:nil="true" />
          </Lines>
          <ActivityLogs>
            <ActivityLog xsi:nil="true" />
            <ActivityLog xsi:nil="true" />
          </ActivityLogs>
          <CustomCode1>int</CustomCode1>
          <CustomCode2>int</CustomCode2>
          <CustomCode3>int</CustomCode3>
          <CustomCode4>int</CustomCode4>
          <PurchaseDate>dateTime</PurchaseDate>
          <BypassShippingCompliance>boolean</BypassShippingCompliance>
          <BypassQuantityLimits>boolean</BypassQuantityLimits>
          <ReceiptUrl>string</ReceiptUrl>
          <Payments>
            <OrderPayment xsi:nil="true" />
            <OrderPayment xsi:nil="true" />
          </Payments>
          <ComplianceLevel>Normal or IgnoreStreetLevelErrors or IgnoreAddressErrors or IgnoreComplianceErrors or BypassCompliance or ExternallyValidated</ComplianceLevel>
          <SourceExternalId>string</SourceExternalId>
        </Order>
        <Order>
          <CalcToken>string</CalcToken>
          <Title>string</Title>
          <CustomerId>int</CustomerId>
          <OrderDate>dateTime</OrderDate>
          <StoreCode>string</StoreCode>
          <AccountNumber>string</AccountNumber>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <CompanyName>string</CompanyName>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <Country>string</Country>
          <Phone1>string</Phone1>
          <Phone2>string</Phone2>
          <EmailAddress>string</EmailAddress>
          <ExternalOrderId>string</ExternalOrderId>
          <Comment>string</Comment>
          <Deposit>decimal</Deposit>
          <Status>Pending or Holding or Problem or Approved or Canceled or Delivery or Closed</Status>
          <Channel>WebStore or Kiosk or Club or Phone or POS or Event or Other or OutsideSales or Mobile or SocialNetwork or Wholesale</Channel>
          <Packages>
            <OrderPackage xsi:nil="true" />
            <OrderPackage xsi:nil="true" />
          </Packages>
          <Lines>
            <OrderLine xsi:nil="true" />
            <OrderLine xsi:nil="true" />
          </Lines>
          <ActivityLogs>
            <ActivityLog xsi:nil="true" />
            <ActivityLog xsi:nil="true" />
          </ActivityLogs>
          <CustomCode1>int</CustomCode1>
          <CustomCode2>int</CustomCode2>
          <CustomCode3>int</CustomCode3>
          <CustomCode4>int</CustomCode4>
          <PurchaseDate>dateTime</PurchaseDate>
          <BypassShippingCompliance>boolean</BypassShippingCompliance>
          <BypassQuantityLimits>boolean</BypassQuantityLimits>
          <ReceiptUrl>string</ReceiptUrl>
          <Payments>
            <OrderPayment xsi:nil="true" />
            <OrderPayment xsi:nil="true" />
          </Payments>
          <ComplianceLevel>Normal or IgnoreStreetLevelErrors or IgnoreAddressErrors or IgnoreComplianceErrors or BypassCompliance or ExternallyValidated</ComplianceLevel>
          <SourceExternalId>string</SourceExternalId>
        </Order>
      </GetPickupOrdersByCustomerResult>
    </GetPickupOrdersByCustomerResponse>
  </soap12:Body>
</soap12:Envelope>