POST api/Banner/Slides

Request Information

URI Parameters

None.

Body Parameters

Banners
NameDescriptionTypeAdditional information
Condition

string

None.

BannerId

integer

None.

BannerType

string

None.

BannerName

string

None.

Banner_Description

string

None.

BannerImage

string

None.

MobileReturnPath

string

None.

WebReturnPath

string

None.

Status

string

None.

AppType

string

None.

VideoSts

string

None.

DisplayPages

string

None.

Duration

integer

None.

ButtonText

string

None.

Description2

string

None.

DisplayOrder

string

None.

LoginID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "BannerId": 2,
  "BannerType": "sample string 3",
  "BannerName": "sample string 4",
  "Banner_Description": "sample string 5",
  "BannerImage": "sample string 6",
  "MobileReturnPath": "sample string 7",
  "WebReturnPath": "sample string 8",
  "Status": "sample string 9",
  "AppType": "sample string 10",
  "VideoSts": "sample string 11",
  "DisplayPages": "sample string 12",
  "Duration": 13,
  "ButtonText": "sample string 14",
  "Description2": "sample string 15",
  "DisplayOrder": "sample string 16",
  "LoginID": "sample string 17"
}

application/xml, text/xml

Sample:
<Banners xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL">
  <AppType>sample string 10</AppType>
  <BannerId>2</BannerId>
  <BannerImage>sample string 6</BannerImage>
  <BannerName>sample string 4</BannerName>
  <BannerType>sample string 3</BannerType>
  <Banner_Description>sample string 5</Banner_Description>
  <ButtonText>sample string 14</ButtonText>
  <Condition>sample string 1</Condition>
  <Description2>sample string 15</Description2>
  <DisplayOrder>sample string 16</DisplayOrder>
  <DisplayPages>sample string 12</DisplayPages>
  <Duration>13</Duration>
  <LoginID>sample string 17</LoginID>
  <MobileReturnPath>sample string 7</MobileReturnPath>
  <Status>sample string 9</Status>
  <VideoSts>sample string 11</VideoSts>
  <WebReturnPath>sample string 8</WebReturnPath>
</Banners>

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

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.