WebStoreService


Click here for a complete list of operations.

UploadInvoiceLight

Upload an invoice with smaller invoice object.

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

<?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>
    <UploadInvoiceLight 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>
          <InvoiceLightLines>
            <Sku>string</Sku>
            <Qty>decimal</Qty>
            <Imageext>string</Imageext>
            <Image>base64Binary</Image>
          </InvoiceLightLines>
          <InvoiceLightLines>
            <Sku>string</Sku>
            <Qty>decimal</Qty>
            <Imageext>string</Imageext>
            <Image>base64Binary</Image>
          </InvoiceLightLines>
        </LineItems>
      </il>
    </UploadInvoiceLight>
  </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>
    <UploadInvoiceLightResponse xmlns="http://www.deco-plateservices.com/service/">
      <UploadInvoiceLightResult>string</UploadInvoiceLightResult>
    </UploadInvoiceLightResponse>
  </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>
    <UploadInvoiceLight 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>
          <InvoiceLightLines>
            <Sku>string</Sku>
            <Qty>decimal</Qty>
            <Imageext>string</Imageext>
            <Image>base64Binary</Image>
          </InvoiceLightLines>
          <InvoiceLightLines>
            <Sku>string</Sku>
            <Qty>decimal</Qty>
            <Imageext>string</Imageext>
            <Image>base64Binary</Image>
          </InvoiceLightLines>
        </LineItems>
      </il>
    </UploadInvoiceLight>
  </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>
    <UploadInvoiceLightResponse xmlns="http://www.deco-plateservices.com/service/">
      <UploadInvoiceLightResult>string</UploadInvoiceLightResult>
    </UploadInvoiceLightResponse>
  </soap12:Body>
</soap12:Envelope>