AnchorWebService


Click here for a complete list of operations.

GetShippedInvoiceDetails

Return SalesOrder Structure, given an Invoice Seq ID.
Returns Order information and items.
Useful to check if any items is unfortunately not shipped due to out of stock.

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/GetShippedInvoiceDetails"

<?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>
    <GetShippedInvoiceDetails xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Invoice_seq_Id>int</Invoice_seq_Id>
    </GetShippedInvoiceDetails>
  </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>
    <GetShippedInvoiceDetailsResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetShippedInvoiceDetailsResult>
        <Invoice_Seq_Id>int</Invoice_Seq_Id>
        <Bill_to_Seq_Id>int</Bill_to_Seq_Id>
        <Ship_to_Seq_Id>int</Ship_to_Seq_Id>
        <PO_Number>string</PO_Number>
        <Net>decimal</Net>
        <Flag_Rush_Order>string</Flag_Rush_Order>
        <Date_Ship_By>string</Date_Ship_By>
        <Shipping_Charge>decimal</Shipping_Charge>
        <SO_Detail>
          <SalesOrderDetail>
            <Product_Seq_Id>int</Product_Seq_Id>
            <Order_Quantity>int</Order_Quantity>
            <Ship_Quantity>int</Ship_Quantity>
            <Unit_Price>decimal</Unit_Price>
            <Discount>decimal</Discount>
            <Extension>decimal</Extension>
            <Customer_ID>string</Customer_ID>
          </SalesOrderDetail>
          <SalesOrderDetail>
            <Product_Seq_Id>int</Product_Seq_Id>
            <Order_Quantity>int</Order_Quantity>
            <Ship_Quantity>int</Ship_Quantity>
            <Unit_Price>decimal</Unit_Price>
            <Discount>decimal</Discount>
            <Extension>decimal</Extension>
            <Customer_ID>string</Customer_ID>
          </SalesOrderDetail>
        </SO_Detail>
        <Flag_All_Complete>string</Flag_All_Complete>
        <Ship_method_Seq_Id>int</Ship_method_Seq_Id>
        <Store_Name>string</Store_Name>
        <Store_Message>string</Store_Message>
        <Store_Street>string</Store_Street>
        <Store_City>string</Store_City>
        <Store_State>string</Store_State>
        <Store_ZIP>string</Store_ZIP>
        <Store_Country>string</Store_Country>
        <Intl_Tax_Number>string</Intl_Tax_Number>
        <Intl_Tax_Description>string</Intl_Tax_Description>
        <Intl_Tax_Amount>decimal</Intl_Tax_Amount>
        <Special_Instruction>string</Special_Instruction>
        <Date_Shipped>string</Date_Shipped>
      </GetShippedInvoiceDetailsResult>
    </GetShippedInvoiceDetailsResponse>
  </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>
    <GetShippedInvoiceDetails xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <Invoice_seq_Id>int</Invoice_seq_Id>
    </GetShippedInvoiceDetails>
  </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>
    <GetShippedInvoiceDetailsResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice">
      <GetShippedInvoiceDetailsResult>
        <Invoice_Seq_Id>int</Invoice_Seq_Id>
        <Bill_to_Seq_Id>int</Bill_to_Seq_Id>
        <Ship_to_Seq_Id>int</Ship_to_Seq_Id>
        <PO_Number>string</PO_Number>
        <Net>decimal</Net>
        <Flag_Rush_Order>string</Flag_Rush_Order>
        <Date_Ship_By>string</Date_Ship_By>
        <Shipping_Charge>decimal</Shipping_Charge>
        <SO_Detail>
          <SalesOrderDetail>
            <Product_Seq_Id>int</Product_Seq_Id>
            <Order_Quantity>int</Order_Quantity>
            <Ship_Quantity>int</Ship_Quantity>
            <Unit_Price>decimal</Unit_Price>
            <Discount>decimal</Discount>
            <Extension>decimal</Extension>
            <Customer_ID>string</Customer_ID>
          </SalesOrderDetail>
          <SalesOrderDetail>
            <Product_Seq_Id>int</Product_Seq_Id>
            <Order_Quantity>int</Order_Quantity>
            <Ship_Quantity>int</Ship_Quantity>
            <Unit_Price>decimal</Unit_Price>
            <Discount>decimal</Discount>
            <Extension>decimal</Extension>
            <Customer_ID>string</Customer_ID>
          </SalesOrderDetail>
        </SO_Detail>
        <Flag_All_Complete>string</Flag_All_Complete>
        <Ship_method_Seq_Id>int</Ship_method_Seq_Id>
        <Store_Name>string</Store_Name>
        <Store_Message>string</Store_Message>
        <Store_Street>string</Store_Street>
        <Store_City>string</Store_City>
        <Store_State>string</Store_State>
        <Store_ZIP>string</Store_ZIP>
        <Store_Country>string</Store_Country>
        <Intl_Tax_Number>string</Intl_Tax_Number>
        <Intl_Tax_Description>string</Intl_Tax_Description>
        <Intl_Tax_Amount>decimal</Intl_Tax_Amount>
        <Special_Instruction>string</Special_Instruction>
        <Date_Shipped>string</Date_Shipped>
      </GetShippedInvoiceDetailsResult>
    </GetShippedInvoiceDetailsResponse>
  </soap12:Body>
</soap12:Envelope>