View Country
Copied
https://api.ocamba.com/v2/ocamba/countries/{id}
Copied
https://api.ocamba.com/v2/ocamba/countries/{id}
Retrieves the details of a Country if a valid identifier was provided
Name
Descriptionidstringrequired
Unique id of the countryExample: AF
Name
Descriptionfieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.Example GET /v2/ocamba/RESOURCE_NAME?fields=id,name
See "Tips" for the list of filterable parameters.
Example: fields=field1,field2,field3
200 - OK
Name
Descriptionitems[ country ]
An array of all created items.Country
Name
Descriptioncodestring
Two-letter, uppercase country code.Example: AF
code3string
Three-letter, uppercase country code.Example: AFG
idstring
A unique identifier generated by the Ocamba platform.Example: AF
namestring
Country name.Example: Afghanistan
totalinteger
A total number of items.Example: 1
tip
1 If you don't know the country id, list the countries to find it.