Skip to main content
Version: 2.2.2

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
Requestweb\wwwroot\ws\java\admin\AddCompContactRequestType.java
Returnweb\wwwroot\ws\java\admin\AddCompContactResponseType.java

Request:

ID #RequiredDescription
IDCOMMERCIALXCompany ID.
NMCONTACTXContact name.
NMDEPARTMENTDepartment.
NMPOSITIONPosition.
IDPHONEPhone #.
IDFAXFax #.
NMEMAILE-mail.
DSCONTACTDescription.
FGDEFAULTUse 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
returnSUCCESS: company contact is created.
FAILURE: message regarding the error that occurred.