Hello,
that's possible by first configuring the desired customer / supplier class with "WebhookNotification" flag checked in the Financials ERP UI, then sending a POST Customer/Supplier request via API with the configured "ClassID" in the payload.
Customer Class(ScreenId=AR201000)
Supplier Class (ScreenId=AP201000)
POST Customer example:
{
"name": {
"value": "YLD [TEST]"
},
"number": {
"value": "22455"
},
"status": {
"value": "Active"
},
"currencyId": {
"value": "NOK"
},
"customerClassId": {
"value": "1"
}
}
Output:
POST Supplier example:
{
"number": {
"value": "30244"
},
"name": {
"value": "YLD[TEST]"
},
"status": {
"value": "Active"
},
"supplierClassId": {
"value": "1"
}
}
Output:
... View more