Run with Postman

Public Administration (1.0.0)

Web service that returns information on all Italian public administrations

PA

Methods for the list of Italian public administrations

Specific public administration

This method returns the data of the public administration identified by piva or cf

Authorizations:
path Parameters
piva_or_cf
required
string
Default: "<string>"
Example: 03301860544

Tax code or VAT number

Responses

Response Schema: application/json
Array of objects (PA) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://pa.openapi.it/%7Bpiva_or_cf%7D");

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);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "1 aziende trovate",
  • "error": null
}