Status Check and Reconciliation

Retrieves the current application state (and initiates reconciliation)

Changed on

Called upon user access or retry. Executes the INPS CheckDomanda call in the background, reconciles the local DB state, and returns the current stable state required for the FE to direct the user flow.

get/status

Request

  • Base URL: https://api.your-bff.it/v1
  • URL: https://api.your-bff.it/v1/status
  • Auth: HTTP bearer

Response

Application status determined (reconciled)

state'READY_FOR_NEW_DRAFT' | 'DRAFT' | 'READY_FOR_PHOTO_UPLOAD' | 'UPLOADING_PHOTO' | 'READY_FOR_DOCUMENTS_UPLOAD' | 'UPLOADING_DOCUMENTS' | 'ACQUIRED'

Internal workflow state (managed by the BFF/DB) that guides the FE's display logic.

idLavorazionestring nullable

INPS idLavorazione bound to the application, when one exists.

numDomusstring

INPS-assigned document number, present when state is ACQUIRED.

Changes

    • ○

      added the non-success response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status