PUT api/todo/canceltask

Cancel the Task. Used for cancelling the Lead Requests.

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.ToDo.Command.Task.CancelTaskCommandDataContract
NameDescriptionTypeAdditional information
TaskId

integer

None.

Reason

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "TaskId": 1,
  "Reason": "sample string 2"
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.