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/json, text/json

Sample:
{
  "TaskId": 1,
  "DueDate": "2020-12-02T13:34:00.4040517Z",
  "Description": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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.