newExternalUser
This method allows importing external users.
Java class | |
---|---|
Request | web/wwwroot/ws/java/administration/importUserRequestType.java |
Return | web/wwwroot/ws/java/administration/importUserResponseType.java |
Request:
ID | Required | Description |
---|---|---|
NAME | X | User's name. |
PASSWORD | X | User's password. |
X | User's e-mail address. | |
NMID | X | License ID #. |
LANGUAGE | X | Enter the user's language code, in accordance with the "Database Encoding" column of the Localization section, in the System Requirements document. |
TELEPHONE | X | User's phone #. |
COMPANY | ID # of the user's company. | |
POSITION | Name of the user's position. | |
DEPARTMENT | Name of the user's department. | |
NRCONCURRENTLOGINS | Maximum number of the user's simultaneous connections. | |
OBSERVATION | Comments. | |
CELLPHONE | User's mobile phone #. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:newExternalUser>
<!--You may enter the following 11 items in any order-->
<urn:NAME>?</urn:NAME>
<urn:PASSWORD>?</urn:PASSWORD>
<urn:EMAIL>?</urn:EMAIL>
<urn:NMID>?</urn:NMID>
<urn:LANGUAGE>?</urn:LANGUAGE>
<urn:TELEPHONE>?</urn:TELEPHONE>
<!--Optional:-->
<urn:COMPANY>?</urn:COMPANY>
<urn:POSITION>?</urn:POSITION>
<urn:DEPARTMENT>?</urn:DEPARTMENT>
<urn:NRCONCURRENTLOGINS>?</urn:NRCONCURRENTLOGINS>
<urn:OBSERVATION>?</urn:OBSERVATION>
<urn:CELLPHONE>?</urn:CELLPHONE>
</urn:newExternalUser>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID | Description |
---|---|
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Record successfully added. FAILURE: message regarding the error that occurred. |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: ▪ -1 - Unexpected error. ▪ 2 - Invalid license key. ▪ 3 - The maximum size for this field is 50. ▪ 4 - E-mail already registered or associated. ▪ 5 - Null user login. ▪ 6 - Null user ID. ▪ 7 - Null user name. ▪ 8 - Null password. ▪ 9 - Null or inexistent language. ▪ 30 - Max. number of connections. |