post https://yourorgsite.com/api/AutoPayProcessor/_execute
Executes an operation of AutoPayProcessor
With the AutoPayProcessor service, you can perform the following operations on the execute endpoint:
- GenerateAutoPayInvoices
- SendInvoicePaymentsToDatavault
- RetrieveProcessedPaymentsFromDataVault
- EnsureValidQuery
GenerateAutoPayInvoices
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "GenerateAutoPayInvoices",
"EntityTypeName": "AutoPayProcessor",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.DateTime",
"$value": "runDate Value"
},
{
"$type": "System.String",
"$value": "renewalPolicyId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.DateTime",
"System.String"
]
},
"UseJson": false
}
RetrieveProcessedPaymentsFromDataVault
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "RetrieveProcessedPaymentsFromDataVault",
"EntityTypeName": "AutoPayProcessor",
"UseJson": false
}
EnsureValidQuery
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "EnsureValidQuery",
"EntityTypeName": "AutoPayProcessor",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDocumentId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}