PUT api/slide/update

Request Information

URI Parameters

None.

Body Parameters

SlideViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Text1

string

None.

Text2

string

None.

Image

string

None.

Url

string

None.

DisplayOrder

integer

None.

SubSlide

boolean

None.

Banner

boolean

None.

Status

boolean

None.

Content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Text1": "sample string 3",
  "Text2": "sample string 4",
  "Image": "sample string 5",
  "Url": "sample string 6",
  "DisplayOrder": 1,
  "SubSlide": true,
  "Banner": true,
  "Status": true,
  "Content": "sample string 10"
}

application/xml, text/xml

Sample:
<SlideViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeduShop.Web.Models">
  <Banner>true</Banner>
  <Content>sample string 10</Content>
  <DisplayOrder>1</DisplayOrder>
  <ID>1</ID>
  <Image>sample string 5</Image>
  <Name>sample string 2</Name>
  <Status>true</Status>
  <SubSlide>true</SubSlide>
  <Text1>sample string 3</Text1>
  <Text2>sample string 4</Text2>
  <Url>sample string 6</Url>
</SlideViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.