Semantic Concepts

All semantic endpoints return the id of a given concept rather then literal value.  The API call described below allows you to look up the semantic concept literals for a given language. Developers should save these locally and resolve against this data when making calls to other semantic endpoints.  Please take care to update this list periodically as semantic concepts are constantly being added to the system.  

Resource URL

http://connect.reviewpro.com/v1/lodging/semantic/concepts

Try it now with our interactive API!

Parameters

Param Value Required
api_key <your api key> Yes
pid The product id from one of your lodgings. Yes
lang

ISO 2 language code of concept literal.  The currently available languages are :

  • de
  • en
  • es
  • fr
  • it
  • nl
  • pt
Yes

Example GET Request

http://connect.reviewpro.com/v1/lodging/semantic/concepts?pid=33927&lang=en&api_key=<your api key> 
[{
    "id": 1,
    "name": "cleanliness"
}, {
    "id": 2,
    "name": "room"
}, {
    "id": 32794,
    "name": "bed"
}, {
    "id": 32797,
    "name": "bathroom"
}, {
    "id": 32798,
    "name": "shower"
...