PUT residentapi/workorders/{id}
Update Workorder
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
(Required) |
integer |
Required |
Body Parameters
WorkorderUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkOrderId |
Workorder Id. |
integer |
Required |
| UnitId |
Connect Unit Id. |
integer |
Required |
| CategoryId |
Category Id. |
integer |
Required |
| Description |
Description. |
string |
Required |
| Phone |
Work Order Phone. Either phone or email is required. |
string |
None. |
|
Work Order Email. Either phone or email is required. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"workOrderId": 1,
"unitId": 2,
"categoryId": 3,
"description": "sample string 4",
"phone": "sample string 5",
"email": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.