Webhook handler that initiates an SABC TV licence check. Acts as a bridge between an initial data payload and the backend ObjServiceSabc service. When triggered, it retrieves a South African ID number from a payload table, creates a new service request, and executes the licence check service directly.
ObjData.ObjData
|
+-- ObjHook
- _IsA = "ObjHookSabcLicenceCheck"
- _Version = "1.4"
- Page
+ Process(Payload, Param1..Param8)
| Method | Description |
|---|---|
__init__(DB, Page) |
Initialises the hook with database connection and page reference |
Process(Payload, Param1..Param8) |
Looks up ID number from payload GUID, inserts a service record, runs the SABC service, and marks the record as done |
Param1) identifying the initial request payload.bloom_sabclicencecheck_ to retrieve the Idnumber for the request.stage_service with status HOOK.ObjServiceSabc.ObjServiceApi and calls RunDirect with the ID number.stage_service record status to DONE."DONE".| Table | Operation |
|---|---|
bloom_sabclicencecheck_ |
SELECT - source of ID number |
stage_service |
INSERT/UPDATE - service job tracking |
ObjData - base database functionalityObjServiceSabc - SABC licence check API serviceUpdated: 2026-03-20