LogoLogo
v3.0
v3.0
  • 🏠Guida tecnica
  • 🕗Changelog
  • 🔢Setup iniziale
    • Adesione tramite l'Area Riservata
    • Iscrizione al Developer Portal
  • Funzionalità
    • 📦Pubblicare un servizio
      • Creare un servizio
      • Provare un servizio in test
      • Revisione del servizio
      • Visibilità del servizio
      • Importare servizi nell'Area Riservata
      • Dati obbligatori
        • Attributi
        • Service Metadata
      • Stato del servizio
      • Chiave manage
    • ✉️Inviare un messaggio
      • Messaggi di test
      • 📎Aggiungere allegati (Premium)
        • Specifiche degli endpoint di recupero degli allegati
  • 📐API
    • OpenAPI
    • API Servizi
      • Get Service
      • Create Service
      • Update Service
      • Get User Services
      • Regenerate Service Key
      • Upload service logo
      • Manage Service: Get
      • Manage Service: Get keys
      • Manage Service: Get User Services
      • Manage Service: Create
      • Manage Service: Delete
      • Manage Service: Update
      • Manage Service: Request Review
      • Manage Service: Release
      • Manage Service: Get Released
      • Manage Service: Unpublish
      • Manage Service: Regenerate api key
      • Manage Service: Upload service logo
      • Upload organization logo
    • API Messaggi
      • Get a User Profile using POST
      • Submit a Message passing the user fiscal_code in the request body
      • Get Message
      • Get Subscriptions Feed
      • ⚠️Get a User Profile
      • ⚠️Submit a Message passing the user fiscal_code as path parameter
    • Errori comuni
    • Specifiche API
  • 🔑Abilitazioni
    • Test con Codici Fiscali reali
    • Test invio avvisi pagoPA
    • Invio messaggi massivo
    • Subscription feed
    • Gestione dei servizi
    • Funzionalità Premium
  • Risorse Utili
    • ❓Supporto agli Enti
    • 📘Glossario
Powered by GitBook
On this page
  1. API
  2. API Servizi

Update Service

PreviousCreate ServiceNextGet User Services

Last updated 1 year ago

Deprecata: A partire dal 30 settembre 2023 questa API non sarà più disponibile. Sostituiscila con Manage Service: Update

Descrizione

Questa API aggiorna le informazioni relative ad un servizio. Per funzionare correttamente richiede l'inserimento del service_id come path parameter.

È obbligatorio utilizzare l’api-key del servizio stesso o la chiave manage

Esempi

### REQUEST
curl --location --request PUT 'https://api.io.pagopa.it/api/v1/services/SERVICE_ID' \
--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_name": "Test",
"department_name": "IT",
"organization_name": "Test",
"organization_fiscal_code": "00000000001",
"authorized_cidrs": [],
"is_visible": false,
"service_metadata": {
"scope": "LOCAL"
}
}'
### RESPONSE
{
"authorized_cidrs": [],
"authorized_recipients": ["AAAAAA00A00A000A"],
"department_name": "IT",
"id": "SERVICE_ID-0000000000000001",
"is_visible": false,
"max_allowed_payment_amount": 0,
"organization_fiscal_code": "00000000001",
"organization_name": "Test",
"require_secure_channels": false,
"service_id": "SERVICE_ID",
"service_metadata": { "scope": "LOCAL" },
"service_name": "Test",
"version": 1,
"primary_key": "__YOUR_PRIMARY_API_KEY__",
"secondary_key": "__YOUR_SECONDARY_API_KEY__"
}

Risorse utili

📐
https://developer.io.italia.it/openapi.html#operation/updateService
  • Descrizione
  • Esempi
  • Risorse utili