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 (Query)
- SendInvoicePaymentsToDataVault (DueDate)
- RetrieveProcessedPaymentsFromDataVault
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
}
SendInvoicePaymentsToDataVault (Query)
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "SendInvoicePaymentsToDataVault",
"EntityTypeName": "AutoPayProcessor",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDocumentId Value"
},
{
"$type": "System.Collections.Generic.Dictionary`2[[System.String, mscorlib, ]]",
"$value": "queryParameters Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.Collections.Generic.Dictionary`2[[System.String, mscorlib, ]]"
]
},
"UseJson": false
}
SendInvoicePaymentsToDataVault (DueDate)
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "SendInvoicePaymentsToDataVault",
"EntityTypeName": "AutoPayProcessor",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "queryDocumentId Value"
},
{
"$type": "System.DateTime",
"$value": "dueDate Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.DateTime"
]
},
"UseJson": false
}
RetrieveProcessedPaymentsFromDataVault
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "RetrieveProcessedPaymentsFromDataVault",
"EntityTypeName": "AutoPayProcessor",
"UseJson": false
}