POST api/CampaignInclusion?systemName={systemName}&username={username}&password={password}
Creates a new campaign inclusion
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
systemName | string |
Required |
|
username | string |
Required |
|
password | string |
Required |
Body Parameters
APICampaignInclusionName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique identifier |
integer |
None. |
CampaignId |
Unique identifier of campaign to which this belongs |
integer |
None. |
NetworkId |
Unique identifier of network to which this relates |
integer |
None. |
PublisherId |
Unique identifier of publisher to which this relates |
integer |
None. |
SubPublisherId |
Unique identifier of sub publisher to which this relates |
integer |
None. |
SiteId |
Unique identifier of site to which this relates |
integer |
None. |
Timestamp |
Timestamp when this was created or modified |
string |
None. |
Comment |
Comment |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "campaignId": 2, "networkId": 1, "publisherId": 1, "subPublisherId": 1, "siteId": 1, "timestamp": "sample string 3", "comment": "sample string 4" }
application/xml, text/xml
Sample:
<APICampaignInclusion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models"> <CampaignId>2</CampaignId> <Comment>sample string 4</Comment> <Id>1</Id> <NetworkId>1</NetworkId> <PublisherId>1</PublisherId> <SiteId>1</SiteId> <SubPublisherId>1</SubPublisherId> <Timestamp>sample string 3</Timestamp> </APICampaignInclusion>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>