Logo
Openapi.it Public API Documentation

{{baseUrl}}/state/:_id

GET {{baseUrl}}/state/:_id

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

 

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 }, "success": true, "message": "", "error": null }



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

ENDPOINTS