POST api/Advertising/GetWCPAdvertising

Request Information

URI Parameters

None.

Body Parameters

WCPAdvertisingRequest
NameDescriptionTypeAdditional information
positionNo

string

None.

parkNo

string

None.

medium

string

None.

carNo

string

None.

lng

string

None.

lat

string

None.

Request Formats

application/json, text/json

Sample:
{
  "positionNo": "sample string 1",
  "parkNo": "sample string 2",
  "medium": "sample string 3",
  "carNo": "sample string 4",
  "lng": "sample string 5",
  "lat": "sample string 6"
}

application/xml, text/xml

Sample:
<WCPAdvertisingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdvertisingHelper.ModelV3">
  <carNo>sample string 4</carNo>
  <lat>sample string 6</lat>
  <lng>sample string 5</lng>
  <medium>sample string 3</medium>
  <parkNo>sample string 2</parkNo>
  <positionNo>sample string 1</positionNo>
</WCPAdvertisingRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WCPAdvertisingResult
NameDescriptionTypeAdditional information
requestId

string

None.

success

boolean

None.

message

string

None.

code

integer

None.

data

WCPAdvertisingModel

None.

Response Formats

application/json, text/json

Sample:
{
  "requestId": "sample string 1",
  "success": true,
  "message": "sample string 3",
  "code": 4,
  "data": {
    "ad": [
      {
        "img_url": "sample string 1",
        "click_url": "sample string 2",
        "mode": "sample string 3",
        "pop_delay": 1,
        "pop_rate": 1,
        "pop_force": 1,
        "pop_exit_time": 1
      },
      {
        "img_url": "sample string 1",
        "click_url": "sample string 2",
        "mode": "sample string 3",
        "pop_delay": 1,
        "pop_rate": 1,
        "pop_force": 1,
        "pop_exit_time": 1
      }
    ],
    "brand": [
      {
        "img_url": "sample string 1",
        "click_url": "sample string 2",
        "mode": "sample string 3",
        "pop_delay": 1,
        "pop_rate": 1,
        "pop_force": 1,
        "pop_exit_time": 1
      },
      {
        "img_url": "sample string 1",
        "click_url": "sample string 2",
        "mode": "sample string 3",
        "pop_delay": 1,
        "pop_rate": 1,
        "pop_force": 1,
        "pop_exit_time": 1
      }
    ]
  }
}

application/xml, text/xml

Sample:
<WCPAdvertisingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdvertisingHelper.ModelV3">
  <code>4</code>
  <data>
    <ad>
      <WCPAdvertisingInfo>
        <click_url>sample string 2</click_url>
        <img_url>sample string 1</img_url>
        <mode>sample string 3</mode>
        <pop_delay>1</pop_delay>
        <pop_exit_time>1</pop_exit_time>
        <pop_force>1</pop_force>
        <pop_rate>1</pop_rate>
      </WCPAdvertisingInfo>
      <WCPAdvertisingInfo>
        <click_url>sample string 2</click_url>
        <img_url>sample string 1</img_url>
        <mode>sample string 3</mode>
        <pop_delay>1</pop_delay>
        <pop_exit_time>1</pop_exit_time>
        <pop_force>1</pop_force>
        <pop_rate>1</pop_rate>
      </WCPAdvertisingInfo>
    </ad>
    <brand>
      <WCPAdvertisingInfo>
        <click_url>sample string 2</click_url>
        <img_url>sample string 1</img_url>
        <mode>sample string 3</mode>
        <pop_delay>1</pop_delay>
        <pop_exit_time>1</pop_exit_time>
        <pop_force>1</pop_force>
        <pop_rate>1</pop_rate>
      </WCPAdvertisingInfo>
      <WCPAdvertisingInfo>
        <click_url>sample string 2</click_url>
        <img_url>sample string 1</img_url>
        <mode>sample string 3</mode>
        <pop_delay>1</pop_delay>
        <pop_exit_time>1</pop_exit_time>
        <pop_force>1</pop_force>
        <pop_rate>1</pop_rate>
      </WCPAdvertisingInfo>
    </brand>
  </data>
  <message>sample string 3</message>
  <requestId>sample string 1</requestId>
  <success>true</success>
</WCPAdvertisingResult>