GET Package Availability
This endpoint returns the availability and enjoyment dates for a package.
[ENDPOINT]/ToursysB2C/api/customQuotation/packageAvailability/package=[PACKAGEID]
Headers
X-API-KEY (required, String) generatedToken
module (required, Integer) Specifies the module. For B2C will always be 1
lang (optional, String) Language for the API to return the information.
Example Request
curl --location -g --request GET '{{endpoint}}/ToursysB2C/api/customQuotation/packageAvailability/package={{packageId}}' \
--header 'x-api-key: {{x-api-key}}'\
--header 'module: 1'\
--header 'lang: {{language}}'
--data '{
"packageBookingEngineAvailableFrom": "2022-05-09",
"packageBookingEngineAvailableUntil": "2023-12-15",
"packageBookingEngineReservationFrom": "2022-05-10",
"packageBookingEngineReservationUntil": "2023-12-23"
}'