Logo
Openapi.it Public API Documentation

{{baseUrl}}/state

GET {{baseUrl}}/state

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "_id": "5d4bf7e80eb46d074e55cdeb", "total_records": 5379918, "records_found": 60, "query": { "country_code": "IT", "admin1_code": "IT.15", "macro_id": 15 }, "state": "accettato", "owner": "test@api.altravia.com", "base_price": 0.24, "credit": 4.76, "date": "08/08/2019", "download": "https://dev.postontarget.com/download/2BECCE", "order_id": "2BECCE", "price": 0.24, "records_purchased": 1 }, { "_id": "5d4d513d0eb46d074f01946a", "total_records": 5379918, "records_found": 60, "query": { "country_code": "IT", "admin1_code": "IT.15", "macro_id": 15 }, "state": "ricerca_evasa", "owner": "test@api.altravia.com" } ], "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/state' -H 'Accept: application/json'

ENDPOINTS