PUT api/{context}/pledge/Save

Save a pledge with all of the supplied information.
CAUTION: Values missing from the model will result in the same values missing in Aegis CRM, which could be unintended.
Please ensure that any model values returned by a prior look-up are also supplied to the model before calling the Save method.
Due to PCI Compliance, we cannot store full credit card details, so the Number will automatically be masked.

Request Information

ParameterDescriptionAdditional information
A model representing an entire pledge record.

Define this parameter in the request body.


The Partner, Appeal, and Pledge Program must already exist in Aegis CRM.
Partner Id, Pledge Amount, Payment Type, Start Date, and Pledge Type are all required fields.
Auto-debiting pledges must have a Pledge Program.

Special Field Notes

Field NameNotes
Set the batch type to be used for this transaction, defaults to 'Web'
Set the Channel (E.G.: CallCenter, Web, Mail, Phone, Walk In, etc.)
Represents the day of the month that it will charge.
Valid options include: Once, Daily, Weekly, Monthly, Bimonthly, Quarterly, Annually, Semiannually, Semimonthly
Represents the unique identifier for this pledge.  On Create/POST Auto-generated by the Aegis CRM application, any values you provide will be ignored. On Save/PUT, use only those provided in GET results.
For CreditCard, valid options are: Visa, MasterCard, Discover, or American Express. For EFT, valid options are: Checking or Savings 
Generated by the Aegis CRM application when a new recurring profile is created.  Any values you pass will be ignored. 
Valid options include: CreditCard, ElectronicFundsTransfer, Check, Cash, or {Some Other Custom Type That is Meaningless to Aegis CRM} 
Valid options include: OneTime, OpenEnded, FixedPeriod, GoalBased
Represents the first day the pledge is due.

Request body formats

application/json, text/json

  "ID": "2ff277da-3e1f-404b-b4ae-1f57f1a91ace",
  "PartnerID": "sample string 1",
  "PledgeAmount": 1.0,
  "DatePledged": "2024-03-03T19:31:09.6242892-07:00",
  "AppealCode": "sample string 2",
  "StartDate": "2024-03-03T19:31:09.6242892-07:00",
  "DayToCharge": 1,
  "PledgeType": "sample string 3",
  "Frequency": "sample string 4",
  "Installments": 1,
  "PledgeProgramName": "sample string 5",
  "BatchType": "sample string 6",
  "Active": true,
  "AutoPayment": true,
  "PaymentType": "sample string 9",
  "PaymentSubType": "sample string 10",
  "PaymentBank": "sample string 11",
  "PaymentNumber": "sample string 13",
  "PaymentExtraID": "sample string 14",
  "PaymentExpDate": "2024-03-03T19:31:09.6242892-07:00",
  "PaymentFirstName": "sample string 15",
  "PaymentMiddleName": "sample string 16",
  "PaymentLastName": "sample string 17",
  "PaymentAddress1": "sample string 18",
  "PaymentAddress2": "sample string 19",
  "PaymentCity": "sample string 20",
  "PaymentStateProvince": "sample string 21",
  "PaymentPostalCode": "sample string 22",
  "PaymentCountry": "sample string 23",
  "PaymentTokenID": "sample string 24",
  "PendingProfileUpdate": true,
  "Note": "sample string 26",
  "Channel": "sample string 27"

application/xml, text/xml

<PledgeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <AppealCode>sample string 2</AppealCode>
  <BatchType>sample string 6</BatchType>
  <Channel>sample string 27</Channel>
  <Frequency>sample string 4</Frequency>
  <Note>sample string 26</Note>
  <PartnerID>sample string 1</PartnerID>
  <PaymentAddress1>sample string 18</PaymentAddress1>
  <PaymentAddress2>sample string 19</PaymentAddress2>
  <PaymentBank>sample string 11</PaymentBank>
  <PaymentCity>sample string 20</PaymentCity>
  <PaymentCountry>sample string 23</PaymentCountry>
  <PaymentExtraID>sample string 14</PaymentExtraID>
  <PaymentFirstName>sample string 15</PaymentFirstName>
  <PaymentLastName>sample string 17</PaymentLastName>
  <PaymentMiddleName>sample string 16</PaymentMiddleName>
  <PaymentNumber>sample string 13</PaymentNumber>
  <PaymentPostalCode>sample string 22</PaymentPostalCode>
  <PaymentStateProvince>sample string 21</PaymentStateProvince>
  <PaymentSubType>sample string 10</PaymentSubType>
  <PaymentTokenID>sample string 24</PaymentTokenID>
  <PaymentType>sample string 9</PaymentType>
  <PledgeProgramName>sample string 5</PledgeProgramName>
  <PledgeType>sample string 3</PledgeType>
  <UnmaskedPaymentNumber>sample string 13</UnmaskedPaymentNumber>