Onboarding Questionnaire - Admin
Write this section into the tenant's tables
Changed onAccept a section: the answers land in the real tables.
Three guards, in this order:
- the questionnaire is under review (same gate as every other verb);
- the answers still hash to what the preview was built from -- otherwise the plan the reviewer approved is not the plan that would run;
- claim_section_for_apply moves the row to applying atomically, so a double-clicked button matches zero rows the second time and gets a 409.
The claim is released in finally. That covers an exception; it does NOT cover a killed worker, which is what /reset is for.
post/api/admin/onboarding-questionnaires/{questionnaire_id}/sections/{section_key}/apply
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/admin/onboarding-questionnaires/{questionnaire_id}/sections/{section_key}/apply
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Path parameters
questionnaire_idinteger required
section_keystring required
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info