PUT api/todo/canceltodo

Cancel a to-do list from the tile overview of to-dos

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.ToDo.Command.Task.CancelTodoCommandDataContract
NameDescriptionTypeAdditional information
TodoId

integer

None.

ReasonOfCancellation

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "TodoId": 1,
  "ReasonOfCancellation": "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.