POST residentapi/workorders/{workorderId}/workorderphotos
Insert work order photo
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workorderId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkorderPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| PhotoId |
Photo Id. |
integer |
None. |
| WorkorderId |
Work Order Id. |
integer |
None. |
| Name |
Name. Name of the file |
string |
None. |
| Caption |
Caption. |
string |
None. |
| FileUrl |
File Url. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"photoId": 1,
"workorderId": 2,
"name": "sample string 3",
"caption": "sample string 4",
"fileUrl": "sample string 5"
}