POST api/advert/create/custom/banner/default

Request Information

URI Parameters

None.

Body Parameters

Advert
NameDescriptionTypeAdditional information
advertisingid

integer

None.

week

string

None.

filename

string

None.

operationstatus

string

None.

profilekey

integer

None.

profilekeys

Collection of integer

None.

clickcount

integer

None.

advertisingtype

string

None.

bannertype

string

None.

appid

string

None.

submitteddatetime

string

None.

modifieddatetime

string

None.

lastdatetime

string

None.

startdate

string

None.

enddate

string

None.

adverttitle

string

None.

advertdescription

string

None.

price

decimal number

None.

productcode

string

None.

url

string

None.

status

boolean

None.

advertimage

string

None.

durationleft

integer

None.

startofweekshort

string

None.

startofweekfull

string

None.

endofweekshort

string

None.

endofweekfull

string

None.

datelabel

string

None.

Request Formats

application/json, text/json

Sample:
{
  "advertisingid": 1,
  "week": "sample string 1",
  "filename": "sample string 2",
  "operationstatus": "sample string 3",
  "profilekey": 1,
  "profilekeys": [
    1,
    1
  ],
  "clickcount": 1,
  "advertisingtype": "sample string 4",
  "bannertype": "sample string 5",
  "appid": "sample string 6",
  "submitteddatetime": "sample string 7",
  "modifieddatetime": "sample string 8",
  "lastdatetime": "sample string 9",
  "startdate": "sample string 10",
  "enddate": "sample string 11",
  "adverttitle": "sample string 12",
  "advertdescription": "sample string 13",
  "price": 1.0,
  "productcode": "sample string 14",
  "url": "sample string 15",
  "status": true,
  "advertimage": "sample string 16",
  "durationleft": 1,
  "startofweekshort": "sample string 17",
  "startofweekfull": "sample string 18",
  "endofweekshort": "sample string 19",
  "endofweekfull": "sample string 20",
  "datelabel": "sample string 21"
}

application/xml, text/xml

Sample:
<Advert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Computassist.MobileRestAPI.Models">
  <advertdescription>sample string 13</advertdescription>
  <advertimage>sample string 16</advertimage>
  <advertisingid>1</advertisingid>
  <advertisingtype>sample string 4</advertisingtype>
  <adverttitle>sample string 12</adverttitle>
  <appid>sample string 6</appid>
  <bannertype>sample string 5</bannertype>
  <clickcount>1</clickcount>
  <datelabel>sample string 21</datelabel>
  <durationleft>1</durationleft>
  <enddate>sample string 11</enddate>
  <endofweekfull>sample string 20</endofweekfull>
  <endofweekshort>sample string 19</endofweekshort>
  <filename>sample string 2</filename>
  <lastdatetime>sample string 9</lastdatetime>
  <modifieddatetime>sample string 8</modifieddatetime>
  <operationstatus>sample string 3</operationstatus>
  <price>1</price>
  <productcode>sample string 14</productcode>
  <profilekey>1</profilekey>
  <profilekeys xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>1</d2p1:long>
  </profilekeys>
  <startdate>sample string 10</startdate>
  <startofweekfull>sample string 18</startofweekfull>
  <startofweekshort>sample string 17</startofweekshort>
  <status>true</status>
  <submitteddatetime>sample string 7</submitteddatetime>
  <url>sample string 15</url>
  <week>sample string 1</week>
</Advert>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />