GET api/UnoccupiedUnits?PropertyId={PropertyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PropertyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Unit
NameDescriptionTypeAdditional information
UnitId

integer

None.

UnitTypeId

integer

None.

PropertyId

integer

None.

LegacyElectricUnitId

integer

None.

LegacyWaterUnitId

integer

None.

CommonAcct

string

Max length: 1

Address1

string

Max length: 80

Address2

string

Max length: 80

City

string

Max length: 50

State

string

Max length: 2

ZIP

string

Max length: 10

DeveloperId

integer

None.

ElectricOwnerId

integer

None.

WaterOwnerId

integer

None.

PropertyManagerId

integer

None.

HeatingType

string

Max length: 50

SqFt

decimal number

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

UnitTypeDescription

string

None.

ElectricOwnerName

string

None.

WaterOwnerName

string

None.

PropertyName

string

None.

PropertyManagerName

string

None.

PropertyManagerPhone

string

None.

PropertyManagerEmail

string

None.

OccupantAccountId

integer

None.

OccupantType

integer

None.

OccupantAccountNum

integer

None.

OccupantName

string

None.

OccupantStatus

string

None.

OccupantBalance

decimal number

None.

OccupantPastDue

decimal number

None.

OccupantCurrent

decimal number

None.

OccupantAging_1_30

decimal number

None.

OccupantAging_31_60

decimal number

None.

OccupantAging_61_90

decimal number

None.

OccupantAging_91_120

decimal number

None.

OccupantAging_Over_120

decimal number

None.

OccupantPaymentPlan

string

None.

BeginDate

date

None.

EndDate

date

None.

UtilityId

integer

None.

bOccupied

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UnitId": 1,
    "UnitTypeId": 2,
    "PropertyId": 3,
    "LegacyElectricUnitId": 4,
    "LegacyWaterUnitId": 5,
    "CommonAcct": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "City": "sample string 9",
    "State": "sample string 10",
    "ZIP": "sample string 11",
    "DeveloperId": 1,
    "ElectricOwnerId": 1,
    "WaterOwnerId": 1,
    "PropertyManagerId": 1,
    "HeatingType": "sample string 12",
    "SqFt": 1.1,
    "DateCreated": "2024-03-28T01:49:08.1143984+00:00",
    "DateUpdated": "2024-03-28T01:49:08.1143984+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1,
    "UnitTypeDescription": "sample string 13",
    "ElectricOwnerName": "sample string 14",
    "WaterOwnerName": "sample string 15",
    "PropertyName": "sample string 16",
    "PropertyManagerName": "sample string 17",
    "PropertyManagerPhone": "sample string 18",
    "PropertyManagerEmail": "sample string 19",
    "OccupantAccountId": 1,
    "OccupantType": 1,
    "OccupantAccountNum": 1,
    "OccupantName": "sample string 20",
    "OccupantStatus": "sample string 21",
    "OccupantBalance": 22.0,
    "OccupantPastDue": 23.0,
    "OccupantCurrent": 24.0,
    "OccupantAging_1_30": 25.0,
    "OccupantAging_31_60": 26.0,
    "OccupantAging_61_90": 27.0,
    "OccupantAging_91_120": 28.0,
    "OccupantAging_Over_120": 29.0,
    "OccupantPaymentPlan": "sample string 30",
    "BeginDate": "2024-03-28T01:49:08.1143984+00:00",
    "EndDate": "2024-03-28T01:49:08.1143984+00:00",
    "UtilityId": 31,
    "bOccupied": true
  },
  {
    "UnitId": 1,
    "UnitTypeId": 2,
    "PropertyId": 3,
    "LegacyElectricUnitId": 4,
    "LegacyWaterUnitId": 5,
    "CommonAcct": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "City": "sample string 9",
    "State": "sample string 10",
    "ZIP": "sample string 11",
    "DeveloperId": 1,
    "ElectricOwnerId": 1,
    "WaterOwnerId": 1,
    "PropertyManagerId": 1,
    "HeatingType": "sample string 12",
    "SqFt": 1.1,
    "DateCreated": "2024-03-28T01:49:08.1143984+00:00",
    "DateUpdated": "2024-03-28T01:49:08.1143984+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1,
    "UnitTypeDescription": "sample string 13",
    "ElectricOwnerName": "sample string 14",
    "WaterOwnerName": "sample string 15",
    "PropertyName": "sample string 16",
    "PropertyManagerName": "sample string 17",
    "PropertyManagerPhone": "sample string 18",
    "PropertyManagerEmail": "sample string 19",
    "OccupantAccountId": 1,
    "OccupantType": 1,
    "OccupantAccountNum": 1,
    "OccupantName": "sample string 20",
    "OccupantStatus": "sample string 21",
    "OccupantBalance": 22.0,
    "OccupantPastDue": 23.0,
    "OccupantCurrent": 24.0,
    "OccupantAging_1_30": 25.0,
    "OccupantAging_31_60": 26.0,
    "OccupantAging_61_90": 27.0,
    "OccupantAging_91_120": 28.0,
    "OccupantAging_Over_120": 29.0,
    "OccupantPaymentPlan": "sample string 30",
    "BeginDate": "2024-03-28T01:49:08.1143984+00:00",
    "EndDate": "2024-03-28T01:49:08.1143984+00:00",
    "UtilityId": 31,
    "bOccupied": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Unit>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <BeginDate>2024-03-28T01:49:08.1143984+00:00</BeginDate>
    <City>sample string 9</City>
    <CommonAcct>sample string 6</CommonAcct>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2024-03-28T01:49:08.1143984+00:00</DateCreated>
    <DateUpdated>2024-03-28T01:49:08.1143984+00:00</DateUpdated>
    <DeveloperId>1</DeveloperId>
    <ElectricOwnerId>1</ElectricOwnerId>
    <ElectricOwnerName>sample string 14</ElectricOwnerName>
    <EndDate>2024-03-28T01:49:08.1143984+00:00</EndDate>
    <HeatingType>sample string 12</HeatingType>
    <LegacyElectricUnitId>4</LegacyElectricUnitId>
    <LegacyWaterUnitId>5</LegacyWaterUnitId>
    <OccupantAccountId>1</OccupantAccountId>
    <OccupantAccountNum>1</OccupantAccountNum>
    <OccupantAging_1_30>25</OccupantAging_1_30>
    <OccupantAging_31_60>26</OccupantAging_31_60>
    <OccupantAging_61_90>27</OccupantAging_61_90>
    <OccupantAging_91_120>28</OccupantAging_91_120>
    <OccupantAging_Over_120>29</OccupantAging_Over_120>
    <OccupantBalance>22</OccupantBalance>
    <OccupantCurrent>24</OccupantCurrent>
    <OccupantName>sample string 20</OccupantName>
    <OccupantPastDue>23</OccupantPastDue>
    <OccupantPaymentPlan>sample string 30</OccupantPaymentPlan>
    <OccupantStatus>sample string 21</OccupantStatus>
    <OccupantType>1</OccupantType>
    <PropertyId>3</PropertyId>
    <PropertyManagerEmail>sample string 19</PropertyManagerEmail>
    <PropertyManagerId>1</PropertyManagerId>
    <PropertyManagerName>sample string 17</PropertyManagerName>
    <PropertyManagerPhone>sample string 18</PropertyManagerPhone>
    <PropertyName>sample string 16</PropertyName>
    <SqFt>1.1</SqFt>
    <State>sample string 10</State>
    <UnitId>1</UnitId>
    <UnitTypeDescription>sample string 13</UnitTypeDescription>
    <UnitTypeId>2</UnitTypeId>
    <UpdatedBy>1</UpdatedBy>
    <UtilityId>31</UtilityId>
    <WaterOwnerId>1</WaterOwnerId>
    <WaterOwnerName>sample string 15</WaterOwnerName>
    <ZIP>sample string 11</ZIP>
    <bOccupied>true</bOccupied>
  </Unit>
  <Unit>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <BeginDate>2024-03-28T01:49:08.1143984+00:00</BeginDate>
    <City>sample string 9</City>
    <CommonAcct>sample string 6</CommonAcct>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2024-03-28T01:49:08.1143984+00:00</DateCreated>
    <DateUpdated>2024-03-28T01:49:08.1143984+00:00</DateUpdated>
    <DeveloperId>1</DeveloperId>
    <ElectricOwnerId>1</ElectricOwnerId>
    <ElectricOwnerName>sample string 14</ElectricOwnerName>
    <EndDate>2024-03-28T01:49:08.1143984+00:00</EndDate>
    <HeatingType>sample string 12</HeatingType>
    <LegacyElectricUnitId>4</LegacyElectricUnitId>
    <LegacyWaterUnitId>5</LegacyWaterUnitId>
    <OccupantAccountId>1</OccupantAccountId>
    <OccupantAccountNum>1</OccupantAccountNum>
    <OccupantAging_1_30>25</OccupantAging_1_30>
    <OccupantAging_31_60>26</OccupantAging_31_60>
    <OccupantAging_61_90>27</OccupantAging_61_90>
    <OccupantAging_91_120>28</OccupantAging_91_120>
    <OccupantAging_Over_120>29</OccupantAging_Over_120>
    <OccupantBalance>22</OccupantBalance>
    <OccupantCurrent>24</OccupantCurrent>
    <OccupantName>sample string 20</OccupantName>
    <OccupantPastDue>23</OccupantPastDue>
    <OccupantPaymentPlan>sample string 30</OccupantPaymentPlan>
    <OccupantStatus>sample string 21</OccupantStatus>
    <OccupantType>1</OccupantType>
    <PropertyId>3</PropertyId>
    <PropertyManagerEmail>sample string 19</PropertyManagerEmail>
    <PropertyManagerId>1</PropertyManagerId>
    <PropertyManagerName>sample string 17</PropertyManagerName>
    <PropertyManagerPhone>sample string 18</PropertyManagerPhone>
    <PropertyName>sample string 16</PropertyName>
    <SqFt>1.1</SqFt>
    <State>sample string 10</State>
    <UnitId>1</UnitId>
    <UnitTypeDescription>sample string 13</UnitTypeDescription>
    <UnitTypeId>2</UnitTypeId>
    <UpdatedBy>1</UpdatedBy>
    <UtilityId>31</UtilityId>
    <WaterOwnerId>1</WaterOwnerId>
    <WaterOwnerName>sample string 15</WaterOwnerName>
    <ZIP>sample string 11</ZIP>
    <bOccupied>true</bOccupied>
  </Unit>
</ArrayOfUnit>