Run with Postman

Visengine 2.0

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

visure

Section dedicated to calls showing all available services and their input parameters

List of all services

For each element of the list, 'hash_visura' is important, which identifies the service

Authorizations:

Responses

Response Schema: application/json
Array of objects (Visure) [ 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://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);

Response samples

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

Service identified with hash_visura

Service description with input parameters, prices and validation instructions

Authorizations:
path Parameters
hash_visura
required
string
Default: "<string>"
Example: 8f14e45fceea167a5a36dedd4bea2543

hash_visura of visura to return

Responses

Response Schema: application/json
object (Visura)
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://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);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

richiesta

Real and own calls to access service requests, to enter and modify input parameters and to close the transaction

List of all requests

Summary list of all requests made from your profile

Authorizations:

Responses

Response Schema: application/json
Array of objects (Richieste) [ 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://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);

Response samples

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

Creating a request

Call to instantiate a new service request. Possibility to create it immediately complete or through transactionality you can finish completing it with a put

Authorizations:
Request Body schema: application/json
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