Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Function The DeleteCustomer function is used to delete a customer for from LAC.

This function requires a customer ID, which can be obtained using GetCustomerList, and a LAC administrator token, using a customer IDwhich is obtained using the Login function.

Return values

On failure, the result string contains an error message. See Return Codes for further information on error messages.

Example request:

No Format
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://www.lac2.pl:8080/soap/type/vendor/version/1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:DeleteCustomer soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">e84b130bcd3fdf26644064098acdf9f3e5a3bfaa</token>
         <id xsi:type="xsd:int">1</id>
      </ns:DeleteCustomer>
   </soapenv:Body>
</soapenv:Envelope>

...