Update a Gift

PUT {{baseUrl}}/api/Gift/:giftId

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

{"giftType"=>"<string>", "giftDate"=>"<dateTime>", "amount"=>"<double>", "batch"=>"<string>", "segmentId"=>"<integer>", "receiptSegmentId"=>"<integer>", "mediaOutletId"=>"<integer>", "notes"=>"<string>", "isPrivate"=>"<boolean>", "receiptDate"=>"<dateTime>", "contactIndividualId"=>"<integer>", "contactPassthroughId"=>"<integer>", "cashAccountingCode"=>"<string>", "state"=>"<string>", "isTaxDeductible"=>"<boolean>", "giftAskId"=>"<integer>", "passthroughGiftAskId"=>"<integer>", "grantId"=>"<integer>", "contactMembershipId"=>"<integer>", "currencyCode"=>"<string>", "exchangeRate"=>"<decimal>", "checkNumber"=>"<string>", "creditCardType"=>"<string>", "cryptocoinType"=>"<string>", "transactionHash"=>"<string>", "coinSoldForCash"=>"<boolean>", "coinAmount"=>"<double>", "dateCoinWasSold"=>"<dateTime>", "coinSaleAmount"=>"<double>", "tickerSymbol"=>"<string>", "numberOfShares"=>"<double>", "stockSoldForCash"=>"<boolean>", "dateStockWasSold"=>"<dateTime>", "stockSaleAmount"=>"<double>", "iraCustodian"=>"string", "nonCashGiftTypeId"=>"<integer>", "nonCashGiftType"=>"<string>", "description"=>"<string>", "nonCashSoldForCash"=>"<boolean>", "dateNonCashWasSold"=>"<dateTime>", "nonCashOriginalAmount"=>"<double>", "nonCashSaleAmount"=>"<double>", "giftDesignations"=>[{"projectId"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}, {"projectId"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}], "giftPremiums"=>[{"premiumId"=>"<integer>", "quantity"=>"<integer>", "state"=>"<string>"}, {"premiumId"=>"<integer>", "quantity"=>"<integer>", "state"=>"<string>"}], "pledgePayments"=>[{"id"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}, {"id"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}], "recurringGiftPayments"=>[{"id"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}, {"id"=>"<integer>", "amount"=>"<double>", "state"=>"<string>"}], "tributeType"=>"<string>", "tributeId"=>"<integer>", "tributeDescription"=>"<string>", "acknowledgeeId"=>"<integer>", "customFields"=>[{"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}, {"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;transactionSource&quot;:&quot;\u003cstring\u003e&quot;,&quot;transactionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactName&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;giftType&quot;:&quot;\u003cstring\u003e&quot;,&quot;giftTypeFormatted&quot;:&quot;\u003cstring\u003e&quot;,&quot;giftDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;giftDateFormatted&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;amountFormatted&quot;:&quot;\u003cstring\u003e&quot;,&quot;currencyCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;exchangeRate&quot;:&quot;\u003cdecimal\u003e&quot;,&quot;baseCurrencyCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;batch&quot;:&quot;\u003cstring\u003e&quot;,&quot;createDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;modifiedDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;modifiedByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;segmentId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;segment&quot;:&quot;\u003cstring\u003e&quot;,&quot;segmentCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;segmentUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;mediaOutletId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;mediaOutlet&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;grant&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;notes&quot;:&quot;\u003cstring\u003e&quot;,&quot;tribute&quot;:&quot;\u003cstring\u003e&quot;,&quot;tributeId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;tributeType&quot;:&quot;\u003cstring\u003e&quot;,&quot;acknowledgeeIndividualId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;receiptDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;receiptDateFormatted&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactPassthroughId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactPassthroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactIndividualId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;cashAccountingCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;giftAskId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactMembershipId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;giftDesignations&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;projectId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;project&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;externalAccountingCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectType&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectLocation&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;amountDesignated&quot;:&quot;\u003cdouble\u003e&quot;,&quot;display&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;projectId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;project&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;externalAccountingCode&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectType&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectLocation&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;amountDesignated&quot;:&quot;\u003cdouble\u003e&quot;,&quot;display&quot;:&quot;\u003cstring\u003e&quot;}],&quot;giftPremiums&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;premiumId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;premium&quot;:&quot;\u003cstring\u003e&quot;,&quot;premiumUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;quantity&quot;:&quot;\u003cinteger\u003e&quot;,&quot;display&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;premiumId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;premium&quot;:&quot;\u003cstring\u003e&quot;,&quot;premiumUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;quantity&quot;:&quot;\u003cinteger\u003e&quot;,&quot;display&quot;:&quot;\u003cstring\u003e&quot;}],&quot;pledgePayments&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;}],&quot;recurringGiftPayments&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;gift&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;giftDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;amount&quot;:&quot;\u003cdouble\u003e&quot;},&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;dismissPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;fulfillPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;gift&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;giftDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;amount&quot;:&quot;\u003cdouble\u003e&quot;},&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;dismissPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;fulfillPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;}],&quot;giftUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;isPrivate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isTaxDeductible&quot;:&quot;\u003cboolean\u003e&quot;,&quot;customFields&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;}]}