Logo
Openapi.it Public API Documentation

{{baseUrl}}/fields/country

POST {{baseUrl}}/fields/country

Endpoint that returns the list of countries surveyed.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "data": [ { "country_code": "IT", "country_name_EN": "Italy", "country_name_IT": "Italia" } ], "searchRecords": 1, "totalRecords": 250, "success": true, "message": "", "error": null }



Curl
curl -X POST 'baseUrl/fields/country' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"limit":"\u003cinteger\u003e","query":{"country_code":"\u003cstring\u003e","country_name_EN":"\u003cstring\u003e","country_name_IT":"\u003cstring\u003e"}}'

ENDPOINTS