متصلون الآن  

/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://ar.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://ar.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://ar.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://ar.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://ar.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
    }
}
توثيق نقطة النهاية القابل للقراءة آليًا