Web service that allows you to purchase or renew Infocert or Aruba digital signatures, and to obtain digital identities.
This method shows you the list of all our products
Array of objects (Prodotto) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/prodotti"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "nome": "Rinnovo Certificato Firma",
- "tipo": "Infocert",
- "codice_prodotto": "RINFIR",
- "prezzo": 25
}, - {
- "nome": "Firma Digitale",
- "tipo": "Infocert",
- "codice_prodotto": "FIR",
- "prezzo": 29
}, - {
- "nome": "Business Key",
- "tipo": "Infocert",
- "codice_prodotto": "KEY",
- "prezzo": 59
}, - {
- "nome": "Lettore Smart Card USB",
- "tipo": "Infocert",
- "codice_prodotto": "LETTORE",
- "prezzo": 25
}
], - "success": true,
- "message": "",
- "error": null
}
This method allows you to purchase all the products on this web service such as smartcard readers or digital signatures
codice_prodotto required | string Default: "<string>" Example: FIR Type of codice_prodotto you want to buy |
assistenza | boolean Default: "<boolean>" product assistance |
object (Callback) |
ResponseRinnovo (object) or ResponseFirma (object) or ResponseLettore (object) or ResponseSpid (object) | |
success | boolean |
message | string |
error | integer |
{- "assistenza": true,
- "urgenza": true,
- "spedizione": "veloce",
- "anagrafica": {
- "nome": "alberto",
- "cognome": "neri",
- "email": "a.neri@altravia.it",
- "cellulare": "349xxxxx18",
- "codice_fiscale": "vnxxxxxxxl1x7d",
- "data_nascita": "28/12/2000",
- "sesso": "M",
- "comune_nascita": "terni",
- "provincia_nascita": "terni",
- "nazione_nascita": "terni",
- "indirizzo_residenza": "via rossi 2",
- "comune_residenza": "terni",
- "provincia_residenza": "terni",
- "cap_residenza": "05100",
- "nazione_residenza": "italia",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "tipo_documento": "patente",
- "numero_documento": "123456",
- "soggetto_emittente": "mctc",
- "data_emissione": "05/11/1990",
- "data_scadenza": "12/12/2020"
},
}
{- "data": {
- "assistenza": true,
- "urgenza": true,
- "spedizione": "veloce",
- "anagrafica": {
- "nome": "alberto",
- "cognome": "neri",
- "email": "a.neri@altravia.it",
- "cellulare": "34xxxxx18",
- "codice_fiscale": "vnxxxxxxx2xx117d",
- "data_nascita": "28/12/2000",
- "sesso": "M",
- "comune_nascita": "terni",
- "provincia_nascita": "terni",
- "nazione_nascita": "terni",
- "indirizzo_residenza": "via rossi 2",
- "comune_residenza": "terni",
- "provincia_residenza": "terni",
- "cap_residenza": "05100",
- "nazione_residenza": "italia",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "tipo_documento": "patente",
- "numero_documento": "123456",
- "soggetto_emittente": "mctc",
- "data_emissione": "05/11/1990",
- "data_scadenza": "12/12/2020",
- "note": ""
}, - "callback": {
- "method": "JSON",
- "field": "data",
- "data": { }
}, - "codice_richiesta": 12,
- "prodotto": "Firma Digitale",
- "codice_prodotto": "FIR",
- "tipo": "Infocert",
- "stato": "in_riconoscimento",
- "timestamp": {
- "acquisto": 1602587629,
- "emissione": 1602587629,
- "evasione": 1602587629,
- "scadenza": 1791890029
}, - "owner": "a.neri@altravia.com",
- "fornitore": {
- "ragione_sociale": "Altravia Servizi Srl",
- "sede_legale": "Roma - Via F.Tommaso Marinetti 221",
- "partita_iva": "07432261001",
- "legale_rappresentante": "",
- "email_assistenza": "",
- "email_contabilita": "",
- "telefono_assistenza": "",
- "sede_riconoscimento": "Roma - Via F.Tommaso Marinetti 221"
}, - "firma": {
- "codice_spedizione": "",
- "pin": "",
- "puk": "",
- "numero_dispositivo": "",
- "codice_carta": "",
- "numero_busta": "",
- "codice_utente": "",
- "iut": "",
- "alias": "",
- "codice_emergenza": ""
}, - "id": "5f7ef1e83a716836d3152662"
}, - "message": "",
- "success": true,
- "error": null
}