Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    "id": 14205,
    "title": "Секретные места Васильевского Острова",
    "tagline": "Прогуляться по самому таинственному району Петербурга, погружаясь в историю и быт ушедшей эпохи",
    "url": "https://experience.tripster.ru/experience/14205/",
    "is_new": false,
    "type": "group",
    "instant_booking": true,
    "child_friendly": true,
    "max_persons": 15,
    "duration": 2.0,
    "meeting_point": {
        "text": "у станции метро Спортивная 2"
    },
    "price": {
        "currency": "RUB",
        "currency_rate": 1.0,
        "onsite_payment": 0.2,
        "per_person": [
            {
                "id": 3917702062,
                "title": "Стандартный билет",
                "is_default": true,
                "value": 750.0
            },
            {
                "id": 2627454350,
                "title": "Дети 8-14 лет",
                "is_default": false,
                "value": 550.0
            },
            {
                "id": 193973751,
                "title": "Дети до 7 лет",
                "is_default": false,
                "value": 0.0
            },
            {
                "id": 219959599,
                "title": "Пенсионеры",
                "is_default": false,
                "value": 550.0
            }
        ],
        "value_string": "750 руб. за человека",
        "price_description": "750 руб. за человека"
    },
    "review_count": 41,
    "rating": 4.63,
    "popularity": 120016,
    "city": {
        "id": 144,
        "name_ru": "Санкт-Петербург",
        "name_en": "Saint Petersburg",
        "iata": "LED",
        "country": {
            "id": 238,
            "name_ru": "Россия",
            "name_en": "Russia",
            "currency": "RUB",
            "in_obj_phrase": "по России",
            "experience_count": 2109,
            "url": "https://experience.tripster.ru/destinations/russia/",
            "region": "CIS"
        },
        "experience_count": 324,
        "in_obj_phrase": "по Санкт-Петербургу",
        "from_obj_phrase": "из Санкт-Петербурга",
        "url": "https://experience.tripster.ru/experience/Saint_Petersburg/",
        "image": {
            "cover": "https://experience-ireland.s3.amazonaws.com/photos/9786aef6-24da-4d86-8860-3170b1484ca1.jpg",
            "thumbnail": "https://experience-ireland.s3.amazonaws.com/photos/4518c77e-c10a-4e0c-9c48-7b33c7eb0273.jpg"
        },
        "utc_offset": 10800.0,
        "ascii_name": "Saint_Petersburg"
    },
    "guide": {
        "id": 27745,
        "first_name": "Алексей",
        "url": "https://experience.tripster.ru/guide/27745/",
        "avatar": {
            "small": "https://experience-ireland.s3.amazonaws.com/avatar/43eeb1da-04e9-11e8-954d-6e714efd800d.31x31.jpg",
            "medium": "https://experience-ireland.s3.amazonaws.com/avatar/43bc3264-04e9-11e8-954d-6e714efd800d.150x150.jpg"
        },
        "rating": 4.69,
        "review_count": 1254,
    },
    "tags": [
        {
            "id": 11669,
            "name": "Групповые",
            "slug": "group",
            "url": "https://experience.tripster.ru/experience/Saint_Petersburg/group/",
            "experience_count": 98,
        }
    ],
    "photos": [
        {
            "thumbnail": "https://experience-ireland.s3.amazonaws.com/thumbs2/796b405a-7ba5-11ea-b160-025c4c6e7a28.384x289.jpg",
            "medium": "https://experience-ireland.s3.amazonaws.com/thumbs2/4ed31162-0ae4-11ea-9e6d-02b782d69cda.800x600.jpg"
        }
    ],
    "links": {
        "reviews": "https://experience.tripster.ru/api/experiences/14205/reviews/",
        "schedule": "https://experience.tripster.ru/api/experiences/14205/schedule/"
    },
    "status": "active"
}

Описание

...

параметров объекта price в

...

расширенном формате цены

В зависимости от выбранной гидом ценовой модели (человек/группа) будет передаваться параметр per_person или per_group

...