Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

...

Parameter

Type

Mandatory/Optional

Maximum character length/limit

Description

input

EditUserInput

Mandatory

Not relevant

Model that contains details of the user being edited

applicationNamestringMandatoryShould be less than or equal to 10 charactersThe 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

EditUserOutput

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

165The given profession is not registered to your company

167

You are not authorized to use this method

260ContactPersonEmail is invalid
363TelephoneNumber is invalid
364User already exists
365UserRole is invalid
366The given UserName does not exist
367FirstName/LastName length has exceeded the maximum character limit allowed (50) 
368UserName length has exceeded the maximum character limit allowed (50) 
369Email length has exceeded the maximum character limit allowed (50) 
370Specializations length has exceeded the maximum character limit allowed (250) 
371Given user does not exist in your company

...