DELETE api/Tasks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Task
NameDescriptionTypeAdditional information
TaskID

integer

None.

CompleteBy

date

None.

Completed

boolean

None.

Description

string

None.

Name

string

None.

UserID

integer

None.

User

User

None.

Response Formats

application/json, text/json

Sample:
{
  "TaskID": 1,
  "CompleteBy": "2018-11-20T18:40:56.8023151+10:30",
  "Completed": true,
  "Description": "sample string 4",
  "Name": "sample string 5",
  "UserID": 6,
  "User": {
    "UserID": 1,
    "FirstMidName": "sample string 2",
    "LastName": "sample string 3",
    "Password": "sample string 4",
    "Tasks": []
  }
}