POST api/Account/SearchAccounts
Request Information
URI Parameters
None.
Body Parameters
SearchAccountsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchKeysFilter | Collection of string |
None. |
|
| RolesFilter | Collection of EntityRoles |
None. |
|
| LoginStatusFilter | Collection of AccountLoginStatus |
None. |
|
| Keyword | string |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchKeysFilter": [
"sample string 1",
"sample string 2"
],
"RolesFilter": [
1,
1
],
"LoginStatusFilter": [
1,
1
],
"Keyword": "sample string 1",
"Page": 2,
"PageSize": 3
}
application/xml, text/xml
Sample:
<SearchAccountsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
<BranchKeysFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</BranchKeysFilter>
<Keyword>sample string 1</Keyword>
<LoginStatusFilter>
<AccountLoginStatus>Pending</AccountLoginStatus>
<AccountLoginStatus>Pending</AccountLoginStatus>
</LoginStatusFilter>
<Page>2</Page>
<PageSize>3</PageSize>
<RolesFilter>
<EntityRoles>Owner</EntityRoles>
<EntityRoles>Owner</EntityRoles>
</RolesFilter>
</SearchAccountsRequestModel>
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. |