Update a Planned Gift
PUT {{baseUrl}}/api/PlannedGift/:plannedGiftId
Similar to other update methods in the API, excluding a property will remove it's value from the object. If you're only updating a single property, the entire model is still required.
Request Body
{"plannedGiftDate"=>"<dateTime>", "plannedGiftType"=>"<string>", "frequency"=>"Once|Monthly|Quarterly|Semiannually|Annually|Biennially", "anticipatedAmount"=>"<double>", "anticipatedStartDate"=>"<dateTime>", "numberOfOccurrences"=>"<integer>", "currentValue"=>"<double>", "contactIndividualId"=>"<integer>", "assignedUserId"=>"<integer>", "projectId"=>"<integer>", "segmentId"=>"<integer>", "thankYouDate"=>"<dateTime>", "customFields"=>[{"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}, {"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":"\u003cinteger\u003e","plannedGiftUrl":"\u003cstring\u003e","giftsAppliedUrl":"\u003cstring\u003e","contactId":"\u003cinteger\u003e","contactUrl":"\u003cstring\u003e","plannedGiftDate":"\u003cstring\u003e","pkannedGiftType":"\u003cstring\u003e","frequency":"\u003cstring\u003e","anticipatedAmount":"\u003cstring\u003e","anticipatedStartDate":"\u003cstring\u003e","numberOfOccurrences":"\u003cinteger\u003e","currentValue":"\u003cstring\u003e","fulfilled":"\u003cstring\u003e","projectId":"\u003cinteger\u003e","project":"\u003cstring\u003e","projectUrl":"\u003cstring\u003e","segmentId":"\u003cinteger\u003e","segment":"\u003cstring\u003e","segmentUrl":"\u003cstring\u003e","createDateTimeUtc":"\u003cdateTime\u003e","createdByUser":"\u003cstring\u003e","modifiedDateTimeUtc":"\u003cdateTime\u003e","modifiedByUser":"\u003cstring\u003e","customFields":[{"name":"\u003cstring\u003e","value":"\u003cstring\u003e","displayName":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","value":"\u003cstring\u003e","displayName":"\u003cstring\u003e"}]}