GET api/Users?versionNo={versionNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
versionNo

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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:03.9620604+05:00"
  },
  {
    "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:03.9620604+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:03.9620604+05:00"},{"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:03.9620604+05:00"}]

application/xml, text/xml

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