post https://yourorgsite.com/api/GiftPremium/_execute
Executes an operation of GiftPremium
With the GiftPremium service, you can perform the following operations on the execute endpoint:
- Insert a record into the Donation Premium table
- Retrieve GiftPremium products given a gift id
Insert a record into the Donation Premium table
BODY PARAMS:
{
"$type": "Asi.Soa.Fundraising.DataContracts.GiftPremiumRequest, Asi.Contracts",
"EntityTypeName": "GiftPremium",
"AdditionalData": "Object value",
"Operation": {
"$type": "Asi.Soa.Fundraising.DataContracts.GiftPremiumOperationData, Asi.Contracts",
"$value": 0
}
}
Retrieve GiftPremium products given a gift id
BODY PARAMS:
{
"$type": "Asi.Soa.Fundraising.DataContracts.GiftPremiumRequest, Asi.Contracts",
"EntityTypeName": "GiftPremium",
"Operation": {
"$type": "Asi.Soa.Fundraising.DataContracts.GiftPremiumOperationData, Asi.Contracts",
"$value": 1
},
"SourceCode": {
"$type": "Asi.Soa.Communications.DataContracts.SourceCodeData, Asi.Contracts"
},
"PremiumGiftId": "string value",
"PartyId": "string value",
"GiftAmount": {
"$type": "System.Nullable`1[[Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Asi.Contracts"
},
"Pager": {
"$type": "Asi.Soa.Core.DataContracts.PagerData, Asi.Contracts"
}
}