addCompContact
This method allows adding/editing:
- Data of company contacts;
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\AddCompContactRequestType.java |
Return | web\wwwroot\ws\java\admin\AddCompContactResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDCOMMERCIAL | X | Company ID. |
NMCONTACT | X | Contact name. |
NMDEPARTMENT | Department. | |
NMPOSITION | Position. | |
IDPHONE | Phone #. | |
IDFAX | Fax #. | |
NMEMAIL | E-mail. | |
DSCONTACT | Description. | |
FGDEFAULT | Use as default: [1 - Yes, 2 - No]. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:addCompContact>
<!--You may enter the following 9 items in any order-->
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:NMCONTACT>?</urn:NMCONTACT>
<urn:NMDEPARTMENT>?</urn:NMDEPARTMENT>
<urn:NMPOSITION>?</urn:NMPOSITION>
<urn:IDPHONE>?</urn:IDPHONE>
<urn:IDFAX>?</urn:IDFAX>
<urn:NMEMAIL>?</urn:NMEMAIL>
<urn:DSCONTACT>?</urn:DSCONTACT>
<urn:FGDEFAULT>?</urn:FGDEFAULT>
</urn:addCompContact>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: company contact is created. FAILURE: message regarding the error that occurred. |