GET api/testimonials/TestimonialsPagedApp?ComponentID={ComponentID}&SubComponentID={SubComponentID}&PageNo={PageNo}&PageSize={PageSize}&sTerm={sTerm}&SchoolID={SchoolID}&IsPublished={IsPublished}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ComponentID | integer |
Required |
|
| SubComponentID | integer |
Required |
|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| sTerm | string |
Required |
|
| SchoolID | integer |
Default value is 0 |
|
| IsPublished | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
TestimonialGenViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TestimonialList | Collection of GenTestimonialsView |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"TestimonialList": [
{
"TestimonialsID": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"ImagePath": "sample string 4",
"Remarks": "sample string 5",
"TestimonialDate": "2026-04-19T16:19:30.6337304+05:30",
"ComponentName": "sample string 7",
"ComponentID": 8,
"SubComponentName": "sample string 9",
"SubComponentID": 10,
"IsPublished": true,
"SchoolName": "sample string 12"
},
{
"TestimonialsID": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"ImagePath": "sample string 4",
"Remarks": "sample string 5",
"TestimonialDate": "2026-04-19T16:19:30.6337304+05:30",
"ComponentName": "sample string 7",
"ComponentID": 8,
"SubComponentName": "sample string 9",
"SubComponentID": 10,
"IsPublished": true,
"SchoolName": "sample string 12"
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<TestimonialGenViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SikkimRepository.Entities.CustomModels">
<TestimonialList>
<GenTestimonialsView>
<Address>sample string 3</Address>
<ComponentID>8</ComponentID>
<ComponentName>sample string 7</ComponentName>
<ImagePath>sample string 4</ImagePath>
<IsPublished>true</IsPublished>
<Name>sample string 2</Name>
<Remarks>sample string 5</Remarks>
<SchoolName>sample string 12</SchoolName>
<SubComponentID>10</SubComponentID>
<SubComponentName>sample string 9</SubComponentName>
<TestimonialDate>2026-04-19T16:19:30.6337304+05:30</TestimonialDate>
<TestimonialsID>1</TestimonialsID>
</GenTestimonialsView>
<GenTestimonialsView>
<Address>sample string 3</Address>
<ComponentID>8</ComponentID>
<ComponentName>sample string 7</ComponentName>
<ImagePath>sample string 4</ImagePath>
<IsPublished>true</IsPublished>
<Name>sample string 2</Name>
<Remarks>sample string 5</Remarks>
<SchoolName>sample string 12</SchoolName>
<SubComponentID>10</SubComponentID>
<SubComponentName>sample string 9</SubComponentName>
<TestimonialDate>2026-04-19T16:19:30.6337304+05:30</TestimonialDate>
<TestimonialsID>1</TestimonialsID>
</GenTestimonialsView>
</TestimonialList>
<TotalRecords>1</TotalRecords>
</TestimonialGenViewModel>