Skip to main content
POST
Queue a registration for PRO submission
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /work/registrations//queue Description: Sets queuedAt = now() so the proSubmissionService worker picks the row up on its next pass. This is the explicit opt-in to submit — registration creation never auto-queues. Only rows currently pending can be (re)queued; a row that has already advanced past pending returns 400 and is never re-armed. Re-queuing a still- pending row is a no-op besides refreshing queuedAt (the unique (workId, societyCode) index plus the worker’s own attempts bookkeeping prevent double submission). Authorization:
  • Required role: admin or higher
Method: POST

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Response

Registration queued

success
boolean
Example:

true

data
object