GET api/admin/masters/CommunityPaged?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Default value is 1 |
|
| PageSize | integer |
Default value is 10 |
|
| SearchTerm | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfCommunityListGetDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Data | CommunityListGetDTO |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Data": {
"CommunityList": [
{
"CommunityID": 1,
"CommunityCode": "sample string 2",
"CommunityName": "sample string 3"
},
{
"CommunityID": 1,
"CommunityCode": "sample string 2",
"CommunityName": "sample string 3"
}
],
"TotalRecords": 1
},
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResponseOfCommunityListGetDTOlH2Hc9AG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Married.Entities.models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Married.Entities.customsmodels">
<d2p1:CommunityList>
<d2p1:CommunityGetDTO>
<d2p1:CommunityCode>sample string 2</d2p1:CommunityCode>
<d2p1:CommunityID>1</d2p1:CommunityID>
<d2p1:CommunityName>sample string 3</d2p1:CommunityName>
</d2p1:CommunityGetDTO>
<d2p1:CommunityGetDTO>
<d2p1:CommunityCode>sample string 2</d2p1:CommunityCode>
<d2p1:CommunityID>1</d2p1:CommunityID>
<d2p1:CommunityName>sample string 3</d2p1:CommunityName>
</d2p1:CommunityGetDTO>
</d2p1:CommunityList>
<d2p1:TotalRecords>1</d2p1:TotalRecords>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfCommunityListGetDTOlH2Hc9AG>