GetMaintenanceTasksForProperty

Description

This method returns a list of maintenance tasks associated with a specific property. Note that this method will return all the task instances for the current year and previous years, and therefore multiple records with the same Task Id for each of the years will be returned. Also note that there may be scenarios where the Task Id gets repeated even if the task is currently a non-repeatable one. This will occur, if the task was set to repeatable some time in the past, but now it is set to non repeatable.

Request

ParameterTypeMandatory/OptionalComments
boligmappaNumberstringMandatoryA number generated by Boligmappa to uniquely identify properties registered in Boligmappa. (e.g. AAF1234)
applicationName stringMandatory Third party application identifier, identifying the client consuming the web service. (Length of the ApplicationName should be less than or equal to 10) 


Request - sample input

<GetMaintenanceTasksForProperty>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <boligmappaNumber>AAE7005</boligmappaNumber>
    <applicationName>test</applicationName>
  </MethodParameters>
</GetMaintenanceTasksForProperty>

Response

TypeDescription
List<MaintenanceTask>List of maintenance tasks


Response - sample output

  <GetMaintenanceTasksForProperty>
  <MethodParameters>
    <MaintenanceTaskArray>
      <MaintenanceTaskArray0>
        <Id>900</Id>
        <Description>test</Description>
        <Month>1</Month>
        <Year>1</Year>
        <IsRepeated>True</IsRepeated>
        <IsDone>False</IsDone>
      </MaintenanceTaskArray0>
      <MaintenanceTaskArray1>
        <Id>901</Id>
        <Description>test</Description>
        <Month>1</Month>
        <Year>1</Year>
        <IsRepeated>False</IsRepeated>
        <IsDone>False</IsDone>
      </MaintenanceTaskArray1>
      <MaintenanceTaskArray2>
        <Id>902</Id>
        <Description>Test</Description>
        <Month>1</Month>
        <Year>1</Year>
        <IsRepeated>True</IsRepeated>
        <IsDone>False</IsDone>
      </MaintenanceTaskArray2>
    </MaintenanceTaskArray>
  </MethodParameters>
</GetMaintenanceTasksForProperty>

Exceptions

Error CodeDescription
123

An exception occured while processing your request

138 

ApplicationName length is exceeded maximum allowed character limit (10) 

146 

The application name is not set 

167 

You are not authorized to use this web method 

176 

Boligmappa number is not provided

177 

No Plot Ids for the given Boligmappa number