For more information on using API

GET http://webapi.mymarketing.co.il/api/campaignreports/{id}/browsing?Page={Page}&Limit={Limit}

Get a campaign browsing

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id

integer

Required

page

Get a specific page (number of pages is limited)

integer

Range: inclusive between 1 and 2147483647

limit

Limit the number of items you get in the results.

integer

Range: inclusive between 1 and 100

Body Parameters

None.

Response Information

Resource Description

ApiCampaignBrowsing

Name

Description

Type

Additional information

browsers

Browsers

Collection of ApiBrowsers
sum_total_browsers

Sum total browsers

integer
operating_systems

Operating systems

Collection of ApiOperatingSystems
sum_total_operating_systems

Sum total Operating systems

integer
platforms

platforms

Collection of ApiPlatforms
sum_total_platforms

Sum total platforms

integer

Response Formats

application/json, text/json

Sample:
{
  "browsers": [
    {
      "browser_name": "sample string 1",
      "total": 2,
      "percent": 3.1
    },
    {
      "browser_name": "sample string 1",
      "total": 2,
      "percent": 3.1
    }
  ],
  "sum_total_browsers": 1,
  "operating_systems": [
    {
      "operating_system_name": "sample string 1",
      "total": 2,
      "percent": 3.1
    },
    {
      "operating_system_name": "sample string 1",
      "total": 2,
      "percent": 3.1
    }
  ],
  "sum_total_operating_systems": 2,
  "platforms": [
    {
      "platform_name": "sample string 1",
      "total": 2.1,
      "percent": 3.1
    },
    {
      "platform_name": "sample string 1",
      "total": 2.1,
      "percent": 3.1
    }
  ],
  "sum_total_platforms": 3
}

application/xml, text/xml

Sample:
<ApiCampaignBrowsing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.CampaignReport">
  <browsers>
    <ApiBrowsers>
      <browser_name>sample string 1</browser_name>
      <percent>3.1</percent>
      <total>2</total>
    </ApiBrowsers>
    <ApiBrowsers>
      <browser_name>sample string 1</browser_name>
      <percent>3.1</percent>
      <total>2</total>
    </ApiBrowsers>
  </browsers>
  <operating_systems>
    <ApiOperatingSystems>
      <operating_system_name>sample string 1</operating_system_name>
      <percent>3.1</percent>
      <total>2</total>
    </ApiOperatingSystems>
    <ApiOperatingSystems>
      <operating_system_name>sample string 1</operating_system_name>
      <percent>3.1</percent>
      <total>2</total>
    </ApiOperatingSystems>
  </operating_systems>
  <platforms>
    <ApiPlatforms>
      <percent>3.1</percent>
      <platform_name>sample string 1</platform_name>
      <total>2.1</total>
    </ApiPlatforms>
    <ApiPlatforms>
      <percent>3.1</percent>
      <platform_name>sample string 1</platform_name>
      <total>2.1</total>
    </ApiPlatforms>
  </platforms>
  <sum_total_browsers>1</sum_total_browsers>
  <sum_total_operating_systems>2</sum_total_operating_systems>
  <sum_total_platforms>3</sum_total_platforms>
</ApiCampaignBrowsing>