๋๋ ์บ๋ฆฌ์ด๋ง ์ฑ๊ฒจ, ํญ๊ณต๊ถ&ํธํ
&๋ ํธ์นด ์์ฝ ์๋น์ค ๐งณ
CarrierRoute๋ SkyScanner ์๋น์ค๋ฅผ ํด๋ก ์ฝ๋ฉํ๋ ํ๋ก์ ํธ์
๋๋ค.
์ฌํ์ ํ์ํ ํญ๊ณต๊ถ, ํธํ
, ๋ ํธ์นด๋ฅผ ์กฐํํ๊ณ ์์ฝํ๋ API๋ฅผ ๊ตฌํํ์์ต๋๋ค.
API | Http Method | URI |
---|---|---|
ํญ๊ณต๊ถ ์ ์ฒด ์กฐํ | GET | /api/v1/flights/ |
ํญ๊ณตํธ ์ ์ฒด ์กฐํ | GET | /api/v1/flights/ |
ํญ๊ณตํธ ๋จ์ผ ์กฐํ | GET | /api/v1/flights/{flightId} |
ํญ๊ณตํธ ์์ฝ | POST | /api/v1/bookings/flights |
ํญ๊ณตํธ ์์ฝ ์กฐํ | GET | /api/v1/bookings/flights |
ํญ๊ณตํธ ์์ฝ ์์ธ์กฐํ | GET | /api/v1/bookings/flights/{bookingId} |
ํญ๊ณตํธ ์์ฝ ์ทจ์ | DELETE | /api/v1/bookings/flights/{bookingId} |
API | Http Method | URI |
---|---|---|
ํธํ ๊ฒ์ | GET | /api/v1/hotels |
ํธํ ์์ธ ์กฐํ | GET | /api/v1/hotels/{hotelId} |
ํธํ ์์ฝ | POST | /api/v1/bookings/hotels |
ํธํ ์์ฝ ์กฐํ | GET | /api/v1/bookings/hotels |
ํธํ ์์ฝ ์์ธ์กฐํ | GET | /api/v1/bookings/hotels/{bookingId} |
ํธํ ์์ฝ ์ทจ์ | DELETE | /api/v1/bookings/hotels/{bookingId} |
API | Http Method | URI |
---|---|---|
๋ ํธ์นด ๊ฒ์ | GET | /api/v1/cars |
๋ ํธ์นด ์์ฝ | POST | /api/v1/bookings/cars |
๋ ํธ์นด ์์ฝ ์กฐํ | GET | /api/v1/bookings/cars |
๋ ํธ์นด ์์ฝ ์์ธ ์กฐํ | GET | /api/v1/bookings/cars/{bookingId} |
๋ ํธ์นด ์์ฝ ์ทจ์ | DELETE | /api/v1/bookings/cars/{bookingId} |
๊น์ง์ | ์ดํํ | ํ์น์ฐ |
---|---|---|
ํ๋ก๋ํธ ์ค๋ & ๊ฐ๋ฐ์ | ๊ฐ๋ฐ ๋ฆฌ๋ & ๊ฐ๋ฐ์ | ์คํฌ๋ผ ๋ง์คํฐ & ๊ฐ๋ฐ์ |