HotelCard Logo

HotelCard CommonService Endpoints

CommonService

Status: Checking...

Method URI Description Route Parameters Query Parameters
GET|HEAD api/status Check the status of the CommonService. None None
GET|HEAD api/currency/all Retrieve all currencies. None None
GET|HEAD api/currency/rate Retrieve exchange rate between two currencies. None from_currency, to_currency
GET|HEAD api/currency/rates Retrieve all exchange rates between two currencies. None from_currency, to_currency
GET|HEAD api/currency/rate/by-date Retrieve exchange rate between two currencies by date. None from_currency, to_currency, date
GET|HEAD api/currency/rounding-value Retrieve the rounding value for a specified currency. None currency
GET|HEAD api/country/check-overseas/{id} Check if the specified country is overseas. id None
GET|HEAD api/country/name-for-es/{id} Retrieve country names formatted for Elasticsearch. id None
GET|HEAD api/country/{locale}/all Retrieve all countries for the specified locale. locale None
GET|HEAD api/country/{locale}/dropdown Retrieve a dropdown list of countries for the specified locale. locale None
GET|HEAD api/country/{locale}/code/{code} Retrieve country details by country code for the specified locale. locale, code None
GET|HEAD api/country/{locale}/{id} Retrieve country details by ID for the specified locale. locale, id None
GET|HEAD api/{fallbackPlaceholder} Handle undefined routes with a JSON error response. fallbackPlaceholder None