amadeus-java icon indicating copy to clipboard operation
amadeus-java copied to clipboard

Update params to accept String array as input

Open tsolakoua opened this issue 3 years ago • 0 comments

Some APIs get an array of Strings as input, but the SDK works only with Strings and causes an exception when array is passed. It's related to https://github.com/amadeus4dev/amadeus-java/issues/211.

The following APIs accept array[string] as parameters:

  • Hotel Search 1st endpoint. Params: hotelIds
  • Hotel List by hotels. Params: hotelIds
  • Hotel List by-city. Params: amenities
  • Hotel List by geocode. Params: amenities
  • Hotel Ratings. Params: hotelIds
  • Hotel Name autocomplete. Params: subType
  • Points of Interest 1st and 2nd endpoint. Params: category
  • Airport & City Search. Params: subType
  • City Search. Params: include

tsolakoua avatar Oct 10 '22 08:10 tsolakoua