GET api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
UserID

integer

None.

FirstMidName

string

None.

LastName

string

None.

Password

string

None.

Tasks

Collection of Task

None.

Response Formats

application/json, text/json

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