Description
This method is not in production yet. It will be available soon.
...
Parameter | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
input | GetTenantsInput | Mandatory | Not relevant | Get Tenants Input |
Request - input sample
<GetTenants>
<MethodParameters>
<UserAuthentication>
<UserName>username</UserName>
<Password>password</Password>
<AnyAttr attr0="XmlAttributeArray" isNull="false">
<XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
</AnyAttr>
</UserAuthentication>
<input>
<BuildingPlantId><BuildingId>7032</BuildingPlantId>BuildingId>
</input>
<applicationName>test</applicationName>
</MethodParameters>
</GetTenants>
Response
Type | Description |
---|---|
GetTenantsOutput | Tenants output |
Response - output sample
GetTenants><GetTenants>
<MethodParameters>
<GetTenantsOutput>
<Tenants attr0="TenantDetailsArray" isNull="false">
<TenantDetailsArray0>
<OrganizationNumber>964317828915469418</OrganizationNumber>
<CompanyName>MALERFIRMA TVILLINGENE MESTERALLIANSEN AS</CompanyName>
<TenantAddress attr0="StringArray" isNull="false">
<StringArray0>Dalssvingen 19B, 1285 OSLOHvamsvingen 11, 2013 Skjetten</StringArray0>
</TenantAddress>
<ConnectedBuildingId>70327594</ConnectedBuildingId>ConnectedBuildingId>
<TenantCompanyId>23215</TenantCompanyId>TenantCompanyId>
<CompanyOwners>BODIL HELLUM</CompanyOwners>
<ContactPersonName <CompanyOwners isNull="true" />
<ContactPersonName>Merete Nordli</ContactPersonName>
<ContactPersonPhone isNull="true" />
<ContactPersonEmail isNull="true" />
<Documentcount>1</Documentcount>
<ConnectedDate>13/12/0001 122018 11:0018:00 42 AM</ConnectedDate>
<UpdatedDate>13/12/0001 122018 11:0018:00 42 AM</UpdatedDate>
</TenantDetailsArray0>
<TenantDetailsArray1>
<OrganizationNumber>982025435 <Status>True</OrganizationNumber>Status>
<CompanyName>EGIL KORSMO AS<IsValidated>True</CompanyName>
<TenantAddress attr0="StringArray" isNull="false">
<StringArray0>Dalssvingen 19B, 1285 OSLO</StringArray0>
</TenantAddress>
<ConnectedBuildingId>7033</ConnectedBuildingId>
<TenantCompanyId>24</TenantCompanyId>
<CompanyOwners>EGIL KORSMO</CompanyOwners>
<ContactPersonName>Egil Korsmo</ContactPersonName>
<ContactPersonPhone isNull="true" />
<ContactPersonEmail isNull="true" />
IsValidated>
<Documentcount>0</Documentcount>
<ConnectedDate>1/1/0001 12:00:00 AM</ConnectedDate>
<UpdatedDate>1/1/0001 12:00:00 AM</UpdatedDate>
</TenantDetailsArray1>TenantDetailsArray0>
</Tenants>
</GetTenantsOutput>
</MethodParameters>
</GetTenants>
Exceptions
Error Code | Description |
---|---|
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 |
398 | Either the building does not exist or a building plant has not been created for it |
...