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

Car Details

This example demonstrates how to retrieve car details using the ApiDetails link obtained from the listing.

The Car Details API provides detailed information about one selected car offer, including: Rental rate,Pricing breakdown,Restrictions,Policies

For details on how to retrieve car information, refer to Details API documentation.

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

GetCarDetailsOperationParams getCarDetailsOperationParams =
                        GetCarDetailsOperationParams.builder()
                                .partnerTransactionId("EWSCar_Automation")
                                .offerToken("Car Details Deep Link")
                                .price("price")
                                .currency("currency")
                                .build();

2. Make the API call using service client.

CarDetailsResponse carDetailsResponse = xapClient.execute(
        new GetCarDetailsOperation(getCarDetailsOperationParams)).getData();
이 페이지가 도움이 되었나요?
이 콘텐츠를 어떻게 개선하면 좋을까요?
더 나은 만드는 데 도움을 주셔서 감사합니다!