WebStoreService
Click here for a complete list of operations.
UploadInvoice
Allows uploading of an invoice to the server using an invoice entity
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 /service/WebStoreConsumerService.asmx HTTP/1.1 Host: deco-plateservices.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.deco-plateservices.com/service/UploadInvoice" <?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> <UploadInvoice xmlns="http://www.deco-plateservices.com/service/"> <invoice> <Customer> <Pk>int</Pk> <Storepk>int</Storepk> <Userid>string</Userid> <Lastname>string</Lastname> <Firstname>string</Firstname> <Company>string</Company> <Address>string</Address> <City>string</City> <State>string</State> <Zip>string</Zip> <Zip4>string</Zip4> <Country>string</Country> <Countryid>string</Countryid> <Phone>string</Phone> <Email>string</Email> <Fax>string</Fax> <Notes>string</Notes> <Entered>dateTime</Entered> <Updated>dateTime</Updated> <Lastorder>dateTime</Lastorder> <Referral>string</Referral> <Shipping>string</Shipping> <Password>string</Password> <Custtype>decimal</Custtype> <Source>string</Source> <Downloaded>boolean</Downloaded> <Xml>string</Xml> <Timestamp_Column>base64Binary</Timestamp_Column> </Customer> <LineItems> <wws_lineitemsRow> <Pk>int</Pk> <Storepk>int</Storepk> <Invpk>int</Invpk> <Custpk>int</Custpk> <Itempk>int</Itempk> <Itemupsellpk>int</Itemupsellpk> <Sku>string</Sku> <Descript>string</Descript> <Extratext>string</Extratext> <Qty>decimal</Qty> <Price>decimal</Price> <Itemtotal>decimal</Itemtotal> <Discount>decimal</Discount> <Taxrate>decimal</Taxrate> <Weight>decimal</Weight> <Type>string</Type> <Regauto>boolean</Regauto> <Parentsku>string</Parentsku> <Initials>string</Initials> <Imagename>string</Imagename> <Image>base64Binary</Image> <Imageext>string</Imageext> <Xml>string</Xml> <Itemtype>int</Itemtype> <Timestamp_Column>base64Binary</Timestamp_Column> </wws_lineitemsRow> <wws_lineitemsRow> <Pk>int</Pk> <Storepk>int</Storepk> <Invpk>int</Invpk> <Custpk>int</Custpk> <Itempk>int</Itempk> <Itemupsellpk>int</Itemupsellpk> <Sku>string</Sku> <Descript>string</Descript> <Extratext>string</Extratext> <Qty>decimal</Qty> <Price>decimal</Price> <Itemtotal>decimal</Itemtotal> <Discount>decimal</Discount> <Taxrate>decimal</Taxrate> <Weight>decimal</Weight> <Type>string</Type> <Regauto>boolean</Regauto> <Parentsku>string</Parentsku> <Initials>string</Initials> <Imagename>string</Imagename> <Image>base64Binary</Image> <Imageext>string</Imageext> <Xml>string</Xml> <Itemtype>int</Itemtype> <Timestamp_Column>base64Binary</Timestamp_Column> </wws_lineitemsRow> </LineItems> </invoice> <updateCustomerInfo>boolean</updateCustomerInfo> </UploadInvoice> </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> <UploadInvoiceResponse xmlns="http://www.deco-plateservices.com/service/"> <UploadInvoiceResult>string</UploadInvoiceResult> </UploadInvoiceResponse> </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 /service/WebStoreConsumerService.asmx HTTP/1.1 Host: deco-plateservices.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> <UploadInvoice xmlns="http://www.deco-plateservices.com/service/"> <invoice> <Customer> <Pk>int</Pk> <Storepk>int</Storepk> <Userid>string</Userid> <Lastname>string</Lastname> <Firstname>string</Firstname> <Company>string</Company> <Address>string</Address> <City>string</City> <State>string</State> <Zip>string</Zip> <Zip4>string</Zip4> <Country>string</Country> <Countryid>string</Countryid> <Phone>string</Phone> <Email>string</Email> <Fax>string</Fax> <Notes>string</Notes> <Entered>dateTime</Entered> <Updated>dateTime</Updated> <Lastorder>dateTime</Lastorder> <Referral>string</Referral> <Shipping>string</Shipping> <Password>string</Password> <Custtype>decimal</Custtype> <Source>string</Source> <Downloaded>boolean</Downloaded> <Xml>string</Xml> <Timestamp_Column>base64Binary</Timestamp_Column> </Customer> <LineItems> <wws_lineitemsRow> <Pk>int</Pk> <Storepk>int</Storepk> <Invpk>int</Invpk> <Custpk>int</Custpk> <Itempk>int</Itempk> <Itemupsellpk>int</Itemupsellpk> <Sku>string</Sku> <Descript>string</Descript> <Extratext>string</Extratext> <Qty>decimal</Qty> <Price>decimal</Price> <Itemtotal>decimal</Itemtotal> <Discount>decimal</Discount> <Taxrate>decimal</Taxrate> <Weight>decimal</Weight> <Type>string</Type> <Regauto>boolean</Regauto> <Parentsku>string</Parentsku> <Initials>string</Initials> <Imagename>string</Imagename> <Image>base64Binary</Image> <Imageext>string</Imageext> <Xml>string</Xml> <Itemtype>int</Itemtype> <Timestamp_Column>base64Binary</Timestamp_Column> </wws_lineitemsRow> <wws_lineitemsRow> <Pk>int</Pk> <Storepk>int</Storepk> <Invpk>int</Invpk> <Custpk>int</Custpk> <Itempk>int</Itempk> <Itemupsellpk>int</Itemupsellpk> <Sku>string</Sku> <Descript>string</Descript> <Extratext>string</Extratext> <Qty>decimal</Qty> <Price>decimal</Price> <Itemtotal>decimal</Itemtotal> <Discount>decimal</Discount> <Taxrate>decimal</Taxrate> <Weight>decimal</Weight> <Type>string</Type> <Regauto>boolean</Regauto> <Parentsku>string</Parentsku> <Initials>string</Initials> <Imagename>string</Imagename> <Image>base64Binary</Image> <Imageext>string</Imageext> <Xml>string</Xml> <Itemtype>int</Itemtype> <Timestamp_Column>base64Binary</Timestamp_Column> </wws_lineitemsRow> </LineItems> </invoice> <updateCustomerInfo>boolean</updateCustomerInfo> </UploadInvoice> </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> <UploadInvoiceResponse xmlns="http://www.deco-plateservices.com/service/"> <UploadInvoiceResult>string</UploadInvoiceResult> </UploadInvoiceResponse> </soap12:Body> </soap12:Envelope>