POST api/Group/GetAll
Request Information
URI Parameters
None.
Body Parameters
GroupLister| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of Group |
None. |
|
| SearchCriteria | Group |
None. |
|
| Pagination | Pagination |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"CompanyId": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"HeadName": "sample string 5",
"MobileNumber": "sample string 6",
"Status": "sample string 7",
"IsActive": true,
"CreatedBy": 9,
"LastModifiedBy": 1
},
{
"Id": 1,
"CompanyId": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"HeadName": "sample string 5",
"MobileNumber": "sample string 6",
"Status": "sample string 7",
"IsActive": true,
"CreatedBy": 9,
"LastModifiedBy": 1
}
],
"SearchCriteria": {
"Id": 1,
"CompanyId": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"HeadName": "sample string 5",
"MobileNumber": "sample string 6",
"Status": "sample string 7",
"IsActive": true,
"CreatedBy": 9,
"LastModifiedBy": 1
},
"Pagination": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4,
"TotalPage": 5,
"TotalRecord": 6
}
}
application/xml, text/xml
Sample:
<GroupLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgentDeskWebService.Domain">
<List>
<Group>
<Code>sample string 3</Code>
<CompanyId>2</CompanyId>
<CreatedBy>9</CreatedBy>
<HeadName>sample string 5</HeadName>
<Id>1</Id>
<IsActive>true</IsActive>
<LastModifiedBy>1</LastModifiedBy>
<MobileNumber>sample string 6</MobileNumber>
<Name>sample string 4</Name>
<Status>sample string 7</Status>
</Group>
<Group>
<Code>sample string 3</Code>
<CompanyId>2</CompanyId>
<CreatedBy>9</CreatedBy>
<HeadName>sample string 5</HeadName>
<Id>1</Id>
<IsActive>true</IsActive>
<LastModifiedBy>1</LastModifiedBy>
<MobileNumber>sample string 6</MobileNumber>
<Name>sample string 4</Name>
<Status>sample string 7</Status>
</Group>
</List>
<Pagination>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pagination>
<SearchCriteria>
<Code>sample string 3</Code>
<CompanyId>2</CompanyId>
<CreatedBy>9</CreatedBy>
<HeadName>sample string 5</HeadName>
<Id>1</Id>
<IsActive>true</IsActive>
<LastModifiedBy>1</LastModifiedBy>
<MobileNumber>sample string 6</MobileNumber>
<Name>sample string 4</Name>
<Status>sample string 7</Status>
</SearchCriteria>
</GroupLister>
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. |