GetProfessionalProfile
Description
This method is used to return details of the Boligmappa user for the given username. A special level of permission is required to access this method as it is only available for users with FinnitServer credentials.
Request
Parameter | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
input | GetProfessionalProfileInput | Mandatory | Not relevant | Model containing the BoligmappaUserName |
applicationName | string | Mandatory | Should be less than or equal to 10 characters | The name of the integration partner |
GetProfessionalProfileInput
Parameter | Type | Mandatory/Optional | Description |
---|---|---|---|
BoligmappaUserName | string | Mandatory | BoligmappaUserName of the professional whose profile details are retrieved |
Request - sample input
<GetProfessionalProfile>
<MethodParameters>
<UserAuthentication>
<UserName>username</UserName>
<Password>password</Password>
<AnyAttr attr0="XmlAttributeArray" isNull="false">
<XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
</AnyAttr>
</UserAuthentication>
<input>
<BoligmappaUserName>sameera</BoligmappaUserName>
</input>
<applicationName>test</applicationName>
</MethodParameters>
</GetProfessionalProfile>
Response
Type | Description |
---|---|
GetProfessionalProfileOutput | This contains a user details object |
GetProfessionalProfileOutput
Type | Description |
---|---|
Details of the user |
Request - sample output
<GetProfessionalProfile>
<MethodParameters>
<GetProfessionalProfileOutput>
<User>
<UserId>44</UserId>
<BoligmappaUserName>Sameera</BoligmappaUserName>
<FirstName>Peter</FirstName>
<LastName>balck</LastName>
<TelephoneNumber>22322333</TelephoneNumber>
<Email>harshaiw@99x.lk</Email>
<ProfileImage>http://172.20.1.183:8080/Document/DownloadUserProfileImageWebService?sessionKey=lZR7MWi7YonlDpPJRK0XaLfzy8ReszGZ1BQtz1G44LkYBOPINnuIknSMwma64%2bsB</ProfileImage>
<ProfileDescription>user description 45</ProfileDescription>
<ProfessionId>-1</ProfessionId>
<UserRoles attr0="StringArray" isNull="false">
<StringArray0>PortalAdmin</StringArray0>
<StringArray1>Auditor</StringArray1>
<StringArray2>RealEstateAgent</StringArray2>
<StringArray3>Ambita</StringArray3>
</UserRoles>
<CompanyId>197</CompanyId>
<CompanyName>VEGA 1 AS</CompanyName>
<Specialization>dsfsd</Specialization>
<IsAuthorizedToFinnIt>True</IsAuthorizedToFinnIt>
</User>
</GetProfessionalProfileOutput>
</MethodParameters>
</GetProfessionalProfile>
Exceptions
Error Code | Description |
---|---|
110 | Input parameters contain null or invalid data |
123 | An exception occured while processing your request |
366 | The given BoligmappaUserName does not exist |