이 콘텐츠는 아직 해당 언어로 이용하실 수 없습니다.

Vrbo Availability Calendar

The Availability Calendar API provides daily availability for a specified date range for Vrbo lodging properties.

For details on retrieving property IDs, refer to Retrieve Property Static Data. For more information about this service, see the Availability Calendar API documentation.

1. Build the request object using the classes defined in the SDK

GetLodgingAvailabilityCalendarsOperationParams availabilityCalendarsOperationParams =
        GetLodgingAvailabilityCalendarsOperationParams.builder()
            .partnerTransactionId("PARTNER TRANSACTION ID")
            // Vrbo Property IDs to search for
            .propertyIds(new HashSet<>(Arrays.asList("87704892","36238803")))
            .build();

GetLodgingAvailabilityCalendarsOperation availCalendarsOperation = 
            new GetLodgingAvailabilityCalendarsOperation(availabilityCalendarsOperationParams);

2. Make the API call using service client.

Response<AvailabilityCalendarResponse> availCalendarsResponse =
        client.execute(availCalendarsOperation);
이 페이지가 도움이 되었나요?
이 콘텐츠를 어떻게 개선하면 좋을까요?
더 나은 만드는 데 도움을 주셔서 감사합니다!