PUT api/todo/completetask

If Due Date is not populated a complete flag is set or if Due Date is populated a recurrence is set

Request Information

URI Parameters

None.

Body Parameters

CompleteTaskCommandDataContract
NameDescriptionTypeAdditional information
TaskId

integer

None.

DueDate

date

None.

Description

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "TaskId": 1,
  "DueDate": "2022-06-30T05:06:29.2702617Z",
  "Description": "sample string 2"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.