GET residentapi/units/{unitId}/pendingpackages?sort={sort}&page={page}&pageSize={pageSize}
Gets pending packages for a unit
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitId |
(Required) |
integer |
Required |
| sort |
(Optional) Can sort by the following string fields: 'datedelivered', 'sender', 'type', 'location', 'courier' |
string | |
| 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
ListWrapperOfPackage| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of Package |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"dateDelivered": "2025-12-24T09:15:54.0346361-05:00",
"sender": "sample string 1",
"type": "sample string 2",
"location": "sample string 3",
"courier": "sample string 4",
"trackingNumber": "sample string 5",
"notes": "sample string 6"
},
{
"dateDelivered": "2025-12-24T09:15:54.0346361-05:00",
"sender": "sample string 1",
"type": "sample string 2",
"location": "sample string 3",
"courier": "sample string 4",
"trackingNumber": "sample string 5",
"notes": "sample string 6"
}
]
}