/config

Configuration requests are sent by appending /config to your endpoint. There are no request parameters on this GET request.
 
The details in the emergency_contacts array will be used by Tripadvisor to contact you in cases where urgent API issues are detected and need to be addressed. These contacts must be kept up to date. 

Request

http://www.partner-site.com/api_implementation/config

Response

ContentType: application/json

{
    "api_version": 8,
    "configuration": {
        "emergency_contacts": [
            {
                "full_name": "Alice Alicesworth",
                "email": "aalicesworth@example.com ",
                "phone_number": "1 (555) 555-5555"
            },
            {
                "full_name": "Bob Bobson",
                "email": "bbobson@example.com",
                "phone_number": "1 (555) 555-5555"
            }
        ],
        "info_contacts": [
            {
                "full_name": " Bob Bobson ",
                "email": " bbobson@example.com ",
                "phone_number": "1 (555) 555-5555"
            }
        ],
        "languages": [
            "en"
        ],
        "pref_hotels": 50,
        "five_min_rate_limit": 10000
    },
    "debug_info": "The ip of the request is 146.0.38.3"
}

Properties

Field Type Description
api_version number
The version of the API that this response is using.
configuration Configuration Object that has all the configuration information. Optionally the partner can send debugging info in any of the attributes that are not api_version or configuation.