POST api/MonitorHistory?systemName={systemName}&username={username}&password={password}

Create new monitor data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APIMonitorData
NameDescriptionTypeAdditional information
Timestamp

integer

None.

Searches

integer

None.

Impressions

integer

None.

Clicks

integer

None.

Events

integer

None.

Spend

decimal number

None.

Providers

Collection of APIMonitorDataSubset

None.

Feeds

Collection of APIMonitorDataSubset

None.

Advertisers

Collection of APIMonitorDataSubset

None.

Campaigns

Collection of APIMonitorDataSubset

None.

Publishers

Collection of APIMonitorDataSubset

None.

Sites

Collection of APIMonitorDataSubset

None.

Request Formats

application/json, text/json

Sample:
{
  "timestamp": 1,
  "searches": 2,
  "impressions": 3,
  "clicks": 4,
  "events": 5,
  "spend": 6.1,
  "providers": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ],
  "feeds": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ],
  "advertisers": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ],
  "campaigns": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ],
  "publishers": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ],
  "sites": [
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    },
    {
      "id": 1,
      "searches": 2,
      "impressions": 3,
      "clicks": 4,
      "events": 5,
      "spend": 6.1
    }
  ]
}

application/xml, text/xml

Sample:
<APIMonitorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Advertisers>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Advertisers>
  <Campaigns>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Campaigns>
  <Clicks>4</Clicks>
  <Events>5</Events>
  <Feeds>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Feeds>
  <Impressions>3</Impressions>
  <Providers>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Providers>
  <Publishers>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Publishers>
  <Searches>2</Searches>
  <Sites>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
    <APIMonitorDataSubset>
      <Clicks>4</Clicks>
      <Events>5</Events>
      <Id>1</Id>
      <Impressions>3</Impressions>
      <Searches>2</Searches>
      <Spend>6.1</Spend>
    </APIMonitorDataSubset>
  </Sites>
  <Spend>6.1</Spend>
  <Timestamp>1</Timestamp>
</APIMonitorData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>