This service offers rest calls to take advantage of a whole series of chamber of commerce, cadastral or patronage services linked to businesses and individuals
For each element of the list, 'hash_visura' is important, which identifies the service
Array of objects (Visure) [ 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://test.visengine2.altravia.com/visure"); 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_visura": "Visura Camerale Ordinaria - società di Capitale ",
- "nome_categoria": "Camerali",
- "hash_visura": "eccbc87e4b5ce2fe28308fd9f2a7baf3"
}, - {
- "nome_visura": "Visura Camerale Ordinaria - società di Persone",
- "nome_categoria": "Camerali",
- "hash_visura": "a87ff679a2f3e71d9181a67b7542122c"
}, - {
- "nome_visura": "Visura Camerale Ordinaria - Impresa Individuale",
- "nome_categoria": "Camerali",
- "hash_visura": "e4da3b7fbbce2345d7772b0674a318d5"
}, - {
- "nome_visura": "Visura Camerale Storica - Società di Capitale ",
- "nome_categoria": "Camerali",
- "hash_visura": "8f14e45fceea167a5a36dedd4bea2543"
}
], - "success": true,
- "message": "",
- "error": null
}
Service description with input parameters, prices and validation instructions
hash_visura required | string Default: "<string>" Example: 8f14e45fceea167a5a36dedd4bea2543 hash_visura of visura to return |
object (Visura) | |
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://test.visengine2.altravia.com/visure/%7Bhash_visura%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": {
- "nome_visura": "Visura Camerale Ordinaria - società di Capitale ",
- "ricerca": false,
- "nome_categoria": "Camerali",
- "json_struttura": {
- "campi": {
- "$0": {
- "nome": "NRea",
- "tipo": "denominazione",
- "null": false,
- "istruzioni": "Inserire il Numero di Rea dell'azienda"
}, - "$1": {
- "nome": "Cciaa",
- "tipo": "denominazione",
- "null": false,
- "istruzioni": "Inserire la Cciaa dell'Azienda",
- "ordine": "1"
}
}, - "validazione": "$0 && $1 ",
- "istruzioni": "PHA+UGVyIHJpY2hpZWRlcmUgbGEgVmlzdXJhIENhbWVyYWxlIE9yZGluYXJpYSAtIFNvY2lldCZhZ3JhdmU7IGRpIENhcGl0YWxlIGluc2VyaXNjaSBpIHNlZ3VlbnRpIGRhdGk6Jm5ic3A7Jm5ic3A7PHN0cm9uZz5OcmVhPC9zdHJvbmc+Jm5ic3A7ZSA8c3Ryb25nPkNjaWFhPC9zdHJvbmc+PC9wPg0K",
- "istruzioni_ricerca": ""
}, - "hash_visura": "eccbc87e4b5ce2fe28308fd9f2a7baf3",
- "prezzo_visura": 4.9,
- "prezzo_ricerca": 0,
- "sincrona": false,
- "opzioni": null,
- "fornitori": [ ]
}, - "success": true,
- "message": "",
- "error": null
}
Real and own calls to access service requests, to enter and modify input parameters and to close the transaction
Summary list of all requests made from your profile
Array of objects (Richieste) [ 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://test.visengine2.altravia.com/richiesta"); 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": [
- {
- "_id": "5f22f722065afc42223c7131",
- "state": 1,
- "hash_visura": "f3a0979f15915b337aafabcd89c5ee70",
- "nome": "Cariche Societarie",
- "ricerca": false,
- "id_ricerca": null,
- "prezzo_visura": 5,
- "prezzo_ricerca": 0,
- "indice_ricerca": null,
- "stato_richiesta": "Visura evasa",
- "email_target": null,
- "timestamp_creation": 1596127010,
- "timestamp_last_update": 1596127022,
- "owner": "a.venanzoni@altravia.com"
}, - {
- "_id": "5f22f5b5065afc21cc60a27a",
- "state": 1,
- "hash_visura": "f3a0979f15915b337aafabcd89c5ee70",
- "nome": "Cariche Societarie",
- "ricerca": false,
- "id_ricerca": null,
- "prezzo_visura": 5,
- "prezzo_ricerca": 0,
- "indice_ricerca": null,
- "stato_richiesta": "Visura evasa",
- "email_target": null,
- "timestamp_creation": 1596126645,
- "timestamp_last_update": 1596126717,
- "owner": "a.venanzoni@altravia.com"
}, - {
- "_id": "5f16beaa065afc1c0b354aac",
- "state": 0,
- "hash_visura": "b39746d875eb7231c7f8a6e047d9924c",
- "nome": "Eventi Negativi Persona",
- "ricerca": false,
- "id_ricerca": null,
- "prezzo_visura": 2,
- "prezzo_ricerca": 0,
- "indice_ricerca": null,
- "stato_richiesta": "Annullata",
- "email_target": null,
- "timestamp_creation": 1595326122,
- "timestamp_last_update": 1595345114,
- "owner": "a.venanzoni@altravia.com"
}
], - "success": true,
- "message": "",
- "error": null
}
Call to instantiate a new service request. Possibility to create it immediately complete or through transactionality you can finish completing it with a put
state | integer Default: "<integer>" Enum: 0 1 By default it is 1, if you pass 0 the transaction is only initialized and remains open with the possibility of modifying the fields through the Put |
test | boolean Default: "<boolean>" If passed to true it simulates the validation of the data and also returns the prices of the service |
hash_visura | string Default: "<string>" Identification of the requested service |
object (JsonVisura) Object to pass all required input fields to generate an output document from the requested service. If you have to pass a file, it must be passed like this: name + '|data:' + file type + ';base64,' + base64_encode(file content); example: '$2' : 'test_file|data:image/png;base64,abcdefghijklmnopqrstuvwxyz0123456789' | |
object (CallbackData) | |
email_target | string Default: "<string>" Allows you to receive the requested service document directly via email once the service has been processed |