Tabella dei contenuti
Manage Service: Create
Descrizione
Questa API permette di creare un servizio.
post
Esempi
Ecco un esempio con le informazioni minime per la creazione di un servizio di test:
1### REQUEST
2curl --location --request POST 'https://api.io.pagopa.it/api/v1/manage/services' \
3--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__' \
4--header 'Content-Type: application/json' \
5--data-raw '{
6 "name": "string",
7 "description": "string",
8 "organization": {
9 "name": "string",
10 "fiscal_code": "12345678901",
11 "department_name": "string"
12 },
13 "require_secure_channel": false,
14 "authorized_cidrs": [
15 "85.338.5.14"
16 ],
17 "max_allowed_payment_amount": 0,
18 "metadata": {
19 "web_url": "string",
20 "app_ios": "string",
21 "app_android": "string",
22 "tos_url": "string",
23 "privacy_url": "string",
24 "address": "string",
25 "phone": "string",
26 "email": "string",
27 "pec": "string",
28 "cta": "string",
29 "token_name": "string",
30 "support_url": "string",
31 "scope": "LOCAL"
32 }
33}'
34
1### RESPONSE
2{
3 "id": "string",
4 "status": {
5 "value": "draft",
6 "reason": "string"
7 },
8 "version": 0,
9 "last_update": "2018-10-13T00🕛️00.000Z",
10 "name": "string",
11 "description": "string",
12 "organization": {
13 "name": "string",
14 "fiscal_code": "12345678901",
15 "department_name": "string"
16 },
17 "require_secure_channel": false,
18 "authorized_recipients": [],
19 "authorized_cidrs": [
20 "85.338.5.14"
21 ],
22 "metadata": {
23 "web_url": "string",
24 "app_ios": "string",
25 "app_android": "string",
26 "tos_url": "string",
27 "privacy_url": "string",
28 "address": "string",
29 "phone": "string",
30 "email": "string",
31 "pec": "string",
32 "cta": "string",
33 "token_name": "string",
34 "support_url": "string",
35 "scope": "LOCAL"
36 }
37}
38
Risorse utili
Hai bisogno di aiuto?
Scrivi un’email in cui descrivi il tuo problema o dubbio all’indirizzo onboarding@io.italia.it
Dicci cosa ne pensi
Per segnalare problemi o dare feedback, lascia un commento nello spazio Github dell'app IO