POST api/Advertising/AdsEvent

Request Information

URI Parameters

None.

Body Parameters

AdsEventRequest
NameDescriptionTypeAdditional information
city

string

Required

parkname

string

Required

province

string

Required

source

string

Required

spacecode

string

Required

spacename

string

Required

type

integer

Required

areacode

string

None.

adstype

string

None.

sign

string

Required

ip

string

Required

parkid

string

Required

Request Formats

application/json, text/json

Sample:
{
  "city": "sample string 1",
  "parkname": "sample string 2",
  "province": "sample string 3",
  "source": "sample string 4",
  "spacecode": "sample string 5",
  "spacename": "sample string 6",
  "type": 7,
  "areacode": "sample string 8",
  "adstype": "sample string 9",
  "sign": "sample string 10",
  "ip": "sample string 11",
  "parkid": "sample string 12"
}

application/xml, text/xml

Sample:
<AdsEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdvertisingHelper.ModelV2">
  <ip>sample string 11</ip>
  <parkid>sample string 12</parkid>
  <sign>sample string 10</sign>
  <adstype>sample string 9</adstype>
  <areacode>sample string 8</areacode>
  <city>sample string 1</city>
  <parkname>sample string 2</parkname>
  <province>sample string 3</province>
  <source>sample string 4</source>
  <spacecode>sample string 5</spacecode>
  <spacename>sample string 6</spacename>
  <type>7</type>
</AdsEventRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CloudPlatformResultOfString
NameDescriptionTypeAdditional information
code

integer

None.

data

string

None.

msg

string

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "data": "sample string 2",
  "msg": "sample string 3",
  "success": true
}

application/xml, text/xml

Sample:
<CloudPlatformResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdvertisingHelper.ModelV2">
  <code>1</code>
  <data>sample string 2</data>
  <msg>sample string 3</msg>
  <success>true</success>
</CloudPlatformResultOfstring>