AnchorWebService


Click here for a complete list of operations.

GetProductByDate

Return Array of Standard_Product_Database, given a Date Addition Start and End.
Used to Populate Web Service Consumer's Item Database. Consignee use only

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 /anchorwebservice.asmx HTTP/1.1
Host: soap.anchordistributors.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AnchorWebservice/AnchorWebservice/GetProductByDate"

<?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>
    <SecurityHeader xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Username>int</Username>
      <Password>string</Password>
    </SecurityHeader>
  </soap:Header>
  <soap:Body>
    <GetProductByDate xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Date_Start>dateTime</Date_Start>
      <Date_End>dateTime</Date_End>
    </GetProductByDate>
  </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>
    <GetProductByDateResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetProductByDateResult>
        <Standard_Product_Database>
          <Item_seq_id>int</Item_seq_id>
          <Speedy_Code>string</Speedy_Code>
          <ISBN>string</ISBN>
          <Title>string</Title>
          <Author_seq_id>int</Author_seq_id>
          <Price>decimal</Price>
          <UPC>string</UPC>
          <Primary_CBC>string</Primary_CBC>
          <Sub_CBC>string</Sub_CBC>
          <Super_CBC>string</Super_CBC>
          <Weight>decimal</Weight>
          <Discount>decimal</Discount>
          <Flag_New>string</Flag_New>
          <Date_First_Sale>dateTime</Date_First_Sale>
          <Vendor_Code>string</Vendor_Code>
          <Binding_Seq_Id>int</Binding_Seq_Id>
          <Category_Seq_Id>
            <int>int</int>
            <int>int</int>
          </Category_Seq_Id>
          <Available>int</Available>
          <CaseQty>int</CaseQty>
          <Blurb>string</Blurb>
          <TOC>string</TOC>
          <Excerpt>string</Excerpt>
          <Image_Filename>string</Image_Filename>
          <Date_First_Published>dateTime</Date_First_Published>
          <Date_Due>string</Date_Due>
          <BackCover>string</BackCover>
        </Standard_Product_Database>
        <Standard_Product_Database>
          <Item_seq_id>int</Item_seq_id>
          <Speedy_Code>string</Speedy_Code>
          <ISBN>string</ISBN>
          <Title>string</Title>
          <Author_seq_id>int</Author_seq_id>
          <Price>decimal</Price>
          <UPC>string</UPC>
          <Primary_CBC>string</Primary_CBC>
          <Sub_CBC>string</Sub_CBC>
          <Super_CBC>string</Super_CBC>
          <Weight>decimal</Weight>
          <Discount>decimal</Discount>
          <Flag_New>string</Flag_New>
          <Date_First_Sale>dateTime</Date_First_Sale>
          <Vendor_Code>string</Vendor_Code>
          <Binding_Seq_Id>int</Binding_Seq_Id>
          <Category_Seq_Id>
            <int>int</int>
            <int>int</int>
          </Category_Seq_Id>
          <Available>int</Available>
          <CaseQty>int</CaseQty>
          <Blurb>string</Blurb>
          <TOC>string</TOC>
          <Excerpt>string</Excerpt>
          <Image_Filename>string</Image_Filename>
          <Date_First_Published>dateTime</Date_First_Published>
          <Date_Due>string</Date_Due>
          <BackCover>string</BackCover>
        </Standard_Product_Database>
      </GetProductByDateResult>
    </GetProductByDateResponse>
  </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 /anchorwebservice.asmx HTTP/1.1
Host: soap.anchordistributors.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>
    <SecurityHeader xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Username>int</Username>
      <Password>string</Password>
    </SecurityHeader>
  </soap12:Header>
  <soap12:Body>
    <GetProductByDate xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Date_Start>dateTime</Date_Start>
      <Date_End>dateTime</Date_End>
    </GetProductByDate>
  </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>
    <GetProductByDateResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetProductByDateResult>
        <Standard_Product_Database>
          <Item_seq_id>int</Item_seq_id>
          <Speedy_Code>string</Speedy_Code>
          <ISBN>string</ISBN>
          <Title>string</Title>
          <Author_seq_id>int</Author_seq_id>
          <Price>decimal</Price>
          <UPC>string</UPC>
          <Primary_CBC>string</Primary_CBC>
          <Sub_CBC>string</Sub_CBC>
          <Super_CBC>string</Super_CBC>
          <Weight>decimal</Weight>
          <Discount>decimal</Discount>
          <Flag_New>string</Flag_New>
          <Date_First_Sale>dateTime</Date_First_Sale>
          <Vendor_Code>string</Vendor_Code>
          <Binding_Seq_Id>int</Binding_Seq_Id>
          <Category_Seq_Id>
            <int>int</int>
            <int>int</int>
          </Category_Seq_Id>
          <Available>int</Available>
          <CaseQty>int</CaseQty>
          <Blurb>string</Blurb>
          <TOC>string</TOC>
          <Excerpt>string</Excerpt>
          <Image_Filename>string</Image_Filename>
          <Date_First_Published>dateTime</Date_First_Published>
          <Date_Due>string</Date_Due>
          <BackCover>string</BackCover>
        </Standard_Product_Database>
        <Standard_Product_Database>
          <Item_seq_id>int</Item_seq_id>
          <Speedy_Code>string</Speedy_Code>
          <ISBN>string</ISBN>
          <Title>string</Title>
          <Author_seq_id>int</Author_seq_id>
          <Price>decimal</Price>
          <UPC>string</UPC>
          <Primary_CBC>string</Primary_CBC>
          <Sub_CBC>string</Sub_CBC>
          <Super_CBC>string</Super_CBC>
          <Weight>decimal</Weight>
          <Discount>decimal</Discount>
          <Flag_New>string</Flag_New>
          <Date_First_Sale>dateTime</Date_First_Sale>
          <Vendor_Code>string</Vendor_Code>
          <Binding_Seq_Id>int</Binding_Seq_Id>
          <Category_Seq_Id>
            <int>int</int>
            <int>int</int>
          </Category_Seq_Id>
          <Available>int</Available>
          <CaseQty>int</CaseQty>
          <Blurb>string</Blurb>
          <TOC>string</TOC>
          <Excerpt>string</Excerpt>
          <Image_Filename>string</Image_Filename>
          <Date_First_Published>dateTime</Date_First_Published>
          <Date_Due>string</Date_Due>
          <BackCover>string</BackCover>
        </Standard_Product_Database>
      </GetProductByDateResult>
    </GetProductByDateResponse>
  </soap12:Body>
</soap12:Envelope>