Versions Compared

Key

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

Description

...

ParameterTypeMandatory/OptionalMaximum character length/limitDescription
inputGetTenantsInputMandatoryNot relevantGet 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>
      <BuildingId>7032</BuildingId>
    </input>
    <applicationName>test</applicationName>
  </MethodParameters>
</GetTenants>

Response

TypeDescription
GetTenantsOutputTenants output


Response - output sample

<GetTenants>
  <MethodParameters>
    <GetTenantsOutput>
      <Tenants attr0="TenantDetailsArray" isNull="false">
        <TenantDetailsArray0>
          <OrganizationNumber>915469418            <OrganizationNumber>957604374</OrganizationNumber>
          <CompanyName>MESTERALLIANSEN LARS LINDVIK AS</CompanyName>
          <TenantId>182</TenantId>
          <TenantAddress attr0="StringArray" isNull="false">
            <StringArray0>Hvamsvingen 11, 2013 SkjettenMåmyrstien 9, 4018 STAVANGER</StringArray0>
          </TenantAddress>
          <ConnectedBuildingId>75947654</ConnectedBuildingId>
          <ConnectedBuildingNumber>4289943</ConnectedBuildingNumber>
          <TenantCompanyId>215203</TenantCompanyId>
          <CompanyOwners isNull="true" /><CompanyOwners>JARLE WILLY LINDVIK</CompanyOwners>
          <ContactPersonName>Merete NordliJarle Willy Lindvik</ContactPersonName>
          <ContactPersonPhone isNull="true" />
          <ContactPersonEmail isNull="true" />
          <ConnectedDate>32/228/2018 1112:1814:42 AM11 PM</ConnectedDate>
          <UpdatedDate>32/228/2018 1112:1814:42 AM11 PM</UpdatedDate>
          <Status>True</Status>
          <IsValidated>TrueFalse</IsValidated>
          <Documentcount><DocumentCount>0</Documentcount>DocumentCount>

        </TenantDetailsArray0>
      </Tenants>
    </GetTenantsOutput>
  </MethodParameters>
</GetTenants>

Exceptions

Error CodeDescription

123

An exception occurred while processing your request

138applicationName length has exceeded the maximum character limit allowed (10) 
146The applicationName is not set
398Either the building does not exist or a building plant has not been created for it

...