POST api/CampaignManagement/GreetingMessage

Request Information

URI Parameters

None.

Body Parameters

CampaignGreetingBindingModel
NameDescriptionTypeAdditional information
CampaignId

integer

Required

LanguageValue

string

Required

String length: inclusive between 0 and 10

Greeting

string

Required

String length: inclusive between 0 and 2048

Greeting2

string

Required

String length: inclusive between 0 and 2048

DonationGreeting

string

Required

String length: inclusive between 0 and 2048

NewDonorPageGreeting

string

None.

PaymentPageGreeting

string

None.

PledgePrompt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "campaignId": 1,
  "languageValue": "sample string 2",
  "greeting": "sample string 3",
  "greeting2": "sample string 4",
  "donationGreeting": "sample string 5",
  "newDonorPageGreeting": "sample string 6",
  "paymentPageGreeting": "sample string 7",
  "pledgePrompt": "sample string 8"
}

application/xml, text/xml

Sample:
<CampaignGreetingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <CampaignId>1</CampaignId>
  <DonationGreeting>sample string 5</DonationGreeting>
  <Greeting>sample string 3</Greeting>
  <Greeting2>sample string 4</Greeting2>
  <LanguageValue>sample string 2</LanguageValue>
  <NewDonorPageGreeting>sample string 6</NewDonorPageGreeting>
  <PaymentPageGreeting>sample string 7</PaymentPageGreeting>
  <PledgePrompt>sample string 8</PledgePrompt>
</CampaignGreetingBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.