View City
Copied
https://api.ocamba.com/v2/ocamba/cities/{id}
Copied
https://api.ocamba.com/v2/ocamba/cities/{id}
Retrieves the details of a City if a valid identifier was provided
Name
Descriptionidintegerrequired
Unique id of the cityName
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[ city ]
An array of all created items.City
Name
Descriptioncountry_codestring
Two-letter, uppercase country code which is city located.Example: CA
full_namestring
Full name.Example: 100 Mile House, British Columbia, CA
idstring
A unique identifier generated by the Ocamba platform.Example: 5881639
namestring
City name.Example: 100 Mile House
regionstring
The region name which is city located.Example: British Columbia
totalinteger
A total number of items.Example: 1
tip
1 If you don't know the city id, list the cities to find it.