Versions Compared

Key

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

Description

This method is used to get all the properties registered to a particular building.

...

  • It is mandatory to provide either the boligmappaNumber or buildingInput.
  • Building Iteration will soon be obsolete and it is not necessary to provide it. 

Request - input sample

...

<LookupPropertiesForBuilding>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <boligmappaNumber>KAF7974</boligmappaNumber>
    <buildingInput>
      <BuildingNumber>0</BuildingNumber>
      <Iteration>0</Iteration>
    </buildingInput>
    <applicationName>test</applicationName>
  </MethodParameters>
</LookupPropertiesForBuilding>


Response

TypeDescription
List<Property>List of properties in the building

 

Response - output sample

...


Exceptions

Error CodeDescription
123 An exception occurred while processing your request
138 applicationName length has exceeded the maximum character limit allowed (10)
146 The applicationName is not set
239

Invalid boligmappaNumber

255 

No input is provided for boligmappaNumber or buildingNumber. Provide an input for at least one of these fields

256 

Ambiguous input. Ensure the boligmappaNumber and the buildingNumber refer to the same building 

257 

Provided building does not exist in the system

...