GET api/testimonials/TestimonialByID?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GenTestimonialsView| Name | Description | Type | Additional information |
|---|---|---|---|
| TestimonialsID | integer |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| ImagePath | string |
None. |
|
| Remarks | string |
None. |
|
| TestimonialDate | date |
None. |
|
| ComponentName | string |
None. |
|
| ComponentID | integer |
None. |
|
| SubComponentName | string |
None. |
|
| SubComponentID | integer |
None. |
|
| IsPublished | boolean |
None. |
|
| SchoolName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TestimonialsID": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"ImagePath": "sample string 4",
"Remarks": "sample string 5",
"TestimonialDate": "2026-04-19T16:26:29.0358617+05:30",
"ComponentName": "sample string 7",
"ComponentID": 8,
"SubComponentName": "sample string 9",
"SubComponentID": 10,
"IsPublished": true,
"SchoolName": "sample string 12"
}
application/xml, text/xml
Sample:
<GenTestimonialsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SikkimRepository.Entities.CustomModels"> <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:26:29.0358617+05:30</TestimonialDate> <TestimonialsID>1</TestimonialsID> </GenTestimonialsView>