Avatar · SOAP Services
Perishable Logistics AI Agent
0.01% Better each day

Purchase Orders

← Back to Purchase Orders  |  Service Description (WSDL)

saveExpectedStringXml

Same as saveExpected but every field is a string: strXmlExpected carries the purchase order data as an XML string, strImporterCode the importer code and strToken the bearer token.

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 /purchase_orders/purchase_orders.asmx HTTP/1.1
Host: clientsws.avatarflower.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "saveExpectedStringXml"

<?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>
    <saveExpectedStringXml xmlns="http://tempuri.org/">
      <strXmlExpected>string</strXmlExpected>
      <strImporterCode>string</strImporterCode>
      <strToken>string</strToken>
    </saveExpectedStringXml>
  </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>
    <saveExpectedStringXmlResponse xmlns="http://tempuri.org/">
      <saveExpectedStringXmlResult>string</saveExpectedStringXmlResult>
    </saveExpectedStringXmlResponse>
  </soap:Body>
</soap:Envelope>