GET api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Password

string

None.

Active

boolean

None.

Admin

boolean

None.

SalesPersonCode

integer

None.

LastLoginOn

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Password": "sample string 4",
  "Active": true,
  "Admin": true,
  "SalesPersonCode": 7,
  "LastLoginOn": "2026-03-06T19:29:31.0657243+05:00"
}

text/html

Sample:
{"Id":1,"Code":"sample string 2","Name":"sample string 3","Password":"sample string 4","Active":true,"Admin":true,"SalesPersonCode":7,"LastLoginOn":"2026-03-06T19:29:31.0657243+05:00"}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveStock.WebApi.Models">
  <Active>true</Active>
  <Admin>true</Admin>
  <Code>sample string 2</Code>
  <Id>1</Id>
  <LastLoginOn>2026-03-06T19:29:31.0657243+05:00</LastLoginOn>
  <Name>sample string 3</Name>
  <Password>sample string 4</Password>
  <SalesPersonCode>7</SalesPersonCode>
</User>