Сейчас онлайн  

/v1/discovery/

Public place discovery and indicative reservation pricing for agents. No account actions.
GET

/v1/discovery/get_best_places

#
Get the AppointmentTrader city hotlist. Ranking is not evidence of available reservations. Public-by-design: exposes public city rankings, without account data or API charges.

Параметры

ИмяТипОбязательноПо умолчаниюОписание
citySlug string Да — Canonical city slug from /v1/discovery/get_cities.
categorySlug string Нет "" Optional canonical category, such as restaurants.
pageSize int Нет 10 Number of results, 1-25.
pageNumber int Нет 0 Zero-based page, 0-20.
Пример запроса (cURL)
curl --get \
  'https://ru.appointmenttrader.com/v1/discovery/get_best_places' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'citySlug={{citySlug}}' \
  --data-urlencode 'categorySlug={{categorySlug}}' \
  --data-urlencode 'pageSize={{pageSize}}' \
  --data-urlencode 'pageNumber={{pageNumber}}'

Возвращает

JSON
See the shared response schema and synthetic example.
Поля ответа
ПолеТипОбязательноОписание
$discovery_get_best_places_Response Да
$.oneOf[0] Да
$.oneOf[0].allOf[0]object Да
$.oneOf[0].allOf[0].RequestUserAliasstring Да
$.oneOf[0].allOf[0].RequestPathstring | null Да
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" Да
$.oneOf[0].allOf[0].ResponseCodeinteger Да
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring Нет
$.oneOf[0].allOf[1]object Да
$.oneOf[0].allOf[1].Payloadobject Да
$.oneOf[0].allOf[1].Payload.cityobject Да
$.oneOf[0].allOf[1].Payload.city.cityName Да
$.oneOf[0].allOf[1].Payload.city.cityName.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.city.cityName.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.city.citySlugstring Да
$.oneOf[0].allOf[1].Payload.city.countryCode Да
$.oneOf[0].allOf[1].Payload.city.countryCode.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.city.countryCode.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.city.isoRegion Нет
$.oneOf[0].allOf[1].Payload.city.isoRegion.anyOf[0]string Нет
$.oneOf[0].allOf[1].Payload.city.isoRegion.anyOf[1]null Нет
$.oneOf[0].allOf[1].Payload.city.stateShort Нет
$.oneOf[0].allOf[1].Payload.city.stateShort.anyOf[0]string Нет
$.oneOf[0].allOf[1].Payload.city.stateShort.anyOf[1]null Нет
$.oneOf[0].allOf[1].Payload.placesarray Да
$.oneOf[0].allOf[1].Payload.places[]object Нет
$.oneOf[0].allOf[1].Payload.places[].locationAliasstring Да
$.oneOf[0].allOf[1].Payload.places[].namestring Да
$.oneOf[0].allOf[1].Payload.places[].cityNamestring Да
$.oneOf[0].allOf[1].Payload.places[].citySlugstring Да
$.oneOf[0].allOf[1].Payload.places[].countryCodestring Да
$.oneOf[0].allOf[1].Payload.places[].categorySlugstring Да
$.oneOf[0].allOf[1].Payload.places[].addressstring Да
$.oneOf[0].allOf[1].Payload.places[].urlstring Да
$.oneOf[0].allOf[1].Payload.places[].rankinteger Да
$.oneOf[0].allOf[1].Payload.places[].locationIDinteger Да
$.oneOf[0].allOf[1].Payload.rankingBasis = "AppointmentTrader city hotlist" Да
$.oneOf[0].allOf[1].Payload.rankingCacheSeconds = 86400 Да
$.oneOf[0].allOf[1].Payload.availabilityIncluded = false Да
$.oneOf[0].allOf[1].Payload.checkedAtstring Да
$.oneOf[0].allOf[1].Payload.paginationobject Да
$.oneOf[0].allOf[1].Payload.pagination.pageSizeinteger Да
$.oneOf[0].allOf[1].Payload.pagination.pageNumberinteger Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.pagination.hasMoreboolean Да
$.oneOf[0].allOf[1].Payload.pagination.refineSearchboolean Да
$.oneOf[1]object Да
$.oneOf[1].RequestUserAliasstring Да
$.oneOf[1].RequestPathstring | null Да
$.oneOf[1].RequestStatus = "Failed" Да
$.oneOf[1].ResponseCodeinteger Да
$.oneOf[1].ResponseMessageAPIResponseMessage Да
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[1].ResponseMessage.oneOf[1]array Да
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[1].ResponseMessage.oneOf[2]object Да
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[1].RequestImpersonatedByUserAliasstring Нет
Пример ответа
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/discovery/get_best_places",
    "RequestUserAlias": "example-user",
    "Payload": {
        "city": {
            "cityName": "synthetic-example",
            "citySlug": "synthetic-example",
            "countryCode": "synthetic-example"
        },
        "places": [],
        "rankingBasis": "AppointmentTrader city hotlist",
        "rankingCacheSeconds": 86400,
        "availabilityIncluded": false,
        "checkedAt": "2030-01-01T12:00:00Z",
        "pagination": {
            "pageSize": 1,
            "pageNumber": 0,
            "nextPageNumber": 1,
            "hasMore": false,
            "refineSearch": false
        }
    }
}
Машиночитаемая документация метода
GET

/v1/discovery/get_cities

#
Find canonical cities and airport-backed markets; choose among ambiguous matches. Public-by-design: exposes only public city metadata, without account data or API charges.

Параметры

ИмяТипОбязательноПо умолчаниюОписание
searchFilter string Нет "" Literal city name to search.
pageSize int Нет 10 Number of results, 1-25.
pageNumber int Нет 0 Zero-based page, 0-20.
Пример запроса (cURL)
curl --get \
  'https://ru.appointmenttrader.com/v1/discovery/get_cities' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'searchFilter={{searchFilter}}' \
  --data-urlencode 'pageSize={{pageSize}}' \
  --data-urlencode 'pageNumber={{pageNumber}}'

Возвращает

JSON
See the shared response schema and synthetic example.
Поля ответа
ПолеТипОбязательноОписание
$discovery_get_cities_Response Да
$.oneOf[0] Да
$.oneOf[0].allOf[0]object Да
$.oneOf[0].allOf[0].RequestUserAliasstring Да
$.oneOf[0].allOf[0].RequestPathstring | null Да
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" Да
$.oneOf[0].allOf[0].ResponseCodeinteger Да
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring Нет
$.oneOf[0].allOf[1]object Да
$.oneOf[0].allOf[1].Payloadobject Да
$.oneOf[0].allOf[1].Payload.citiesarray Да
$.oneOf[0].allOf[1].Payload.cities[]object Нет
$.oneOf[0].allOf[1].Payload.cities[].cityIDinteger Да
$.oneOf[0].allOf[1].Payload.cities[].cityName Да
$.oneOf[0].allOf[1].Payload.cities[].cityName.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.cities[].cityName.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.cities[].citySlugstring Да
$.oneOf[0].allOf[1].Payload.cities[].cityCode Да
$.oneOf[0].allOf[1].Payload.cities[].cityCode.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.cities[].cityCode.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.cities[].countryCode Да
$.oneOf[0].allOf[1].Payload.cities[].countryCode.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.cities[].countryCode.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.cities[].regionCode Да
$.oneOf[0].allOf[1].Payload.cities[].regionCode.anyOf[0]string Да
$.oneOf[0].allOf[1].Payload.cities[].regionCode.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.checkedAtstring Да
$.oneOf[0].allOf[1].Payload.paginationobject Да
$.oneOf[0].allOf[1].Payload.pagination.pageSizeinteger Да
$.oneOf[0].allOf[1].Payload.pagination.pageNumberinteger Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.pagination.hasMoreboolean Да
$.oneOf[0].allOf[1].Payload.pagination.refineSearchboolean Да
$.oneOf[1]object Да
$.oneOf[1].RequestUserAliasstring Да
$.oneOf[1].RequestPathstring | null Да
$.oneOf[1].RequestStatus = "Failed" Да
$.oneOf[1].ResponseCodeinteger Да
$.oneOf[1].ResponseMessageAPIResponseMessage Да
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[1].ResponseMessage.oneOf[1]array Да
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[1].ResponseMessage.oneOf[2]object Да
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[1].RequestImpersonatedByUserAliasstring Нет
Пример ответа
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/discovery/get_cities",
    "RequestUserAlias": "example-user",
    "Payload": {
        "cities": [],
        "checkedAt": "2030-01-01T12:00:00Z",
        "pagination": {
            "pageSize": 1,
            "pageNumber": 0,
            "nextPageNumber": 1,
            "hasMore": false,
            "refineSearch": false
        }
    }
}
Машиночитаемая документация метода
GET

/v1/discovery/get_place

#
Read a public place and its valid inventory choices before checking a reservation price. Public-by-design: exposes public venue and inventory metadata, without account data or API charges.

Параметры

ИмяТипОбязательноПо умолчаниюОписание
locationAlias string Да — Canonical alias from /v1/discovery/get_places.
Пример запроса (cURL)
curl --get \
  'https://ru.appointmenttrader.com/v1/discovery/get_place' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'locationAlias={{locationAlias}}'

Возвращает

JSON
See the shared response schema and synthetic example.
Поля ответа
ПолеТипОбязательноОписание
$discovery_get_place_Response Да
$.oneOf[0] Да
$.oneOf[0].allOf[0]object Да
$.oneOf[0].allOf[0].RequestUserAliasstring Да
$.oneOf[0].allOf[0].RequestPathstring | null Да
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" Да
$.oneOf[0].allOf[0].ResponseCodeinteger Да
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring Нет
$.oneOf[0].allOf[1]object Да
$.oneOf[0].allOf[1].Payloadobject Да
$.oneOf[0].allOf[1].Payload.locationIDinteger Да
$.oneOf[0].allOf[1].Payload.locationAliasstring Да
$.oneOf[0].allOf[1].Payload.namestring Да
$.oneOf[0].allOf[1].Payload.cityNamestring Да
$.oneOf[0].allOf[1].Payload.citySlugstring Да
$.oneOf[0].allOf[1].Payload.countryCodestring Да
$.oneOf[0].allOf[1].Payload.regionCodestring Да
$.oneOf[0].allOf[1].Payload.addressstring Да
$.oneOf[0].allOf[1].Payload.timezonestring Да
$.oneOf[0].allOf[1].Payload.categorySlugstring Да
$.oneOf[0].allOf[1].Payload.urlstring Да
$.oneOf[0].allOf[1].Payload.timeRangeUnitstring Да
$.oneOf[0].allOf[1].Payload.maxTimeRangeUnitsinteger Да
$.oneOf[0].allOf[1].Payload.reservationPricingAllowedboolean Да
$.oneOf[0].allOf[1].Payload.inventoryTypesarray Да
$.oneOf[0].allOf[1].Payload.inventoryTypes[]object Нет
$.oneOf[0].allOf[1].Payload.inventoryTypes[].inventoryTypeIDinteger Да
$.oneOf[0].allOf[1].Payload.inventoryTypes[].namestring Да
$.oneOf[0].allOf[1].Payload.inventoryTypes[].headcount Да
$.oneOf[0].allOf[1].Payload.inventoryTypes[].headcount.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.inventoryTypes[].headcount.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.checkedAtstring Да
$.oneOf[1]object Да
$.oneOf[1].RequestUserAliasstring Да
$.oneOf[1].RequestPathstring | null Да
$.oneOf[1].RequestStatus = "Failed" Да
$.oneOf[1].ResponseCodeinteger Да
$.oneOf[1].ResponseMessageAPIResponseMessage Да
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[1].ResponseMessage.oneOf[1]array Да
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[1].ResponseMessage.oneOf[2]object Да
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[1].RequestImpersonatedByUserAliasstring Нет
Пример ответа
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/discovery/get_place",
    "RequestUserAlias": "example-user",
    "Payload": {
        "locationID": 0,
        "locationAlias": "synthetic-example",
        "name": "synthetic-example",
        "cityName": "synthetic-example",
        "citySlug": "synthetic-example",
        "countryCode": "synthetic-example",
        "regionCode": "synthetic-example",
        "address": "synthetic-example",
        "timezone": "synthetic-example",
        "categorySlug": "synthetic-example",
        "url": "synthetic-example",
        "timeRangeUnit": "synthetic-example",
        "maxTimeRangeUnits": 0,
        "reservationPricingAllowed": false,
        "inventoryTypes": [],
        "checkedAt": "2030-01-01T12:00:00Z"
    }
}
Машиночитаемая документация метода
GET

/v1/discovery/get_places

#
Search public place names and aliases. Resolve the intended place from these matches. Public-by-design: exposes public place metadata only, without account data or API charges.

Параметры

ИмяТипОбязательноПо умолчаниюОписание
searchFilter string Да — Literal place name, at least two characters.
citySlug string Нет "" Optional canonical city slug from /v1/discovery/get_cities.
pageSize int Нет 10 Number of results, 1-25.
pageNumber int Нет 0 Zero-based page, 0-20.
Пример запроса (cURL)
curl --get \
  'https://ru.appointmenttrader.com/v1/discovery/get_places' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'searchFilter={{searchFilter}}' \
  --data-urlencode 'citySlug={{citySlug}}' \
  --data-urlencode 'pageSize={{pageSize}}' \
  --data-urlencode 'pageNumber={{pageNumber}}'

Возвращает

JSON
See the shared response schema and synthetic example.
Поля ответа
ПолеТипОбязательноОписание
$discovery_get_places_Response Да
$.oneOf[0] Да
$.oneOf[0].allOf[0]object Да
$.oneOf[0].allOf[0].RequestUserAliasstring Да
$.oneOf[0].allOf[0].RequestPathstring | null Да
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" Да
$.oneOf[0].allOf[0].ResponseCodeinteger Да
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring Нет
$.oneOf[0].allOf[1]object Да
$.oneOf[0].allOf[1].Payloadobject Да
$.oneOf[0].allOf[1].Payload.placesarray Да
$.oneOf[0].allOf[1].Payload.places[]object Нет
$.oneOf[0].allOf[1].Payload.places[].locationIDinteger Да
$.oneOf[0].allOf[1].Payload.places[].locationAliasstring Да
$.oneOf[0].allOf[1].Payload.places[].namestring Да
$.oneOf[0].allOf[1].Payload.places[].cityNamestring Да
$.oneOf[0].allOf[1].Payload.places[].citySlugstring Да
$.oneOf[0].allOf[1].Payload.places[].countryCodestring Да
$.oneOf[0].allOf[1].Payload.places[].regionCodestring Да
$.oneOf[0].allOf[1].Payload.places[].addressstring Да
$.oneOf[0].allOf[1].Payload.places[].timezonestring Да
$.oneOf[0].allOf[1].Payload.places[].categorySlugstring Да
$.oneOf[0].allOf[1].Payload.places[].urlstring Да
$.oneOf[0].allOf[1].Payload.checkedAtstring Да
$.oneOf[0].allOf[1].Payload.paginationobject Да
$.oneOf[0].allOf[1].Payload.pagination.pageSizeinteger Да
$.oneOf[0].allOf[1].Payload.pagination.pageNumberinteger Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.pagination.nextPageNumber.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.pagination.hasMoreboolean Да
$.oneOf[0].allOf[1].Payload.pagination.refineSearchboolean Да
$.oneOf[1]object Да
$.oneOf[1].RequestUserAliasstring Да
$.oneOf[1].RequestPathstring | null Да
$.oneOf[1].RequestStatus = "Failed" Да
$.oneOf[1].ResponseCodeinteger Да
$.oneOf[1].ResponseMessageAPIResponseMessage Да
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[1].ResponseMessage.oneOf[1]array Да
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[1].ResponseMessage.oneOf[2]object Да
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[1].RequestImpersonatedByUserAliasstring Нет
Пример ответа
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/discovery/get_places",
    "RequestUserAlias": "example-user",
    "Payload": {
        "places": [],
        "checkedAt": "2030-01-01T12:00:00Z",
        "pagination": {
            "pageSize": 1,
            "pageNumber": 0,
            "nextPageNumber": 1,
            "hasMore": false,
            "refineSearch": false
        }
    }
}
Машиночитаемая документация метода
GET

/v1/discovery/get_reservation_pricing

#
Check public listings and an indicative reservation acquisition price for a specific venue-local window. Historical comps, external references and configured defaults are labeled separately. This is not a checkout quote, does not include all fees or the meal unless explicitly stated, and never guarantees availability or creates a bid. Public-by-design: public inventory and anonymized price evidence only; no account data or API charges.

Параметры

ИмяТипОбязательноПо умолчаниюОписание
locationAlias string Да — Canonical alias from /v1/discovery/get_places.
inventoryTypeID int Да — Canonical inventory ID from /v1/discovery/get_place.
date string Да — Venue-local date, YYYY-MM-DD.
startHour int Да — Inclusive venue-local start hour, 0-23.
endHour int Да — Exclusive venue-local end hour, 1-24.
timeRangeUnits int Нет 1 Category duration, default 1; day categories require hours 0-24.
Пример запроса (cURL)
curl --get \
  'https://ru.appointmenttrader.com/v1/discovery/get_reservation_pricing' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'locationAlias={{locationAlias}}' \
  --data-urlencode 'inventoryTypeID={{inventoryTypeID}}' \
  --data-urlencode 'date={{date}}' \
  --data-urlencode 'startHour={{startHour}}' \
  --data-urlencode 'endHour={{endHour}}' \
  --data-urlencode 'timeRangeUnits={{timeRangeUnits}}'

Возвращает

JSON
See the shared response schema and synthetic example.
Поля ответа
ПолеТипОбязательноОписание
$discovery_get_reservation_pricing_Response Да
$.oneOf[0] Да
$.oneOf[0].allOf[0]object Да
$.oneOf[0].allOf[0].RequestUserAliasstring Да
$.oneOf[0].allOf[0].RequestPathstring | null Да
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" Да
$.oneOf[0].allOf[0].ResponseCodeinteger Да
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object Да
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring Нет
$.oneOf[0].allOf[1]object Да
$.oneOf[0].allOf[1].Payloadobject Да
$.oneOf[0].allOf[1].Payload.locationobject Да
$.oneOf[0].allOf[1].Payload.location.aliasstring Да
$.oneOf[0].allOf[1].Payload.location.namestring Да
$.oneOf[0].allOf[1].Payload.location.urlstring Да
$.oneOf[0].allOf[1].Payload.location.timezonestring Да
$.oneOf[0].allOf[1].Payload.location.timezoneSource = "location_configuration" Да
$.oneOf[0].allOf[1].Payload.inventoryobject Да
$.oneOf[0].allOf[1].Payload.inventory.idinteger Да
$.oneOf[0].allOf[1].Payload.inventory.namestring Да
$.oneOf[0].allOf[1].Payload.inventory.priceIncludesServiceboolean Да
$.oneOf[0].allOf[1].Payload.requestobject Да
$.oneOf[0].allOf[1].Payload.request.datestring Да
$.oneOf[0].allOf[1].Payload.request.endDatestring Да
$.oneOf[0].allOf[1].Payload.request.startHourinteger Да
$.oneOf[0].allOf[1].Payload.request.endHourinteger Да
$.oneOf[0].allOf[1].Payload.request.endHourExclusive = true Да
$.oneOf[0].allOf[1].Payload.request.timeRangeUnitstring ["Hour","Day"] Да
$.oneOf[0].allOf[1].Payload.request.timeRangeUnitsinteger Да
$.oneOf[0].allOf[1].Payload.availabilityobject Да
$.oneOf[0].allOf[1].Payload.availability.statusstring ["restricted","no_public_listings","listings_disabled","available","no_public_listings_in_returned_sample"] Да
$.oneOf[0].allOf[1].Payload.availability.matchingListingCountinteger Да
$.oneOf[0].allOf[1].Payload.availability.resultSetCompleteboolean Да
$.oneOf[0].allOf[1].Payload.availability.lowestAskingPriceMinor Да
$.oneOf[0].allOf[1].Payload.availability.lowestAskingPriceMinor.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.availability.lowestAskingPriceMinor.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.availability.currency = "USD" Да
$.oneOf[0].allOf[1].Payload.availability.listingsarray Да
$.oneOf[0].allOf[1].Payload.availability.listings[]object Нет
$.oneOf[0].allOf[1].Payload.availability.listings[].listingIDstring Да
$.oneOf[0].allOf[1].Payload.availability.listings[].datestring Да
$.oneOf[0].allOf[1].Payload.availability.listings[].endDatestring Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow.anyOf[0]object Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow.anyOf[0].startHourinteger Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow.anyOf[0].endHourinteger Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow.anyOf[0].exactTimeDisclosed = false Да
$.oneOf[0].allOf[1].Payload.availability.listings[].timeWindow.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.availability.listings[].askingPriceMinorinteger Да
$.oneOf[0].allOf[1].Payload.availability.listings[].currency = "USD" Да
$.oneOf[0].allOf[1].Payload.availability.listings[].isCheckoutQuote = false Да
$.oneOf[0].allOf[1].Payload.availability.listings[].urlstring Да
$.oneOf[0].allOf[1].Payload.availability.observedAtstring Да
$.oneOf[0].allOf[1].Payload.estimateDiscoveryPriceEstimate Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0]object Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].currency = "USD" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].amountMinorinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].lowAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].highAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].source = "external_reference" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].sampleCountinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].sameLocationSampleCount = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].inventoryMatch = "exact" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].priceFactor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].requestedDurationMatched = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].isHistoricalEvidence = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].isGuaranteed = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].scope = "recorded_provider_rates_for_requested_dates" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[0].requiresLiveProviderConfirmation = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1]object Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].currency = "USD" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].amountMinorinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].lowAmountMinor Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].lowAmountMinor.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].lowAmountMinor.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].highAmountMinor Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].highAmountMinor.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].highAmountMinor.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].source = "completed_transactions" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].sampleCountinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].sameLocationSampleCountinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].inventoryMatchstring ["exact","category_scaled"] Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].priceFactor Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].priceFactor.anyOf[0]number Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].priceFactor.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].requestedDurationMatchedboolean Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].isHistoricalEvidence = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].isGuaranteed = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].scopestring ["same_location","same_category_nearest_locations_first"] Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].sampleLimit = 5 Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].lookbackMonthsinteger [3,24] Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].lookbackDateField = "transaction_last_updated" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].completionDateRangeKnown = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].comparableDaysNoticeinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[1].comparableMaturityTimezonestring Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2]object Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].currency = "USD" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].amountMinorinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].lowAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].highAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].source = "external_history" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].sampleCount = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].sameLocationSampleCount = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].inventoryMatch = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].priceFactor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].requestedDurationMatched = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].isHistoricalEvidence = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].isGuaranteed = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].scope = "inventory_popularity_and_maturity_with_canonical_fallback" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[2].containsPricingAdjustment = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3]object Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].currency = "USD" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].amountMinorinteger Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].lowAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].highAmountMinor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].source = "configured_default" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].sampleCount = 0 Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].sameLocationSampleCount = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].inventoryMatch = "configured_inventory_default" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].priceFactor = null Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].requestedDurationMatched = true Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].isHistoricalEvidence = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].isGuaranteed = false Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[3].scope = "configured_starting_amount_without_comparable_evidence" Да
$.oneOf[0].allOf[1].Payload.estimate.oneOf[4]null Да
$.oneOf[0].allOf[1].Payload.pricingContextobject Да
$.oneOf[0].allOf[1].Payload.pricingContext.popularityBracket Да
$.oneOf[0].allOf[1].Payload.pricingContext.popularityBracket.anyOf[0]integer Да
$.oneOf[0].allOf[1].Payload.pricingContext.popularityBracket.anyOf[1]null Да
$.oneOf[0].allOf[1].Payload.pricingContext.daysNoticeinteger Да
$.oneOf[0].allOf[1].Payload.pricingContext.observedAtstring Да
$.oneOf[0].allOf[1].Payload.isCheckoutQuote = false Да
$.oneOf[0].allOf[1].Payload.additionalFeesMayApply = true Да
$.oneOf[0].allOf[1].Payload.guaranteesAvailability = false Да
$.oneOf[0].allOf[1].Payload.canPlaceBid = false Да
$.oneOf[1]object Да
$.oneOf[1].RequestUserAliasstring Да
$.oneOf[1].RequestPathstring | null Да
$.oneOf[1].RequestStatus = "Failed" Да
$.oneOf[1].ResponseCodeinteger Да
$.oneOf[1].ResponseMessageAPIResponseMessage Да
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null Да
$.oneOf[1].ResponseMessage.oneOf[1]array Да
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage Нет
$.oneOf[1].ResponseMessage.oneOf[2]object Да
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage Нет
$.oneOf[1].RequestImpersonatedByUserAliasstring Нет
Пример ответа
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/discovery/get_reservation_pricing",
    "RequestUserAlias": "example-user",
    "Payload": {
        "location": {
            "alias": "synthetic-example",
            "name": "synthetic-example",
            "url": "synthetic-example",
            "timezone": "synthetic-example",
            "timezoneSource": "location_configuration"
        },
        "inventory": {
            "id": 0,
            "name": "synthetic-example",
            "priceIncludesService": false
        },
        "request": {
            "date": "2030-01-15",
            "endDate": "2030-01-15",
            "startHour": 0,
            "endHour": 0,
            "endHourExclusive": true,
            "timeRangeUnit": "Hour",
            "timeRangeUnits": 0
        },
        "availability": {
            "status": "restricted",
            "matchingListingCount": 0,
            "resultSetComplete": false,
            "lowestAskingPriceMinor": 0,
            "currency": "USD",
            "listings": [],
            "observedAt": "2030-01-01T12:00:00Z"
        },
        "estimate": {
            "currency": "USD",
            "amountMinor": 0,
            "lowAmountMinor": null,
            "highAmountMinor": null,
            "source": "external_reference",
            "sampleCount": 0,
            "sameLocationSampleCount": null,
            "inventoryMatch": "exact",
            "priceFactor": null,
            "requestedDurationMatched": true,
            "isHistoricalEvidence": false,
            "isGuaranteed": false,
            "scope": "recorded_provider_rates_for_requested_dates",
            "requiresLiveProviderConfirmation": true
        },
        "pricingContext": {
            "popularityBracket": 0,
            "daysNotice": 0,
            "observedAt": "2030-01-01T12:00:00Z"
        },
        "isCheckoutQuote": false,
        "additionalFeesMayApply": true,
        "guaranteesAvailability": false,
        "canPlaceBid": false
    }
}
Машиночитаемая документация метода