put https://yourorgsite.com/api/GiftPremiumRule/
Updates an instance of GiftPremiumRule by id
Log in to see full request history
Response
200The request was successful.
Updates an instance of GiftPremiumRule by id
200The request was successful.
xxxxxxxxxx
17const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Fundraising.DataContracts.GiftPremiumRuleData, Asi.Contracts',
MaximumGiftAmount: {
$type: 'Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts',
Currency: {$type: 'Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts'},
IsAmountDefined: false
}
})
};
fetch('https://yourorgsite.com/api/GiftPremiumRule/GiftPremiumRuleId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Try It!
to start a request and see the response here!