POST API/Common/Testimonials?action={action}

Manage Testimonials

Request Information

URI Parameters

NameDescriptionTypeAdditional information
action

Add/Update

string

Required

Body Parameters

Testimonials Entity

Testimonials
NameDescriptionTypeAdditional 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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.