POST api/Role/GetAllRoleLister
Request Information
URI Parameters
None.
Body Parameters
RoleLister| Name | Description | Type | Additional information |
|---|---|---|---|
| Roles | Collection of Role |
None. |
|
| SearchCriteria | Role |
None. |
|
| Pager | Pager |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Value | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"Roles": [
{
"Id": 1,
"Description": "sample string 2",
"Title": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-28T12:58:41.81788+02:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-28T12:58:41.81788+02:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-28T12:58:41.81788+02:00",
"ColumnName": "sample string 8",
"SortDirection": "sample string 9",
"IsSuccess": true,
"Message": "sample string 11",
"Value": {}
},
{
"Id": 1,
"Description": "sample string 2",
"Title": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-28T12:58:41.81788+02:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-28T12:58:41.81788+02:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-28T12:58:41.81788+02:00",
"ColumnName": "sample string 8",
"SortDirection": "sample string 9",
"IsSuccess": true,
"Message": "sample string 11",
"Value": {}
}
],
"SearchCriteria": {
"Id": 1,
"Description": "sample string 2",
"Title": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-28T12:58:41.81788+02:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-28T12:58:41.81788+02:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-28T12:58:41.81788+02:00",
"ColumnName": "sample string 8",
"SortDirection": "sample string 9",
"IsSuccess": true,
"Message": "sample string 11",
"Value": {}
},
"Pager": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4.0,
"TotalPage": "sample string 5",
"TotalRecord": 6.0
},
"IsSuccess": true,
"Message": "sample string 2",
"Value": {}
}
application/xml, text/xml
Sample:
<RoleLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain">
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<Value />
<Pager>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>sample string 5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pager>
<Roles>
<Role>
<IsSuccess>true</IsSuccess>
<Message>sample string 11</Message>
<Value />
<ColumnName>sample string 8</ColumnName>
<CreatedBy>4</CreatedBy>
<CreatedDate>2025-12-28T12:58:41.81788+02:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-28T12:58:41.81788+02:00</DeletedDate>
<Description>sample string 2</Description>
<Id>1</Id>
<LastModifiedBy>6</LastModifiedBy>
<LastModifiedDate>2025-12-28T12:58:41.81788+02:00</LastModifiedDate>
<SortDirection>sample string 9</SortDirection>
<Title>sample string 3</Title>
</Role>
<Role>
<IsSuccess>true</IsSuccess>
<Message>sample string 11</Message>
<Value />
<ColumnName>sample string 8</ColumnName>
<CreatedBy>4</CreatedBy>
<CreatedDate>2025-12-28T12:58:41.81788+02:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-28T12:58:41.81788+02:00</DeletedDate>
<Description>sample string 2</Description>
<Id>1</Id>
<LastModifiedBy>6</LastModifiedBy>
<LastModifiedDate>2025-12-28T12:58:41.81788+02:00</LastModifiedDate>
<SortDirection>sample string 9</SortDirection>
<Title>sample string 3</Title>
</Role>
</Roles>
<SearchCriteria>
<IsSuccess>true</IsSuccess>
<Message>sample string 11</Message>
<Value />
<ColumnName>sample string 8</ColumnName>
<CreatedBy>4</CreatedBy>
<CreatedDate>2025-12-28T12:58:41.81788+02:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-28T12:58:41.81788+02:00</DeletedDate>
<Description>sample string 2</Description>
<Id>1</Id>
<LastModifiedBy>6</LastModifiedBy>
<LastModifiedDate>2025-12-28T12:58:41.81788+02:00</LastModifiedDate>
<SortDirection>sample string 9</SortDirection>
<Title>sample string 3</Title>
</SearchCriteria>
</RoleLister>
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. |