POST api/Banner/Delete

Request Information

URI Parameters

None.

Body Parameters

BannerModel
NameDescriptionTypeAdditional information
Id

byte

None.

Name

string

None.

Content

string

None.

IsActive

boolean

None.

IsSlider

boolean

None.

CreatedBy

string

None.

ModifiedBy

string

None.

BannerDetailList

Collection of BannerDetailModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 64,
  "Name": "sample string 2",
  "Content": "sample string 3",
  "IsActive": true,
  "IsSlider": true,
  "CreatedBy": "sample string 5",
  "ModifiedBy": "sample string 6",
  "BannerDetailList": [
    {
      "Id": 64,
      "BannerId": 64,
      "Name": "sample string 3",
      "Path": "sample string 4"
    },
    {
      "Id": 64,
      "BannerId": 64,
      "Name": "sample string 3",
      "Path": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<BannerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Banner">
  <BannerDetailList>
    <BannerDetailModel>
      <BannerId>64</BannerId>
      <Id>64</Id>
      <Name>sample string 3</Name>
      <Path>sample string 4</Path>
    </BannerDetailModel>
    <BannerDetailModel>
      <BannerId>64</BannerId>
      <Id>64</Id>
      <Name>sample string 3</Name>
      <Path>sample string 4</Path>
    </BannerDetailModel>
  </BannerDetailList>
  <Content>sample string 3</Content>
  <CreatedBy>sample string 5</CreatedBy>
  <Id>64</Id>
  <IsActive>true</IsActive>
  <IsSlider>true</IsSlider>
  <ModifiedBy>sample string 6</ModifiedBy>
  <Name>sample string 2</Name>
</BannerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.