HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
API Reference
These docs are for v20.3.44. Click to read the latest docs for v20.3.189.

Executes a GiftPremium operation

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"
    }
}
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!