DocumentationMobile SDKPlaces Service Guide

Headers and parameters

Last update: April 4, 2021
  • Topics:
  • Places

Here are the details about the headers and parameters that are available in the Places Service REST API:

Supported headers

HeaderDescriptionMethodExample
AuthorizationYour bearer tokenAll
x-api-keyYour API keyAll19776964b4cde49e08d8f62e5824f777b
x-gw-ims-org-idYour org IDAll18FB61145BAC2FFB0A494777@AdobeOrg
Content-TypeFormat of content sent or receivedPUT, POSTapplication/json
Accept-LanguageLanguage used for error messagesOptionalen-US

Library parameters

ParameterDescriptionTypeLimitRequest or ResponseExample
idID of libraryassignedn/aResponse"id": "b2488788-2d2a-462b-b1a2-305272777dda"
nameName of the librarystring256 charactersboth, required in request"name": "Amazing Places"
orgIDExperience cloud orgID of the organizationassignedn/aResponse"orgID": "777F20F55BACA09E0A495D8F@AdobeOrg"
poiCountNumber of POIs in libraryinteger150,000 maxResponse"poiCount": 25149
metadataDescriptorsCount for each unique POI metadata key value pairmixedn/aResponse
poiCountInCitiesCount for each unique POI city valuemixedn/aResponse

POI parameters

ParameterDescriptionTypeLimitRequest or ResponseExample
dataPoi dataArray of POI detailsn/aboth
idID of POIassignedn/aresponse"id": "1455462b-7f9c-4220-9f42-5bbce777a0d1"
nameName of the POIstring512 charactersboth, optional*"name": "My Favorite Place"
descriptionDescription of the POIstring512 charactersboth, optional*"description": "This is a very good place."
locationArray of type and coordinates of POIarray (mixed)n/aboth"location": {"type": "Point", "coordinates": [-122.201007, 37.604713]
typeType of POIstringonly “Point” currently supportedboth, required in request"type": "Point"
coordinatesArray of longitude and latitude of POIarray (float)longitude: -180 to 180, latitude -85 to 85both, required in request"coordinates": [-122.201007, 37.604713]
radiusSize of circular geofence around POIfloat10 - 2000 metersboth, required in request"radius": 100
countryCountry for the POIstring32 charactersboth, optional*"country": "United States"
stateState for the POIstring32 charactersboth, optional*"state": "California"
cityCity for the POIstring32 charactersboth, optional*"city": "San Jose"
streetStreet address for the POIstring256 charactersboth, optional*"street": "122 Woz Way"
categoryCategory for the POIstring100 charactersboth, optional*"category": "cafe"
iconIcon for the POIstring50 charactersboth, optional*"icon": "star"
colorColor for the POIstring8 charactersboth, optional*"color": "blue"
metadataArray of key/value pairs for the POIarray(string)key: 256 characters, value: 256 characters, maximum of 10 pairsboth, optional*"metadata": {"region": "Equator"}
lib_idID of the library the POI is inn/an/aboth, required"lib_id": "ac7a0b25-c6c2-43ba-bbc6-2b1777b80fe9"
  • If the parameter value is not included, the value is set to empty in database. If the existing key/value pair is not included, the key/value pair is removed for that POI in the database.
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825