This service allows you to check if a person is working for a specific company. The service is based on the Italian fiscal code and the company's tax code.
status | string Default: "<string>" Enum: "pending" "error" "completed" Example: status="completed" Filter for request status |
Array of objects[ items ] | |
success | boolean |
message | string |
error | string <nullable> |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://rpl.openapi.it/request?status=SOME_STRING_VALUE"); 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": [
- {
- "status": "pending",
- "request_id": "1010101010101010100110",
- "callback_status_code": null
}, - {
- "status": "completed",
- "request_id": "1010101010101010100111",
- "callback_status_code": 200
}
], - "success": true,
- "message": "",
- "error": null
}
Please note that this endpoint only accepts a single fiscal code
required | object (callback) |
fiscal_codes required | Array of strings <= 2 items Valid Italan fiscal codes |
message | string |
object | |
success | boolean |
error | string <nullable> |
{- "fiscal_codes": [
- "AABCCDDDDD112224"
],
}
{- "data": {
- "fiscal_codes": [
- "AABCCDDDDD112224"
], - "status": "pending",
- "request_id": "123123123123123",
}, - "success": true,
- "message": "",
- "error": null
}
{- "results": [
- {
- "rintraccio": [
- {
- "cf": "Example cf",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}
], - "cf": "AABCCDDDDD112223",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}
], - "status": "completed",
- "request_id": "123123123123123"
}
id required | string Default: "<string>" The id of the request |
object | |
success | boolean |
message | string |
error | string <nullable> |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://rpl.openapi.it/request/%7Bid%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);
{- "data": {
- "results": [
- {
- "rintraccio": [
- {
- "cf": "Example cf",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}
], - "cf": "AABCCDDDDD112223",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}, - {
- "rintraccio": [
- {
- "cf": "Example cf",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}
], - "cf": "AABCCDDDDD112224",
- "cf_datore_di_lavoro": "Example cf_datore_di_lavoro",
- "tipo": "Example tipo",
- "reddito": "Example reddito",
- "mese": "Example mese",
- "part_full_time": "Example part_full_time",
- "inizio": "Example inizio",
- "fine": "Example fine",
- "p_iva": "Example p_iva",
- "cognome_ragione_sociale": "Example cognome_ragione_sociale",
- "nome": "Example nome",
- "via": "Example via",
- "cap": "Example cap",
- "comune": "Example comune",
- "provincia": "Example provincia"
}
], - "fiscal_codes": [
- "AABCCDDDDD112223",
- "AABCCDDDDD112224"
], - "status": "completed",
- "request_id": "1010101010101010100110",
- "callback_status_code": 200
}
}
Please note that this endpoint is only available in the sandbox environment.
id required | string Default: "<string>" The id of the request |