GET api/Users

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
    }
  },
  {
    "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:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <User>
    <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>
  <User>
    <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>
</ArrayOfUser>