GET api/User/GetUsers?Page={Page}&ItemsPerPage={ItemsPerPage}&SortBy={SortBy}&Reverse={Reverse}&Search={Search}&Date={Date}&Day={Day}&FilterType={FilterType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

ItemsPerPage

integer

None.

SortBy

string

None.

Reverse

boolean

None.

Search

string

None.

Date

date

None.

Day

string

None.

FilterType

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserModel
NameDescriptionTypeAdditional information
RoleId

string

None.

Role

string

None.

Id

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

PhoneNumber

string

None.

Address

string

None.

City

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

ModifiedBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoleId": "sample string 1",
    "Role": "sample string 2",
    "Id": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Email": "sample string 6",
    "PhoneNumber": "sample string 7",
    "Address": "sample string 8",
    "City": "sample string 9",
    "IsActive": true,
    "IsDeleted": true,
    "CreatedBy": "sample string 12",
    "ModifiedBy": "sample string 13"
  },
  {
    "RoleId": "sample string 1",
    "Role": "sample string 2",
    "Id": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Email": "sample string 6",
    "PhoneNumber": "sample string 7",
    "Address": "sample string 8",
    "City": "sample string 9",
    "IsActive": true,
    "IsDeleted": true,
    "CreatedBy": "sample string 12",
    "ModifiedBy": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.User">
  <UserModel>
    <Address>sample string 8</Address>
    <City>sample string 9</City>
    <CreatedBy>sample string 12</CreatedBy>
    <Email>sample string 6</Email>
    <FirstName>sample string 4</FirstName>
    <Id>sample string 3</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastName>sample string 5</LastName>
    <ModifiedBy>sample string 13</ModifiedBy>
    <PhoneNumber>sample string 7</PhoneNumber>
    <Role>sample string 2</Role>
    <RoleId>sample string 1</RoleId>
  </UserModel>
  <UserModel>
    <Address>sample string 8</Address>
    <City>sample string 9</City>
    <CreatedBy>sample string 12</CreatedBy>
    <Email>sample string 6</Email>
    <FirstName>sample string 4</FirstName>
    <Id>sample string 3</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastName>sample string 5</LastName>
    <ModifiedBy>sample string 13</ModifiedBy>
    <PhoneNumber>sample string 7</PhoneNumber>
    <Role>sample string 2</Role>
    <RoleId>sample string 1</RoleId>
  </UserModel>
</ArrayOfUserModel>