Run with Postman

Postontarget (1.0.0)

This web service allows you to purchase company database based on different search parameters

Fields

Calls to find all the parameters recorded which will then be used for the subsequent database search

List of countries

Endpoint that returns the list of countries surveyed.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Country_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": {
    }
}

Response samples

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

List of regions

Endpoint that returns the list of regions divided by country.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Admin1_geo_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": {
    }
}

Response samples

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

List of provinces

Endpoint that returns the list of provinces divided by region and country.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Admin2_geo_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": {
    }
}

Response samples

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

List of number of employees

Endpoint that returns the list of number of employees per company.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Dipendenti_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": { }
}

Response samples

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

List of companies turnover

Endpoint that returns the list of companies turnover ranges in millions.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Fatturato_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": { }
}

Response samples

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

List of corporate legal forms

Endpoint that returns the list of corporate legal forms divided by country.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Forma_giuridica_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": {
    }
}

Response samples

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

List of commercial macro-categories

Endpoint that returns the list of commercial macro-categories.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Macrocategorie_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 0,
  • "query": {
    }
}

Response samples

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

List of micro-commercial categories

Endpoint that returns the list of micro-commercial categories divided by macro-categories.

Authorizations:
Request Body schema: application/json
limit
integer
Default: "<integer>"
object (Microcategorie_Query)

Responses

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

Request samples

Content type
application/json
{
  • "limit": 5,
  • "query": {
    }
}

Response samples

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

Order

Calls for the search, purchase and management of an order of company records

Find company records

This dndpoint allows you to search company records according to search parameters, returning a number of available results.

Authorizations:
Request Body schema: application/json
required
object

Responses

Response Schema: application/json
object (Search_Object)
success
boolean
message
string
error
integer

Request samples

Content type
application/json
{
  • "query": {
    }
}

Response samples

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

Purchase of personal data

This endpoint allows you to purchase a certain number of company records found following the search.

Authorizations:
Request Body schema: application/json
id_request
string
Default: "<string>"

Request identifier returned after performing a POST Search

records
integer
Default: "<integer>"

Number of records that you want to buy

Responses

Response Schema: application/json
object (Buying_Object)
success
boolean
message
string
error
integer

Request samples

Content type
application/json
{
  • "id_request": "5d4d799c0eb46d074f01947f",
  • "records": "5"
}

Response samples

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

List of requests

Endpoint that allows you to view all the searches and requests made from your profile.

Authorizations:

Responses

Response Schema: application/json
Array of Search_Object (object) or Buying_Object (object)[ 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://postontarget.com/state");

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
}

Single request

Endpoint that allows you to view the single request or search related to the id passed in the path.

Authorizations:
path Parameters
_id
required
string
Default: "<string>"
Example: 5d4bf7e80eb46d074e55cdeb

Request / search identifier

Responses

Response Schema: application/json
Search_Object (object) or Buying_Object (object)
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://postontarget.com/state/%7B_id%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
}