Logo
Openapi.it Public API Documentation

{{baseUrl}}/account/:id/rinnovo

GET {{baseUrl}}/account/:id/rinnovo?anni=<integer>

This method allows you to renew for one or more year the legal invoice account identified by the id

 

Body PARAM

Key Datatype Required Description 
anni
string Number of years for which you want to renew the account. If not passed it is 1 by default



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": { "cf_piva_titolare": "12485671007", "denominazione_titolare": "openapi srl", "comune_titolare": "roma", "indirizzo_titolare": "via filippo marinetti 221", "cap_titolare": "00143", "provincia_titolare": "rm", "email": "info@openapi.it", "nome_richiedente": "Mario", "cognome_richiedente": "Rossi", "sesso_richiedente": "M", "cf_richiedente": "MRXXXXXXXXXXXF", "documento_identita": "d64681184e3637335b606acdfa79b927.pdf", "modulo_attivazione": "75a9580aeb9a97d050cd00118bceb7f8.pdf", "callback": { "url": "https://mysite.it/callback.php", "field": "data", "method": "POST", "data": {} }, "data_nascita_richiedente": null, "telefono": null, "cellulare": null, "stato": "attivo", "tipo_account": "forfettario", "username": "username@url.it", "password": "iujedwhn324234", "fatture": 50, "fatture_extra": 0, "ragioni_sociali_extra": 0, "timestamp_creazione": 1655807719, "timestamp_ultima_modifica": 1655816051, "timestamp_scadenza": 1939728960, "owner": "gcloud-tests@openapi.it", "autorinnovo": false, "id": "62b19eea2f7b5264ce34ac29" }, "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/account/:id/rinnovo?anni=<integer>?anni=<integer>' -H 'Accept: application/json'

ENDPOINTS