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

Creates a new publisher remuneration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APIPublisherRemuneration
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

PublisherId

Unique identifier of publisher to which this belongs

integer

None.

EffectiveFromDate

Date from whence this becomes active

string

None.

SpendPercentage

Revenue share percentage

decimal number

None.

FixedImpressionRemuneration

Fixed impression remuneration

decimal number

None.

FixedClickRemuneration

Fixed click remuneration

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "publisherId": 2,
  "effectiveFromDate": "sample string 3",
  "spendPercentage": 1.1,
  "fixedImpressionRemuneration": 1.1,
  "fixedClickRemuneration": 1.1
}

application/xml, text/xml

Sample:
<APIPublisherRemuneration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <EffectiveFromDate>sample string 3</EffectiveFromDate>
  <FixedClickRemuneration>1.1</FixedClickRemuneration>
  <FixedImpressionRemuneration>1.1</FixedImpressionRemuneration>
  <Id>1</Id>
  <PublisherId>2</PublisherId>
  <SpendPercentage>1.1</SpendPercentage>
</APIPublisherRemuneration>

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>