POST API/Common/Testimonials?action={action}
Manage Testimonials
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
action |
Add/Update |
string |
Required |
Body Parameters
Testimonials Entity
TestimonialsName | Description | Type | Additional information |
---|---|---|---|
TestimonialId | integer |
None. |
|
TestimonialDesc | string |
None. |
|
TestimonialApproved | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "testimonialId": 1, "testimonialDesc": "sample string 1", "testimonialApproved": true }
application/xml, text/xml
Sample:
<Testimonials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrownCow.Common.EntityLayer"> <TestimonialApproved>true</TestimonialApproved> <TestimonialDesc>sample string 1</TestimonialDesc> <TestimonialId>1</TestimonialId> </Testimonials>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.