GET api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DTOUser
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

None.

Password

string

None.

Client

DTOClient

None.

Role

DTORole

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Client": {
    "Id": 1,
    "ClientName": "sample string 2"
  },
  "Role": {
    "Id": 1,
    "Name": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <Client>
    <ClientName>sample string 2</ClientName>
    <Id>1</Id>
  </Client>
  <Id>1</Id>
  <Password>sample string 3</Password>
  <Role>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Role>
  <Username>sample string 2</Username>
</User>