deleteCustomer
This method allows deleting:
- Data of a customer associated with an item.
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\item\DeleteCustomerRequestType.java |
| Return | web\wwwroot\ws\java\item\DeleteCustomerResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDOBJECT | X | Object ID # |
| IDCOMMERCIAL | X¹ | Company ID |
| NMCOMPANY | X¹ | Company name |
| IDCOMPANY | X² | Company code |
info
- X¹ - Required if the “Company code” is not filled out.
- X² - Required if the “Company ID” and/or the “Company name” fields are not filled out.
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteCustomer>
<!--You may enter the following 4 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:NMCOMPANY>?</urn:NMCOMPANY>
<urn:IDCOMPANY>?</urn:IDCOMPANY>
</urn:deleteCustomer>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |