Logo
Openapi.it Public API Documentation

{{baseUrl}}/bilancio-ottico

POST {{baseUrl}}/bilancio-ottico

Endpoint that allows you to generate a request. Starting from a VAT number or from the id of the company returning from the search, the request is accepted only if the company is a joint stock company. If 'anno_chiusura' field is not passed, the system intercepts the last available balance sheet.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "data": { "cf_piva_id": "12485671007", "anno_chiusura": null, "tipo": "bilancio-ottico", "stato_richiesta": "In ricerca", "timestamp_creation": 1701095027, "timestamp_last_update": 1701095027, "allegati": [], "callback": false, "owner": "gcloud-tests@openapi.it", "id": "6564a6739b25c29e4f0dab34" }, "message": "", "success": true, "error": null }



Curl
curl -X POST 'baseUrl/bilancio-ottico' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"cf_piva_id":"\u003cstring\u003e","anno_chiusura":"\u003cstring\u003e","callback":{"url":"\u003cstring\u003e","field":"\u003cstring\u003e","method":"\u003cstring\u003e","data":"\u003cobject\u003e"}}'

ENDPOINTS