POST api/userList
Request Information
URI Parameters
None.
Body Parameters
UserSearchViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DesignationId | integer |
None. |
|
| UserName | string |
None. |
|
| string |
None. |
||
| MobileNo | string |
None. |
|
| AlternateNo | string |
None. |
|
| EmergencyContactPerson | string |
None. |
|
| EmergencyContactNo | string |
None. |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| DistrictId | integer |
None. |
|
| CityId | integer |
None. |
|
| Address | string |
None. |
|
| ZipCode | string |
None. |
|
| IsActive | boolean |
None. |
|
| PageCount | integer |
None. |
|
| PageSize | integer |
None. |
|
| TopSearch | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"DesignationId": 1,
"UserName": "sample string 1",
"Email": "sample string 2",
"MobileNo": "sample string 3",
"AlternateNo": "sample string 4",
"EmergencyContactPerson": "sample string 5",
"EmergencyContactNo": "sample string 6",
"CountryId": 1,
"StateId": 1,
"DistrictId": 1,
"CityId": 1,
"Address": "sample string 7",
"ZipCode": "sample string 8",
"IsActive": true,
"PageCount": 1,
"PageSize": 1,
"TopSearch": "sample string 10"
}
application/xml, text/xml
Sample:
<UserSearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.ViewModel"> <Address>sample string 7</Address> <AlternateNo>sample string 4</AlternateNo> <CityId>1</CityId> <CountryId>1</CountryId> <DesignationId>1</DesignationId> <DistrictId>1</DistrictId> <Email>sample string 2</Email> <EmergencyContactNo>sample string 6</EmergencyContactNo> <EmergencyContactPerson>sample string 5</EmergencyContactPerson> <Id>1</Id> <IsActive>true</IsActive> <MobileNo>sample string 3</MobileNo> <PageCount>1</PageCount> <PageSize>1</PageSize> <StateId>1</StateId> <TopSearch>sample string 10</TopSearch> <UserName>sample string 1</UserName> <ZipCode>sample string 8</ZipCode> </UserSearchViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |