POST workorders
Create work order
Request Information
URI Parameters
None.
Body Parameters
WorkOrderRequestName | Description | Type | Additional information |
---|---|---|---|
UnitId |
Unique Id that identifies the unit |
integer |
Required |
ServicePreference |
Text that indicates permission to enter home |
string |
Required Max length: 75 |
Pets |
Indicates whether there's cat, dog or both at the unit |
string |
Max length: 50 |
IsAdult |
Is the requestor an adault? |
boolean |
Required |
PreferredContactNumber |
Contact number to call |
string |
Required Max length: 25 |
Issues |
List of issues reported by the resident |
Collection of WorkOrderRequestIssue |
Required |
Request Formats
application/json, text/json
Sample:
{ "UnitId": 1, "ServicePreference": "sample string 2", "Pets": "sample string 3", "IsAdult": true, "PreferredContactNumber": "sample string 5", "Issues": [ { "AssetIssueId": 1, "Comments": "sample string 2", "TypeOfIssue": "sample string 3", "Picture": "sample string 4" }, { "AssetIssueId": 1, "Comments": "sample string 2", "TypeOfIssue": "sample string 3", "Picture": "sample string 4" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.