Description
...
Parameter | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
input | Mandatory | Not relevant | Model that contains details of the user being edited | |
applicationName | string | Mandatory | Should be less than or equal to 10 characters | The name of the integration partner |
Request - sample input
<EditUser>
<MethodParameters>
<UserAuthentication>
<UserName>username</UserName>
<Password>password</Password>
<AnyAttr attr0="XmlAttributeArray" isNull="false">
<XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
</AnyAttr>
</UserAuthentication>
<input>
<UserName>charlizeT</UserName>
<FirstName>Charlize</FirstName>
<LastName>Theron</LastName>
<Email>sandrinaa@99xcharlize@boligmappa.lkno</Email>
<IsActive>False</IsActive>
<TelephoneNumber isNull="false" />
<UserRole>1</UserRole>
<Profession>1</Profession>
<Specializations>1</Specializations>
<IsAuthorizedtoUseFinnit>False</IsAuthorizedtoUseFinnit>
</input>
<applicationName>test</applicationName>
</MethodParameters>
</EditUser>
Response
Type | Description |
---|---|
The Boolean value indicates the edit is successful |
Response - sample output
<EditUser>
<MethodParameters>
<EditUserOutput>
<IsEditSuccessful>True</IsEditSuccessful>
</EditUserOutput>
</MethodParameters>
</EditUser>
Exceptions
Error Code | Description |
---|---|
113 | One or more mandatory fields have not been provided |
123 | An exception occurred while processing your request |
165 | The given profession is not registered to your company |
167 | You are not authorized to use this method |
260 | ContactPersonEmail is invalid |
363 | TelephoneNumber is invalid |
364 | User already exists |
365 | UserRole is invalid |
366 | The given UserName does not exist |
367 | FirstName/LastName length has exceeded the maximum character limit allowed (50) |
368 | UserName length has exceeded the maximum character limit allowed (50) |
369 | Email length has exceeded the maximum character limit allowed (50) |
370 | Specializations length has exceeded the maximum character limit allowed (250) |
371 | Given user does not exist in your company |
...