POST api/Retail/EventsGallery

Documentation for 'EventsGallery'.

Request Information

Parameters

NameDescriptionAdditional information
Info
Documentation for 'Info'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "info": "sample string 1"
}

application/xml, text/xml

Sample:
<RetailController.Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33.Controllers">
  <info>sample string 1</info>
</RetailController.Params>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "SNo": 1,
    "Image": "sample string 2",
    "EventName": "sample string 3",
    "active": true,
    "parent": 5
  },
  {
    "SNo": 1,
    "Image": "sample string 2",
    "EventName": "sample string 3",
    "active": true,
    "parent": 5
  },
  {
    "SNo": 1,
    "Image": "sample string 2",
    "EventName": "sample string 3",
    "active": true,
    "parent": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventsGallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33">
  <EventsGallery>
    <EventName>sample string 3</EventName>
    <Image>sample string 2</Image>
    <SNo>1</SNo>
    <active>true</active>
    <parent>5</parent>
  </EventsGallery>
  <EventsGallery>
    <EventName>sample string 3</EventName>
    <Image>sample string 2</Image>
    <SNo>1</SNo>
    <active>true</active>
    <parent>5</parent>
  </EventsGallery>
  <EventsGallery>
    <EventName>sample string 3</EventName>
    <Image>sample string 2</Image>
    <SNo>1</SNo>
    <active>true</active>
    <parent>5</parent>
  </EventsGallery>
</ArrayOfEventsGallery>