Discussions
Executing an invoice operaton
Hi,
We are trying to execute the ProcessAccrualAdjustment invoice operation to modify the pricing on accrual invoices and need some help with the request. This is the json to be included in the body based on the documentation:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "ProcessAccrualAdjustment",
"EntityTypeName": "Invoice",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection1[[System.Object, mscorlib]], mscorlib", "$values": [ { "$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionAccrualAdjustmentData, Asi.Contracts", "$value": "invoiceActionAccrualAdjustmentData Value" } ] }, "ParameterTypeName": { "$type": "System.Collections.ObjectModel.Collection
1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Commerce.DataContracts.InvoiceActionAccrualAdjustmentData, Asi.Contracts"
]
},
"UseJson": false
}
Can you please help us with the values we need to send over for 'invoiceActionAccrualAdjustmentData' or if you can send an example for such a request that'll help us out a lot. If this is not the right request to adjust the pricing on an accrual invoice, please point us in the right direction.
Thank you!!