Users Service
Click here for a complete list of operations.
ModifyUser
Modifies an existing user.
User | Container element for the user to be inserted. |
---|---|
Id | Unused, leave empty. |
Username | The unique user name. |
Firstname | First name. |
Middlename | Middle name. |
Lastname | Last name. |
Password | Password. |
EMail address. | |
Lang | User predefined language and culture code (example: "en-US"). |
Organization | Free string that defines user organization. |
ExternalId | Free string that can contains an external user identifier. |
Gender |
The gender of the user.
|
Birthday | Birthday. |
Street | Address street name. |
Locality | Address locality name. |
Region | Address region name. |
Country | Address country name. |
PCode | Address postal code. |
PhoneNumber | User phone number. |
Qualification | Free string for user qualification. |
Status | Status of the user: true if the user is enabled for login, false otherwise. |
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /UsersService.asmx HTTP/1.1 Host: cen-ws.cned.fr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.giuntilabs.com/eLex/WS/Users/ModifyUser" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ModifyUserRequest xmlns="http://www.giuntilabs.com/eLex/WS/Types"> <User Id="string"> <Username>string</Username> <Firstname>string</Firstname> <Middlename>string</Middlename> <Lastname>string</Lastname> <Password>string</Password> <EMail>string</EMail> <Lang>string</Lang> <Organization>string</Organization> <ExternalId>string</ExternalId> <Gender>bytes</Gender> <Birthday>date</Birthday> <Street>string</Street> <Locality>string</Locality> <Region>string</Region> <Country>string</Country> <PCode>string</PCode> <PhoneNumber>string</PhoneNumber> <Qualification>string</Qualification> <Status>boolean</Status> </User> </ModifyUserRequest> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ModifyUserResponse xmlns="http://www.giuntilabs.com/eLex/WS/Types" /> </soap:Body> </soap:Envelope>