POST api/Users/SearchUsers

Request Information

URI Parameters

None.

Body Parameters

UserResp
NameDescriptionTypeAdditional information
hasAgents

boolean

None.

idx

integer

None.

userName

string

None.

password

string

None.

fullName

string

None.

userType

string

None.

email

string

None.

visible

boolean

None.

customerIdx

integer

None.

isSuper

boolean

None.

isLoggedIn

boolean

None.

loginFrom

string

None.

isLocal

integer

None.

searchFor

string

None.

logo

string

None.

station

string

None.

apipin

string

None.

isMobileapp

boolean

None.

lastlogin

date

None.

AddedBy

integer

None.

AddedOn

date

None.

isAgent

boolean

None.

FirstPwdChanged

boolean

None.

AddedByName

string

None.

Enabled

boolean

None.

Remarks

string

None.

lane

integer

None.

LaneName

string

None.

profitGroupIdx

integer

None.

ProfitGroupName

string

None.

profitAmount

decimal number

None.

token

string

None.

Handler

integer

None.

HandlerName

string

None.

HandlerEmail

string

None.

mylanes

Collection of AgentLanesProfitResp

None.

cityIdx

integer

None.

StationName

string

None.

IsError

boolean

None.

theMessage

string

None.

theData

Object

None.

taskDone

boolean

None.

hasItems

boolean

None.

NewId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "hasAgents": true,
  "idx": 2,
  "userName": "sample string 3",
  "password": "sample string 4",
  "fullName": "sample string 5",
  "userType": "sample string 6",
  "email": "sample string 7",
  "visible": true,
  "customerIdx": 1,
  "isSuper": true,
  "isLoggedIn": true,
  "loginFrom": "sample string 11",
  "isLocal": 12,
  "searchFor": "sample string 13",
  "logo": "sample string 14",
  "station": "sample string 15",
  "apipin": "sample string 16",
  "isMobileapp": true,
  "lastlogin": "2025-12-17T17:40:18.8218198+05:00",
  "AddedBy": 19,
  "AddedOn": "2025-12-17T17:40:18.8218198+05:00",
  "isAgent": true,
  "FirstPwdChanged": true,
  "AddedByName": "sample string 23",
  "Enabled": true,
  "Remarks": "sample string 25",
  "lane": 26,
  "LaneName": "sample string 27",
  "profitGroupIdx": 28,
  "ProfitGroupName": "sample string 29",
  "profitAmount": 30.1,
  "token": "sample string 31",
  "Handler": 32,
  "HandlerName": "sample string 33",
  "HandlerEmail": "sample string 34",
  "mylanes": [
    {
      "idx": 1,
      "AgentIdx": 2,
      "LaneIdx": 3,
      "ProfitPerc": 4.0,
      "ProfitAmount": 5.0,
      "fullName": "sample string 6",
      "LaneName": "sample string 7",
      "email": "sample string 8",
      "AddedBy": 9,
      "AddedOn": "2025-12-17T17:40:18.8374457+05:00",
      "AddedByName": "sample string 11"
    },
    {
      "idx": 1,
      "AgentIdx": 2,
      "LaneIdx": 3,
      "ProfitPerc": 4.0,
      "ProfitAmount": 5.0,
      "fullName": "sample string 6",
      "LaneName": "sample string 7",
      "email": "sample string 8",
      "AddedBy": 9,
      "AddedOn": "2025-12-17T17:40:18.8374457+05:00",
      "AddedByName": "sample string 11"
    }
  ],
  "cityIdx": 35,
  "StationName": "sample string 36",
  "IsError": true,
  "theMessage": "sample string 38",
  "theData": {},
  "taskDone": true,
  "hasItems": true,
  "NewId": 42
}

application/xml, text/xml

Sample:
<UserResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RSE_API.UwstModels.Responses">
  <IsError>true</IsError>
  <NewId>42</NewId>
  <hasItems>true</hasItems>
  <taskDone>true</taskDone>
  <theData />
  <theMessage>sample string 38</theMessage>
  <AddedBy>19</AddedBy>
  <AddedByName>sample string 23</AddedByName>
  <AddedOn>2025-12-17T17:40:18.8218198+05:00</AddedOn>
  <Enabled>true</Enabled>
  <FirstPwdChanged>true</FirstPwdChanged>
  <Handler>32</Handler>
  <HandlerEmail>sample string 34</HandlerEmail>
  <HandlerName>sample string 33</HandlerName>
  <LaneName>sample string 27</LaneName>
  <ProfitGroupName>sample string 29</ProfitGroupName>
  <Remarks>sample string 25</Remarks>
  <StationName>sample string 36</StationName>
  <apipin>sample string 16</apipin>
  <cityIdx>35</cityIdx>
  <customerIdx>1</customerIdx>
  <email>sample string 7</email>
  <fullName>sample string 5</fullName>
  <hasAgents>true</hasAgents>
  <idx>2</idx>
  <isAgent>true</isAgent>
  <isLocal>12</isLocal>
  <isLoggedIn>true</isLoggedIn>
  <isMobileapp>true</isMobileapp>
  <isSuper>true</isSuper>
  <lane>26</lane>
  <lastlogin>2025-12-17T17:40:18.8218198+05:00</lastlogin>
  <loginFrom>sample string 11</loginFrom>
  <logo>sample string 14</logo>
  <mylanes>
    <AgentLanesProfitResp>
      <AddedBy>9</AddedBy>
      <AddedByName>sample string 11</AddedByName>
      <AddedOn>2025-12-17T17:40:18.8374457+05:00</AddedOn>
      <AgentIdx>2</AgentIdx>
      <LaneIdx>3</LaneIdx>
      <LaneName>sample string 7</LaneName>
      <ProfitAmount>5</ProfitAmount>
      <ProfitPerc>4</ProfitPerc>
      <email>sample string 8</email>
      <fullName>sample string 6</fullName>
      <idx>1</idx>
    </AgentLanesProfitResp>
    <AgentLanesProfitResp>
      <AddedBy>9</AddedBy>
      <AddedByName>sample string 11</AddedByName>
      <AddedOn>2025-12-17T17:40:18.8374457+05:00</AddedOn>
      <AgentIdx>2</AgentIdx>
      <LaneIdx>3</LaneIdx>
      <LaneName>sample string 7</LaneName>
      <ProfitAmount>5</ProfitAmount>
      <ProfitPerc>4</ProfitPerc>
      <email>sample string 8</email>
      <fullName>sample string 6</fullName>
      <idx>1</idx>
    </AgentLanesProfitResp>
  </mylanes>
  <password>sample string 4</password>
  <profitAmount>30.1</profitAmount>
  <profitGroupIdx>28</profitGroupIdx>
  <searchFor>sample string 13</searchFor>
  <station>sample string 15</station>
  <token>sample string 31</token>
  <userName>sample string 3</userName>
  <userType>sample string 6</userType>
  <visible>true</visible>
</UserResp>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserResp'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.