Manage Service: Request Review

Descrizione

Questa API sottopone il servizio alla revisione di PagoPA. Per funzionare correttamente richiede l'inserimento del service_id come path parameter. Puoi richiedere che il servizio venga automaticamente attivato in caso di approvazione specificandolo nel body della richiesta.

Devi usare la nuova chiave manage per la gestione dei servizi.

Per utilizzare questa API è necessario richiedere un'abilitazione specifica.

Send service to review

Send service to review by service ID

PUThttps://api.io.pagopa.it/api/v1/manage/services/{serviceId}/review
Authorization
Path parameters
serviceId*string

ID of the service

Body
auto_publish*boolean

Flag to request an automatic service publication on service approval.

Example: true
Response

Service revirew taken in charge

Request
const response = await fetch('https://api.io.pagopa.it/api/v1/manage/services/{serviceId}/review', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "auto_publish": true
    }),
});
const data = await response.json();
Response
{
  "type": "https://example.com/problem/constraint-violation",
  "title": "text",
  "status": 200,
  "detail": "There was an error processing the request",
  "instance": "https://example.com"
}

Risorse utili

https://developer.io.italia.it/openapi.html#operation/cmsReviewService

Last updated