POST api/Task
Request Information
URI Parameters
None.
Body Parameters
SubTaskRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SubTask | IncidentSubTask |
None. |
|
| Dispatch | RequestDispatch |
None. |
|
| AllowAssignmentNotification | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubTask": {
"SubTaskID": 1,
"IncidentID": 1,
"AssignedUserID": 1,
"SubTaskStartDate": null,
"SubTaskEndDate": null,
"SubTaskStep": 1,
"IsRequirePredecessorComplete": 1,
"IsSubTaskCompleted": 1,
"CompletedByUserID": 1,
"SubTaskDesc": "sample string 4",
"JOBID": 1,
"IsSubTaskScheduled": 1,
"SubTaskTarget": 1,
"DeviceID": 1,
"ContactID": 1,
"PrimaryContactID": 1,
"IsSubTaskDispatch": 1,
"IsPrivate": 1,
"SendScheduleReminder": 1,
"AssignedCCWebUserID": 1,
"SubTaskDueDate": null,
"DateCreated": null,
"DateUpdated": null,
"IsPreviouslyScheduled": 1,
"ActionID": 1,
"DeviceName": "sample string 8",
"ContactName": "sample string 9",
"OrganizationName": "sample string 10",
"JobNum": "sample string 11"
},
"Dispatch": {
"RequestDispatchID": 1,
"IncidentID": 1,
"Address1": "sample string 2",
"Address2": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"Zip": "sample string 6",
"SubTaskID": 1,
"Provice": "sample string 7",
"Country": "sample string 8",
"PostalCode": "sample string 9",
"IsNonUSAddress": 1
},
"AllowAssignmentNotification": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.