post https://yourorgsite.com/api/GiftInformationBatch/_execute
Executes an operation of GiftInformationBatch
With the GiftInformationBatch service, you can perform the following operations on the execute endpoint:
- Delete
- BuildInstallmentSchedule
- DeleteItemInBatch
Delete
BODY PARAMS:
{
"$type": "Asi.Soa.Fundraising.DataContracts.GiftInformationRequest, Asi.Contracts",
"EntityTypeName": "GiftInformationBatch",
"OperationName": "Delete",
"BatchId": "string value",
"GiftId": "string value",
"PaymentTerm": {
"$type": "Asi.Soa.Commerce.DataContracts.OrderLinePaymentTermsData, Asi.Contracts"
},
"TotalAmount": {
"$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts"
},
"SelectedUserId": "string value"
}
BuildInstallmentSchedule
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "BuildInstallmentSchedule",
"EntityTypeName": "GiftInformationBatch",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Fundraising.DataContracts.GiftInformationRequest",
"$value": "request Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Fundraising.DataContracts.GiftInformationRequest"
]
},
"UseJson": false
}
DeleteItemInBatch
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "DeleteItemInBatch",
"EntityTypeName": "GiftInformationBatch",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "batchId Value"
},
{
"$type": "System.String",
"$value": "giftId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.String"
]
},
"UseJson": false
}