GET api/admin/masters/ReligionPaged?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
ApiResponseOfReligionListGetDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Data | ReligionListGetDTO |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Data": {
"ReligionList": [
{
"ReligionID": 1,
"ReligionCode": "sample string 2",
"ReligionName": "sample string 3"
},
{
"ReligionID": 1,
"ReligionCode": "sample string 2",
"ReligionName": "sample string 3"
}
],
"TotalRecords": 1
},
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResponseOfReligionListGetDTOlH2Hc9AG 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:ReligionList>
<d2p1:ReligionGetDTO>
<d2p1:ReligionCode>sample string 2</d2p1:ReligionCode>
<d2p1:ReligionID>1</d2p1:ReligionID>
<d2p1:ReligionName>sample string 3</d2p1:ReligionName>
</d2p1:ReligionGetDTO>
<d2p1:ReligionGetDTO>
<d2p1:ReligionCode>sample string 2</d2p1:ReligionCode>
<d2p1:ReligionID>1</d2p1:ReligionID>
<d2p1:ReligionName>sample string 3</d2p1:ReligionName>
</d2p1:ReligionGetDTO>
</d2p1:ReligionList>
<d2p1:TotalRecords>1</d2p1:TotalRecords>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfReligionListGetDTOlH2Hc9AG>