POST api/ConsumptionUnits/istaTenants

Get all apartments and tenant-names of object id

Request Information

URI Parameters

None.

Body Parameters

Collection(Apikey, PropertyNr)

Collection of Object

None.

Request Formats

application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

istaTenantsResponse

istaTenantsResponse
NameDescriptionTypeAdditional information
TenantsISTA

List of tenants

Collection of mCostTenantISTA

None.

ex

exception list

Collection of oErr

None.

Response Formats

application/json, text/json

Sample:
{
  "TenantsISTA": [
    {
      "n": "sample string 1",
      "s": "2024-09-20T01:10:09.0002776+02:00",
      "st": 2,
      "z": "sample string 3",
      "h": "sample string 4",
      "e": "2024-09-20T01:10:09.0002776+02:00",
      "k": "sample string 5"
    },
    {
      "n": "sample string 1",
      "s": "2024-09-20T01:10:09.0002776+02:00",
      "st": 2,
      "z": "sample string 3",
      "h": "sample string 4",
      "e": "2024-09-20T01:10:09.0002776+02:00",
      "k": "sample string 5"
    }
  ],
  "ex": [
    {
      "n": 1,
      "t": "sample string 2"
    },
    {
      "n": 1,
      "t": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<istaTenantsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ista.web.api.models">
  <_ex>
    <oErr>
      <errNmbr>1</errNmbr>
      <errText>sample string 2</errText>
    </oErr>
    <oErr>
      <errNmbr>1</errNmbr>
      <errText>sample string 2</errText>
    </oErr>
  </_ex>
  <TenantsISTA>
    <mCostTenantISTA>
      <debtorkey>sample string 5</debtorkey>
      <enddate>2024-09-20T01:10:09.0002776+02:00</enddate>
      <homenumber>sample string 4</homenumber>
      <zipcode>sample string 3</zipcode>
      <startdate>2024-09-20T01:10:09.0002776+02:00</startdate>
      <status>2</status>
      <tenantname>sample string 1</tenantname>
    </mCostTenantISTA>
    <mCostTenantISTA>
      <debtorkey>sample string 5</debtorkey>
      <enddate>2024-09-20T01:10:09.0002776+02:00</enddate>
      <homenumber>sample string 4</homenumber>
      <zipcode>sample string 3</zipcode>
      <startdate>2024-09-20T01:10:09.0002776+02:00</startdate>
      <status>2</status>
      <tenantname>sample string 1</tenantname>
    </mCostTenantISTA>
  </TenantsISTA>
</istaTenantsResponse>