POST api/AddUpdateSlider

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSlider
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SliderID": 1,
  "SliderNo": "sample string 2",
  "Tittle": "sample string 3",
  "SliderImage": "sample string 4",
  "IsActive": true,
  "CreatedByUserID": 6,
  "CreatedOnDate": "2024-11-21T15:52:49.2953728+05:30",
  "VideoID": "sample string 8",
  "IsVideo": true,
  "Duration": "sample string 10"
}

text/html

Sample:
{"SliderID":1,"SliderNo":"sample string 2","Tittle":"sample string 3","SliderImage":"sample string 4","IsActive":true,"CreatedByUserID":6,"CreatedOnDate":"2024-11-21T15:52:49.2953728+05:30","VideoID":"sample string 8","IsVideo":true,"Duration":"sample string 10"}

application/xml, text/xml

Sample:
<SliderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Master">
  <CreatedByUserID>6</CreatedByUserID>
  <CreatedOnDate>2024-11-21T15:52:49.2953728+05:30</CreatedOnDate>
  <Duration>sample string 10</Duration>
  <IsActive>true</IsActive>
  <IsVideo>true</IsVideo>
  <SliderID>1</SliderID>
  <SliderImage>sample string 4</SliderImage>
  <SliderNo>sample string 2</SliderNo>
  <Tittle>sample string 3</Tittle>
  <VideoID>sample string 8</VideoID>
</SliderViewModel>

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 'SliderViewModel'.