Skip to main content
Version: 2.2.2

deleteCompany

This method allows deleting companies. To delete each of these items, the standard documented below must be followed.

Java class
Requestweb\wwwroot\ws\java\admin\DeleteCompanyRequestType.java
Returnweb\wwwroot\ws\java\admin\DeleteCompanyResponseType.java

Request:

ID #RequiredDescription
IDCOMMERCIALXCompany ID
NMCOMPANYXCompany name

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteCompany>
<!--You may enter the following 2 items in any order-->
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:NMCOMPANY>?</urn:NMCOMPANY>
</urn:deleteCompany>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: a company is deleted;
FAILURE: message regarding the error that occurred.