Official Api
1.0.0
  • latest
  • 1.0.0
  1. Hotel
Official Api
1.0.0
  • latest
  • 1.0.0
  • Auth
    • Login/Guest Login
      • Auth - Guest
      • Auth - Login
      • Auth - Login (With E-Mail)
    • Register
      • Auth - Register
      • Auth - Register Corporate
    • Remember
      • Auth - Remember Password
      • Auth - Remember Otp Verify
      • Auth - Set New Password
    • Auth Otp Verify
      POST
    • Auth - Logout
      DELETE
    • Auth - State
      GET
  • Customer
    • Passengers
      • Passenger List
      • Passenger Create
      • Passenger Delete
      • Passenger Update
    • invoice Info
      • Invoice Info - List
      • Invoice Info - Create
      • Invoice Info - Delete
      • Invoice Info - Update
    • Favorite Flights
      • Favorites - Flight
      • Favorites - Add Flight
      • Favorites - Delete Flight
      • Favorites - Check for Flight
    • Notifications
      • Notifications - Get
      • Notifications - Update
      • Notifications - Register Device
      • Notifications - Unregister Device
    • Fast Actions
      • Fast Actions - Get Flight Actions
      • Fast Actions - Update Flight Actions
      • Fast Actions - Get Bus Actions
      • Fast Actions - Update Bus Actions
      • Fast Actions - Clear Flight Actions
    • Customer - Get Profile
      GET
    • Customer - Update Profile
      POST
    • Customer - Update Password
      POST
    • Search History - Flight
      GET
    • Customer - Remove Account
      DELETE
  • Utils
    • Calendar - Month
      GET
    • Enums - FlightSearchFilters
      GET
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Package Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT (Non package)
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
      • International
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
      GET
  • Bus
    • Bus - Search
    • Get Job (Bus)
    • Bus - Bus Details
    • Bus - Check Seat Status
    • Bus - Set Passengers
    • Bus - Finalize (Local Dev Only)
    • Bus - Search - Filter
  • Hotel
    • Hotel - Search by Destination
      POST
    • Hotel - Search by Hotel Code
      POST
    • Get Job (Hotel)
      GET
    • Hotel - Get Hotel Details
      POST
    • Hotel - Validate Rooms
      POST
    • Hotel - Set Paxes
      POST
    • Hotel - Complete (Dev Only)
      POST
  • Socket
  • Auto Completes
    • Airport Search
    • Bus Station Search
    • Hotel Search
  • Queue / Socket
    • Get Job
  • Misc
    • Airlines
    • Countries
    • Popular Cities
    • Currencies
    • Contact Form
    • Check Module Availability
    • Popular Flights
  • Payment
    • Pay with Account Balance (For Corporate Customers)
      • Payment - Account - Check Availablity
      • Payment - Account - Make Payment
    • Credit Card Storage
      • Saved Cards - List
      • Saved Cards - Add
      • Saved Cards - Delete
    • Pay with Credit Card (New Card)
      • Payment Types - Get All
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
    • Pay with Credit Card (Saved Card)
      • Payment Types - Get All
      • Saved Cards - List
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
  • Orders
    • Get Orders
    • Get Order
    • Upcoming Travels
    • Check Pnr
    • Check Order Status
  • Blog
    • Blog - Custom Tags
    • Blog - Category
    • Blog - Newest
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Otp Verify
    POST
  1. Hotel

Hotel - Get Hotel Details

Testing Env
https://test-api.ucuzyolu.com
Testing Env
https://test-api.ucuzyolu.com
POST
https://test-api.ucuzyolu.com
/hotel/get-hotel-details

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
client-id
string 
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
journeyId
string 
required
hotelId
string 
required
Example
{
    "journeyId": "{{journeyId}}",
    "hotelId": "{{hotelId}}"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/hotel/get-hotel-details' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
    "journeyId": "",
    "hotelId": ""
}'

Responses

🟢200OK
application/json
Body
data
object (Search Hotel) 
required
journeyId
string 
required
success
boolean 
required
type
string 
required
currency
string 
required
action
string 
required
destinations
array[string]
required
searchStatus
string 
required
bookingStatus
string 
required
results
array[object (Hotel) {5}] 
required
booking
optional
ttl
integer 
required
filters
array[string]
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "journeyId": "D57A030A-FA52-4B64-93D3-1FBC322432FC",
        "success": true,
        "type": "hotel",
        "currency": "TRY",
        "action": "search",
        "destinations": [],
        "searchStatus": "completed",
        "bookingStatus": "pending",
        "results": [
            {
                "hotelId": "KTR468666",
                "providerSearchId": "47d72eb3a7e24bdfbc441623eb2599a7",
                "provider": "bookingagora",
                "hotel": {
                    "hotelId": "KTR468666",
                    "provider": "bookingagora",
                    "destinationId": "522990",
                    "name": "Dosso Dossi Hotels&Spa Downtown",
                    "address": "Vatan Caddesi No:46-48 Fatih",
                    "location": "Istanbul",
                    "countryCode": "TR",
                    "phone": "00902126381200",
                    "email": "info@dossodossihotels.com",
                    "fax": "00902125331008",
                    "hotelCode": "KTR468666",
                    "image": "https://cdn.kplus.com.tr/?url=aS50cmF2ZWxhcGkuY29tL2xvZGdpbmcvMTAwMDAwMDAvOTk5MDAwMC85OTgxOTAwLzk5ODE4MzkvZDNmM2FlMmNfYi5qcGc=",
                    "categoryName": "Hotel",
                    "geoLocation": {
                        "latitude": 41.017,
                        "longitude": 28.940866
                    }
                },
                "boards": [
                    {
                        "code": "BB",
                        "name": "Bed and Breakfast"
                    }
                ],
                "rooms": [
                    {
                        "roomId": "47d72eb3a7e24bdfbc441623eb2599a7@KTR468666@28@963dad3b25734c82a6af006b55a1e5e4",
                        "roomCode": "47d72eb3a7e24bdfbc441623eb2599a7@KTR468666@28@963dad3b25734c82a6af006b55a1e5e4",
                        "roomName": "Standart Room",
                        "boardCode": "BB",
                        "boardName": "Bed and Breakfast",
                        "addionalServices": [],
                        "cancellationPolicies": [],
                        "provider": "bookingagora",
                        "currencyCode": "TRY",
                        "currencyRate": 1,
                        "baseAmount": 8249.97,
                        "taxAmount": 0,
                        "discountAmount": 0,
                        "commission": 0,
                        "ourMargin": 0,
                        "serviceFee": 0,
                        "totalAmount": 8249.97,
                        "totalStrikeAmount": 8249.97,
                        "kickBack": 0,
                        "kickBacks": [],
                        "medias": [],
                        "combinationId": "28|7222",
                        "allotment": 10
                    }
                ],
                "roomCombinations": []
            },
            {
                "hotelId": "KTR674691",
                "providerSearchId": "47d72eb3a7e24bdfbc441623eb2599a7",
                "provider": "bookingagora",
                "hotel": {
                    "hotelId": "KTR674691",
                    "provider": "bookingagora",
                    "destinationId": "522990",
                    "name": "Hotel Casa Mia Old City",
                    "address": "PIYERLOTI CAD.CEPHANECI SOK.NO:14",
                    "location": "Istanbul",
                    "countryCode": "TR",
                    "phone": "90 212 458 88 10",
                    "email": "info@casamiaistanbul.com",
                    "fax": "902124584925",
                    "hotelCode": "KTR674691",
                    "image": "https://cdn.kplus.com.tr/?url=bXkua3BsdXMuY29tLnRyL0FsYnVtTWVkaWEvSG90ZWwvTG9nby80OGJmYjY1YS1iNGIyLTQ0YzgtYTQ3Ni1hYjBjYmRlYTc0YmYuanBn",
                    "categoryName": "Hotel",
                    "geoLocation": {
                        "latitude": 41.006325,
                        "longitude": 28.968697
                    }
                },
                "boards": [
                    {
                        "code": "RO",
                        "name": "Sadece Oda"
                    }
                ],
                "rooms": [
                    {
                        "roomId": "47d72eb3a7e24bdfbc441623eb2599a7@KTR674691@28@1ae363c2941e4d0886dd6215e010f6fe",
                        "roomCode": "47d72eb3a7e24bdfbc441623eb2599a7@KTR674691@28@1ae363c2941e4d0886dd6215e010f6fe",
                        "roomName": "Standart Oda",
                        "boardCode": "RO",
                        "boardName": "Sadece Oda",
                        "addionalServices": [],
                        "cancellationPolicies": [],
                        "provider": "bookingagora",
                        "currencyCode": "TRY",
                        "currencyRate": 1,
                        "baseAmount": 22081.55,
                        "taxAmount": 0,
   
Modified at 2024-11-28 01:29:13
Previous
Get Job (Hotel)
Next
Hotel - Validate Rooms
Built with