bcquality/microsoft/knowledge/web-services/webhook-eligibility-and-validationtoken-renewal.good.js
Jesper Schulz-Wedde 0bb1065bc3
Add P0 integration and control add-in runtime guidance (#100)
* Add P0 integration and control add-in guidance

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 02baffe8-0600-430d-81fa-a9993685e7cb

* Correct API part multiplicity guidance

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 02baffe8-0600-430d-81fa-a9993685e7cb

* Refine API part multiplicity guidance

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1c37924e-9749-4e63-9d58-bd73d659f736

---------

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
2026-07-14 12:53:26 +02:00

11 lines
339 B
JavaScript

function receiveBusinessCentralWebhook(request, response) {
const validationToken = request.query.validationToken;
if (typeof validationToken === "string") {
response.status(200).type("text/plain").send(validationToken);
return;
}
processNotifications(request.body.value);
response.sendStatus(200);
}