getCalendarAvailability

@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetCalendarAvailabilityOperation)"))
public final List<PropertyCalendarAvailability> getCalendarAvailability(List<String> propertyId, LocalDate startDate, LocalDate endDate, GetCalendarAvailabilityOperationParams.Test test)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetCalendarAvailabilityOperation)"))
public final List<PropertyCalendarAvailability> getCalendarAvailability(List<String> propertyId, LocalDate startDate, LocalDate endDate)

Deprecated

Use execute method instead

Replace with

execute(operation: GetCalendarAvailabilityOperation)

Get a calendar of availability dates for properties. This is currently a Vrbo property only feature. Returns availability information for the specified properties (maximum of 25 properties per request). The response includes per day information about the property's availability, information about if check-in or check-out is available for the day, and information regarding the stay constraints.

Return

kotlin.collections.List

Parameters

propertyId

The ID of the property you want to search for. You can provide 1 to 250 property_id parameters.

startDate

The first day of availability information to be returned, in ISO 8601 format (YYYY-MM-DD), up to 500 days in the future from the current date.

endDate

The last day of availability information to be returned, in ISO 8601 format (YYYY-MM-DD). This must be 365 days or less from the start_date.

test

Shop calls have a test header that can be used to return set responses with the following keywords: * standard * service_unavailable * unknown_internal_error (optional)

Throws