DevPortalPagoPA



Tabella dei contenuti

Operations and lifecycle

Creating a draft and submitting

It is possible to create new purposes for all e-services for which the party has an active service request.
If the load estimate indicated in the purpose is below both thresholds set by the producer, the purpose is automatically activated.
Purposes can remain in draft indefinitely. Once submitted to the producer, the activation proceeds automatically until the maximum thresholds defined by the producer are reached.
When the thresholds are exceeded, the producer can manually activate the purpose and indicate an expected activation date to allow the consumer to plan accordingly.

Updating the load estimate

The load estimate (API calls/day) can be updated at any time.
If the new estimate exceeds one or both thresholds configured in the e-service version, the update is not applied immediately: it requires manual approval by the producer.
More details on the threshold/estimate mechanism are provided in the dedicated section.

Approval or rejection above threshold

When a new purpose or an update to the load estimate exceeds the thresholds, the producer may:
  • manually activate the purpose (or update);
  • reject it, providing the consumer with a reason visible in the front office or via API.
    The consumer may then create new purposes or resubmit the update with a different estimate.

Suspending or reactivating a purpose

Suspension can be applied independently by the consumer or the producer; to become active again, the purpose must be reactivated by the actor who suspended it.
If both suspend, both must reactivate.
During suspension, no associated client can obtain vouchers for that purpose; this condition is also indicated in the client assertion debug tool available in the front office. More details on this tool are available in the dedicated section. [TODO]

Archiving a purpose

When a purpose is no longer needed, it can be archived.
Archiving is irreversible, but it is always possible to create new purposes, even with the same characteristics as those archived.
Archiving reduces the estimated load on the producer by an amount equal to the estimate associated with that purpose. The consumer can then reuse that capacity for other purposes on the same e-service, within the overall threshold set.
The keys stored on associated clients can no longer be used to obtain vouchers for that purpose, but remain valid for other purposes to which they are linked.
It is best practice to periodically review all purposes and archive those no longer in use, improving overall service quality.

States

The following table summarizes the states a purpose can assume and their operational implications.
StateDescriptionAllowed sections
DraftPurpose being created, not yet submitted to the producer.It can remain in draft indefinitely; it can be submitted; the consumer can delete it.
ActiveActive purpose; allows client association and voucher retrieval to access the producer’s API.Activation is automatic below threshold; above threshold it requires manual approval.
SuspendedTemporarily disabled by the producer or consumer.The actor who suspended it must reactivate it; if both suspended, both must reactivate. No vouchers are issued for the purpose while suspended.
Waiting for approvalThe purpose (or an update) has a load estimate above threshold.Requires manual approval by the producer to become active.
RejectedThe producer has rejected the purpose (or update) because the estimate is incompatible with their capacity.The reason is available in the front office; the consumer can resubmit the purpose or update.
ArchivedThe purpose is no longer used to obtain vouchers.The operation is irreversible; new purposes with similar content can be created.

Hai bisogno di aiuto?

Apri un ticket utilizzando l’apposita funzione all’interno della tua Area Riservata

Dicci cosa ne pensi

Per segnalare problemi o dare feedback, puoi aprire una segnalazione su Github