Versions Compared

Key

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

Description

...

Description

This method is used to return a list of ApartmentTags added to a project. Users that belong to a company associated with the project can access all the Apartment TagsApartmentTags.

Request

Parameter
Type
Mandatory/Optional
Comments
Maximum character length/limit
Description
inputGetApartmentTagsForProjectInputMandatoryNot relevantGetApartmentTagsForProject input model
applicationNamestringMandatory
Third party application identifier, identifying the client consuming the web service – (Length of the ApplicationName should
Should be less than or equal to 10
)

...

charactersThe name of the integration partner


GetApartmentTagsForProjectInput

Parameter
Type
Mandatory/Optional
CommentsDescription
ProjectIdlongMandatory/OptionalThe project Id of the project
ProjectCodestringOptional/MandatoryProject code of the project E.g. ABC0001-A1 

Note :

Should provide at least one of these fields (project Id, project code)

ProjectId will be the first preference

 

Note 

It is mandatory to provide either the projectCode or the projectId. Preference is given to the projectId, if both the projectCode and the projectId are provided.

 

Request - sample input

<GetApartmentTagsForProject>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <input>
      <ProjectId>1207</ProjectId>
      <ProjectCode isNull="false" />
    </input>
    <applicationName>test</applicationName>
  </MethodParameters>
</GetApartmentTagsForProject>

Response

Type
Description
GetApartmentTagsForProjectOutputGetApartmentTagsForProjectOutput Modelmodel

 

GetApartmentTagsForProjectOutput

Parameter
Type
CommentsDescription
ApartmentTagsList<ApartmentTagsOutput>Apartment Tags ApartmentTags response model list


Request - sample output

<GetApartmentTagsForProject>
  <MethodParameters>
    <GetApartmentTagsForProjectOutput>
      <ApartmentTags attr0="ApartmentTagsOutputArray" isNull="false">
        <ApartmentTagsOutputArray0>
          <ApartmentTagId>113</ApartmentTagId>
          <ApartmentTagName>2</ApartmentTagName>
          <ApartmentTagStatus>1</ApartmentTagStatus>
        </ApartmentTagsOutputArray0>
        <ApartmentTagsOutputArray1>
          <ApartmentTagId>112</ApartmentTagId>
          <ApartmentTagName>Tag1</ApartmentTagName>
          <ApartmentTagStatus>1</ApartmentTagStatus>
        </ApartmentTagsOutputArray1>
      </ApartmentTags>
    </GetApartmentTagsForProjectOutput>
  </MethodParameters>
</GetApartmentTagsForProject>

Exceptions

Error Code
Description

110

Input parameters contain null or invalid data

123An exception occurred while processing your request
138 ApplicationName applicationName length is has exceeded the maximum allowed character limit allowed (10)
146The application name applicationName is not set
167You are not authorized to use this web method
227The project does not exist or the company is not connected to the given project
252 

No input is provided to project Id or project code. Need atleast one of them for projectId or projectCode. Provide the input for at least one of these fields

254 

Invalid project code projectCode 

273 Project Project does not exist