AnchorWebService
Click here for a complete list of operations.
SubmitOrderWithImprint
Return Boolean and Error(if applicable), given SalesOrderImprint Structure and a String as input.
Return TRUE if successful.
Note: 4Th party Store Information(Name, Street, Address, etc) MUST be submitted
Support Imprinting information as well
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/SubmitOrderWithImprint" <?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> <SubmitOrderWithImprint xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice"> <SOI> <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> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> </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> </SOI> <sErrorCode>string</sErrorCode> </SubmitOrderWithImprint> </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> <SubmitOrderWithImprintResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice"> <SubmitOrderWithImprintResult>boolean</SubmitOrderWithImprintResult> <SOI> <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> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> </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> </SOI> <sErrorCode>string</sErrorCode> </SubmitOrderWithImprintResponse> </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> <SubmitOrderWithImprint xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice"> <SOI> <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> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> </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> </SOI> <sErrorCode>string</sErrorCode> </SubmitOrderWithImprint> </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> <SubmitOrderWithImprintResponse xmlns="http://tempuri.org/AnchorWebservice/AnchorWebservice"> <SubmitOrderWithImprintResult>boolean</SubmitOrderWithImprintResult> <SOI> <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> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> <SalesOrderDetailImprint> <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> <imprint_font_style_id>int</imprint_font_style_id> <imprint_text_line1>string</imprint_text_line1> <imprint_text_line2>string</imprint_text_line2> <indexing_color_id>int</indexing_color_id> </SalesOrderDetailImprint> </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> </SOI> <sErrorCode>string</sErrorCode> </SubmitOrderWithImprintResponse> </soap12:Body> </soap12:Envelope>