GET residentapi/workorders/{workorderId}/workorderphotos?page={page}&pageSize={pageSize}
Get work order photos by the work order Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workorderId |
(Required) |
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
ListWrapperOfWorkorderPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | integer |
None. |
|
| Elements | Collection of WorkorderPhoto |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"elements": [
{
"photoId": 1,
"workorderId": 2,
"name": "sample string 3",
"caption": "sample string 4",
"fileUrl": "sample string 5"
},
{
"photoId": 1,
"workorderId": 2,
"name": "sample string 3",
"caption": "sample string 4",
"fileUrl": "sample string 5"
}
]
}