hetras Hotel API Version 0
hetras Hotel API Version 0 endpoints from Hetras Certification
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
hetras Hotel API Version 0 endpoints from Hetras Certification
Endpoints 21
Hotels
- GETGet a list of all the hotels of a chain your application has access to.
/api/hotel/v0/hotelsLoad the details about all the hotels your application has access to. - GETGet the details of the hotel with the speccified hotel id.
/api/hotel/v0/hotels/:hotelIdLoad the details about the specified hotel.
Codes
- GETGet a list of codes for the specified hotel either filtered by type or code.
/api/hotel/v0/hotels/:hotelId/codes?code=string&type=GuestRequestWith this call you can find codes for a hotel by type or code. By default and without any filter criteria defined it will return you all available codes. - GETGet all the details for a specific code available for the hotel.
/api/hotel/v0/hotels/:hotelId/codes/:idRead the details about a specific code available for the defined hotel.
RatePlans
- GETGet a list of rateplans for the specified hotel id matching the filter criteria.
/api/hotel/v0/hotels/:hotelId/rateplans?sellingStatus=Active&commissionable=true&group=string&baseRateplan=string&channelGroup=string&channelCode=string&marketCodes=string&roomTypes=string&includedServices=string&skip=0&top=0&inlinecount=NoneWith this call you can find rateplans for a hotel by different filters. By default and without any filter criteria defined it will return you all active… - GETGet the count of all rateplans in the hotel matching the given filter criteria.
/api/hotel/v0/hotels/:hotelId/rateplans/$count?sellingStatus=Active&commissionable=true&group=string&baseRateplan=string&channelGroup=string&channelCode=string&marketCodes=string&roomTypes=string&includedServices=string - PUTUpdate a list of base rateplans for a given period and a given base price for single occupancy.
/api/hotel/v0/hotels/:hotelId/rateplans/batch/$ratesCurrently this call only allows to set the base price for non-derived rateplans if the rateplan is active and already loaded for the specified time period.… - GETGet all the details for a specific rateplan in the hotel.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCodeRead the details about a specific rateplan for the defined hotel. - GETGet the setup of the daily rates for a specific rateplan and a defined timeperiod.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates?expand=RoomTypeSupplements&from=2024-01-01T00:00:00Z&to=2024-01-01T00:00:00Z&skip=0&top=0&inlinecount=NoneWith this call you can read the daily rates setup including the cancellation policy and minimum guarantee per day for the specified rateplan. You can specify… - PATCHPartially update a rate of the specified rateplan for the defined time period.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates?from=2024-01-01T00:00:00Z&to=2024-01-01T00:00:00ZThe hetras API is using this <a href="https://developer.hetras.com/docs/patch" onfocus="this.blur()" target="_blank">Patch Specification</a> to partially… - GETGet the count of all active and loaded daily rates for the defined rateplan in a specified time period.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/$count?from=2024-01-01T00:00:00Z&to=2024-01-01T00:00:00Z - GETGet the setup of a daily rate for a specific business day and rateplan.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/:businessDayRead the setup of the daily rate for the defined rateplan for that specific business day. - PATCHPartially update a rate of the specified rateplan for a defined business day.
/api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/:businessDayThe hetras API is using this <a href="https://developer.hetras.com/docs/patch" onfocus="this.blur()" target="_blank">Patch Specification</a> to partially…
RoomTypes
- GETGet a list with the details of all room types for for the specified hotel id.
/api/hotel/v0/hotels/:hotelId/room_typesWith this call you can load the details about a all available room types for the specified hotel. - GETGet all the details for a specific room type in the hotel.
/api/hotel/v0/hotels/:hotelId/room_types/:codeWith this call you can load the details about a specific room type in the hotel.
Rooms
- GETGet a list of rooms using the provided filtering and pagination criteria.
/api/hotel/v0/hotels/:hotelId/rooms?occupancy=Occupied&conditions=CleanNotInspected&maintenances=NotSet&roomTypes=string&amenities=string&views=string&locations=string&skip=0&top=0&inlinecount=NoneFind all rooms for the hotel that match the specified filter criteria. The filtering will be done based on the current state of the rooms. - GETGet the count of all rooms in the hotel matching the given filter criteria.
/api/hotel/v0/hotels/:hotelId/rooms/$count?occupancy=Occupied&conditions=CleanNotInspected&maintenances=NotSet&roomTypes=string&amenities=string&views=string&locations=string - GETRequest available rooms using a given criteria.
/api/hotel/v0/hotels/:hotelId/rooms/available?from=2024-01-01T00:00:00Z&to=2024-01-01T00:00:00Z&adults=c3dhc3Rpaw==&includeOutOfService=true&roomTypes=string&amenities=string&views=string&locations=string&skip=0&top=0&inlinecount=None - GETGet all the details for a specific room in the hotel.
/api/hotel/v0/hotels/:hotelId/rooms/:roomNumberWith this call you can load the details about a specific room in the hotel. It will show you the current status of the room. - PATCHPartially updates a room.
/api/hotel/v0/hotels/:hotelId/rooms/:roomNumberThe hetras API is using this <a href="https://developer.hetras.com/docs/patch" onfocus="this.blur()" target="_blank">Patch Specification</a> to partially…
YieldableRates
- PUTSaves Yieldable Rate Prices for existing Yieldable Rateplan.
/api/hotel/v0/hotels/:hotelId/yieldable_rateplans/:rateplanCode/$ratesSaves Yieldable Rate Prices for existing Yieldable Rateplan. The rateplan has been created before and with this End Point we create or update the rate prices.…
API details
- Base URL
https://api.hetras-certification.net- Authentication
- None declared in the description
- Operations
- 21 operations on 18 pathsGET 16PATCH 3PUT 2
- Main resources
- RatePlans 9Rooms 5Codes 2Hotels 2RoomTypes 2YieldableRates 1
- Description format
- Swagger 2.0, API version
v0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the hetras Hotel API Version 0 in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the hetras Hotel API Version 0 collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get a list of all the hotels of a chain your application has access to.” (GET /api/hotel/v0/hotels), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the hetras Hotel API Version 0?
hetras Hotel API Version 0 endpoints from Hetras Certification It is listed under Other and has 21 endpoints.
Who publishes the hetras Hotel API Version 0?
It is listed from Hetras Certification's public API description (an OpenAPI document), not published by Hetras Certification on Swastik Codes. Anyone who controls hetras-certification.net can claim the profile by adding a DNS TXT record.
What is the base URL of the hetras Hotel API Version 0?
Requests go to https://api.hetras-certification.net. Endpoint paths are added to this base URL.
How do I authenticate with the hetras Hotel API Version 0?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the hetras Hotel API Version 0 have?
21 operations on 18 paths (16 GET, 3 PATCH, 2 PUT). The largest groups are RatePlans, Rooms, Codes, Hotels.
Is forking the hetras Hotel API Version 0 free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.