POST 17.0/app/accounts/gettenancyforproperty

Description

Retrieves the tenancy ID for the specified property and contact.

URI Parameters

None.

The request containing the contact ID and property ID.

Name Description Type Additional information
ContactId

integer

None.

PropertyId

integer

None.

application/json, text/json

Sample:
{
  "contactId": 1,
  "propertyId": 2
}

application/xml, text/xml

Sample:
<TenancyPropertyRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactId>1</ContactId>
  <PropertyId>2</PropertyId>
</TenancyPropertyRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

The ID of the tenancy.

integer

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>