Skip to content

CT Local Eatouts Check Availability

SoumyaSian edited this page Jan 2, 2018 · 3 revisions

2.6 Check Availability

Intent

check_eatout_available_slots

Request Params Description

KEYWORD DESCRIPTION
RATE_ID rateid

Payload

{
  "rate_id":"$RATE_ID"
}

Response Params Description

KEY DESCRIPTION
DATE Available dates for an eat out
ADT_PRICE Adult price for an eat out
CHD_PRICE Child price for an eat out
MIN_QUANTITY Minimum count of people for an eatout
MAX_QUANTITY Maximum count of people for an eatout

Response Body

[
{
        "date": "$DATE",
        "adult_price": "$ADT_PRICE",
        "child_price": $CHD_PRICE,
        "min_quantity": $MIN_QUANTITY,
	"max_quantity": $MAX_QUANTITY
    },
    ...
]

Error messages

Some error messages, you might get an invalid search request. The HTTP response code, in this case, will be 400.

Status Error message Description
400 rate_id is required field rate_id is missing
Clone this wiki locally