GET residentapi/units/{unitId}/vehicles?page={page}&pageSize={pageSize}
Get all UnitsVehicle
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitId | integer |
Required |
|
| page |
(Optional)The page number of returned records based on the page size |
integer |
0 |
| pageSize |
(Optional)The number of records to return per page |
integer |
0 |
Body Parameters
None.
Response Information
Resource Description
ListWrapperOfVehicle| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of Vehicle |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"vehicleId": 1,
"propertyId": 2,
"unitId": 3,
"make": "sample string 4",
"model": "sample string 5",
"type": "sample string 6",
"year": "sample string 7",
"color": "sample string 8",
"tagNumber": "sample string 9",
"insuranceCompany": "sample string 10",
"insurancePolicyNumber": "sample string 11",
"registrationState": "sample string 12",
"spaceNumber": "sample string 13",
"decalNumber": "sample string 14",
"typeId": 1,
"unit": "sample string 15"
},
{
"vehicleId": 1,
"propertyId": 2,
"unitId": 3,
"make": "sample string 4",
"model": "sample string 5",
"type": "sample string 6",
"year": "sample string 7",
"color": "sample string 8",
"tagNumber": "sample string 9",
"insuranceCompany": "sample string 10",
"insurancePolicyNumber": "sample string 11",
"registrationState": "sample string 12",
"spaceNumber": "sample string 13",
"decalNumber": "sample string 14",
"typeId": 1,
"unit": "sample string 15"
}
]
}