Time Registration Approval Service

This service expects a Power BI action payload.

Usage

Send a POST request to /api/approve with the payload you receive from Power BI, or make a GET request to /api/approve supplying the same values as query parameters.

{
  "visualPayload": "<base64 json>",
  "actionMetaData": "<base64 json>",
  "visualPayloadSig": "<optional signature>",
  "actionMetaDataSig": "<optional signature>"
}

Interactive Tester

Need a sandbox? Launch the Approval Payload Tester to craft payloads, encode or decode base64 fields, and preview the rendered modal.

When required fields are missing, the service shows a dialog explaining what is needed. To finalize an approval or rejection, the dialog submits to /api/decision.

Refer to the README for full documentation or trigger a real request from Power BI to see the modal.