GET residentapi/units/{unitId}/pets
Get all pets for a unit
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListWrapperOfPet| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of Pet |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"petId": 1,
"propertyId": 2,
"unitId": 3,
"residentId": 4,
"occupantName": "sample string 5",
"unit": "sample string 6",
"name": "sample string 7",
"description": "sample string 8",
"vaccinationDate": "2025-12-24T09:16:31.5906973-05:00"
},
{
"petId": 1,
"propertyId": 2,
"unitId": 3,
"residentId": 4,
"occupantName": "sample string 5",
"unit": "sample string 6",
"name": "sample string 7",
"description": "sample string 8",
"vaccinationDate": "2025-12-24T09:16:31.5906973-05:00"
}
]
}