POST api/Admin/UpdateCarousel

Request Information

URI Parameters

None.

Body Parameters

Carousel
NameDescriptionTypeAdditional information
CarouselID

integer

None.

ImageURL

string

None.

CarouselHeading

string

None.

CarouselDescription

string

None.

ImageOriginalName

string

None.

DetailURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CarouselID": 1,
  "ImageURL": "sample string 2",
  "CarouselHeading": "sample string 3",
  "CarouselDescription": "sample string 4",
  "ImageOriginalName": "sample string 5",
  "DetailURL": "sample string 6"
}

application/xml, text/xml

Sample:
<Carousel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <CarouselDescription>sample string 4</CarouselDescription>
  <CarouselHeading>sample string 3</CarouselHeading>
  <CarouselID>1</CarouselID>
  <DetailURL>sample string 6</DetailURL>
  <ImageOriginalName>sample string 5</ImageOriginalName>
  <ImageURL>sample string 2</ImageURL>
</Carousel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Carousel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.