PUT api/todo/cancelleadandtask
Cancel the Task. Used for cancelling the Lead Requests.
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.ToDo.Command.Task.CancelLeadAndTaskCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
LeadId | integer |
None. |
|
TaskId | integer |
None. |
|
Reason | string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "LeadId": 1, "TaskId": 2, "Reason": "sample string 3" }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |