Webhook handler for the HCScore service.
ObjData.ObjData
└── ObjHook
| Method | Description |
|---|---|
__init__(database_connection, page_object) |
Initialise the webhook handler with database connection and optional page object. |
Process(payload_data, webhook_code, param_1..param_8) |
Run the workflow identified by webhook_code, using param_1 as the record GUID. |
| Attribute | Description |
|---|---|
payload |
Raw payload string placeholder. |
{
"Guid": "5e86febf-50ec-4f60-b2e0-88c4014e2e57_MPR3",
"AcctClass": "2",
"AcctClassType": "1",
"ApplicationChannel": "2",
"CellNo": "0722674583",
"IDNumber": "6912145059085",
"FirstName": "Piet",
"Surname": "Pompie22s",
"ScoreCardNo": "1",
"ScoreCategory": "2"
}
Receives HCScore webhook calls from the webhook dispatcher and delegates processing to the corresponding workflow. The webhook_code parameter identifies which workflow to run, and param_1 carries the record GUID.
Updated: 2026-03-20
cythonize -3 -a -i ObjHookHCScore.py