▪ Discover by VAT
Discover by VAT API allows the user to perform the discovery of matching POIs that are not currently returned by Search by VAT API.
Request
Endpoint
POST
/v4/ondemand/account/{account_id}/poi/discover/vat/IT/{vat}
Path Parameters
Name |
Description |
Type |
Examples |
*{account_id} |
Provided identifier of the account. |
string |
|
*{vat} |
Italian tax identification number. |
string |
04633420262 |
Name |
Description |
Type |
Examples |
*x-api-key |
Provided API key {x_api_key} that allows authentication. |
string |
|
*Authorization |
Provided token {jwt_bearer} that allows authorization. |
string |
Bearer {jwt_bearer} |
Example
curl -X POST 'https://api.datappeal.io/v4/ondemand/account/{account_id}/poi/discover/vat/IT/04633420262' \
-H 'x-api-key: {x_api_key}' \
-H 'Authorization: Bearer {jwt_bearer}' \
Response
Status
Status |
Description |
202 |
Discover by VAT request has been accepted and will be processed. |
406 |
Discover by VAT request has been rejected and will not be processed, since Search by VAT API is already returning results for the given input. |