PUT api/Tasks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Task
NameDescriptionTypeAdditional information
TaskID

integer

None.

CompleteBy

date

None.

Completed

boolean

None.

Description

string

None.

Name

string

None.

UserID

integer

None.

User

User

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskID": 1,
  "CompleteBy": "2018-01-23T13:17:42.4051987+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": []
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.