POST api/CreateBanner

Request Information

URI Parameters

None.

Body Parameters

BannerVm
NameDescriptionTypeAdditional information
Id

integer

None.

BannerType

string

None.

RedirectionUrl

string

None.

ImageUrl

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BannerType": "sample string 1",
  "RedirectionUrl": "sample string 2",
  "ImageUrl": "sample string 3",
  "IsActive": true
}

application/xml, text/xml

Sample:
<BannerVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <BannerType>sample string 1</BannerType>
  <Id>1</Id>
  <ImageUrl>sample string 3</ImageUrl>
  <IsActive>true</IsActive>
  <RedirectionUrl>sample string 2</RedirectionUrl>
</BannerVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.