POST api/SliderItem/Add
Request Information
URI Parameters
None.
Body Parameters
SliderItemAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Url | string |
None. |
|
| Title | string |
None. |
|
| SubTitle | string |
None. |
|
| Content | string |
None. |
|
| Href | string |
None. |
|
| Order | integer |
None. |
|
| SliderID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"url": "sample string 1",
"title": "sample string 2",
"subTitle": "sample string 3",
"content": "sample string 4",
"href": "sample string 5",
"order": 6,
"sliderID": "c4d19fe5-18ff-4e5b-8f31-0a621ded8ba9"
}
application/xml, text/xml
Sample:
<SliderItemAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Content>sample string 4</Content> <Href>sample string 5</Href> <Order>6</Order> <SliderID>c4d19fe5-18ff-4e5b-8f31-0a621ded8ba9</SliderID> <SubTitle>sample string 3</SubTitle> <Title>sample string 2</Title> <Url>sample string 1</Url> </SliderItemAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Url":"sample string 1","Title":"sample string 2","SubTitle":"sample string 3","Content":"sample string 4","Href":"sample string 5","Order":6,"SliderID":"c4d19fe5-18ff-4e5b-8f31-0a621ded8ba9"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.