AnchorWebService


Click here for a complete list of operations.

GetProductInfo

Return Array of Standard_Product_Database, given an Item Id. 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/GetProductInfo"

<?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>
    <GetProductInfo xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <item_id>int</item_id>
    </GetProductInfo>
  </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>
    <GetProductInfoResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetProductInfoResult>
        <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>
      </GetProductInfoResult>
    </GetProductInfoResponse>
  </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>
    <GetProductInfo xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <item_id>int</item_id>
    </GetProductInfo>
  </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>
    <GetProductInfoResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetProductInfoResult>
        <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>
      </GetProductInfoResult>
    </GetProductInfoResponse>
  </soap12:Body>
</soap12:Envelope>