POST api/campaignvalue/alt/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Collection of MarketingCampaignValue
NameDescriptionTypeAdditional information
ID

integer

None.

MarketingCampaignRecipientId

integer

None.

Name

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "MarketingCampaignRecipientId": 2,
    "Name": "sample string 3",
    "Value": "sample string 4"
  },
  {
    "ID": 1,
    "MarketingCampaignRecipientId": 2,
    "Name": "sample string 3",
    "Value": "sample string 4"
  }
]

text/html

Sample:
[{"ID":1,"MarketingCampaignRecipientId":2,"Name":"sample string 3","Value":"sample string 4"},{"ID":1,"MarketingCampaignRecipientId":2,"Name":"sample string 3","Value":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfMarketingCampaignValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <MarketingCampaignValue>
    <ID>1</ID>
    <MarketingCampaignRecipientId>2</MarketingCampaignRecipientId>
    <Name>sample string 3</Name>
    <Value>sample string 4</Value>
  </MarketingCampaignValue>
  <MarketingCampaignValue>
    <ID>1</ID>
    <MarketingCampaignRecipientId>2</MarketingCampaignRecipientId>
    <Name>sample string 3</Name>
    <Value>sample string 4</Value>
  </MarketingCampaignValue>
</ArrayOfMarketingCampaignValue>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.