WebStoreService
Click here for a complete list of operations.
UploadInvoiceLight2
Upload an invoice with smaller invoice object, XML variables, and image as URL to be downloaded.
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/UploadInvoiceLight2" <?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> <UploadInvoiceLight2 xmlns="http://www.deco-plateservices.com/service/"> <il> <Customer> <Pk>int</Pk> <Lastname>string</Lastname> <Firstname>string</Firstname> <Company>string</Company> <Address>string</Address> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Countryid>string</Countryid> <Phone>string</Phone> <Email>string</Email> </Customer> <Shipping> <Notes>string</Notes> <Shipname>string</Shipname> <Shipcompany>string</Shipcompany> <Shipaddress>string</Shipaddress> <Shipcity>string</Shipcity> <Shipstate>string</Shipstate> <Shipzip>string</Shipzip> <Shipcountry>string</Shipcountry> <Shipperaccount>string</Shipperaccount> <Shippername>string</Shippername> <Shipperzip>string</Shipperzip> <Ponumber>string</Ponumber> <Cctype>string</Cctype> </Shipping> <LineItems> <InvoiceLightLines2> <Sku>string</Sku> <Qty>decimal</Qty> <ImageName>string</ImageName> <Imageext>string</Imageext> <XML>string</XML> </InvoiceLightLines2> <InvoiceLightLines2> <Sku>string</Sku> <Qty>decimal</Qty> <ImageName>string</ImageName> <Imageext>string</Imageext> <XML>string</XML> </InvoiceLightLines2> </LineItems> </il> </UploadInvoiceLight2> </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> <UploadInvoiceLight2Response xmlns="http://www.deco-plateservices.com/service/"> <UploadInvoiceLight2Result> <InvNo>string</InvNo> <Ponumber>string</Ponumber> </UploadInvoiceLight2Result> </UploadInvoiceLight2Response> </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> <UploadInvoiceLight2 xmlns="http://www.deco-plateservices.com/service/"> <il> <Customer> <Pk>int</Pk> <Lastname>string</Lastname> <Firstname>string</Firstname> <Company>string</Company> <Address>string</Address> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Countryid>string</Countryid> <Phone>string</Phone> <Email>string</Email> </Customer> <Shipping> <Notes>string</Notes> <Shipname>string</Shipname> <Shipcompany>string</Shipcompany> <Shipaddress>string</Shipaddress> <Shipcity>string</Shipcity> <Shipstate>string</Shipstate> <Shipzip>string</Shipzip> <Shipcountry>string</Shipcountry> <Shipperaccount>string</Shipperaccount> <Shippername>string</Shippername> <Shipperzip>string</Shipperzip> <Ponumber>string</Ponumber> <Cctype>string</Cctype> </Shipping> <LineItems> <InvoiceLightLines2> <Sku>string</Sku> <Qty>decimal</Qty> <ImageName>string</ImageName> <Imageext>string</Imageext> <XML>string</XML> </InvoiceLightLines2> <InvoiceLightLines2> <Sku>string</Sku> <Qty>decimal</Qty> <ImageName>string</ImageName> <Imageext>string</Imageext> <XML>string</XML> </InvoiceLightLines2> </LineItems> </il> </UploadInvoiceLight2> </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> <UploadInvoiceLight2Response xmlns="http://www.deco-plateservices.com/service/"> <UploadInvoiceLight2Result> <InvNo>string</InvNo> <Ponumber>string</Ponumber> </UploadInvoiceLight2Result> </UploadInvoiceLight2Response> </soap12:Body> </soap12:Envelope>