Hotel

POST login
https://hotel.technoarray.com/api/login
BODY formdata

email
admin@test.test

None

password
techno@123#

None

Example Request
                                                
POST https://hotel.technoarray.com/api/login
                                            
POST forget password
https://hotel.technoarray.com/api/forget-password
BODY raw

                                                  
                                                    
{
    "email" : ""
}
                                                  
                                              
Example Request
                                                
POST https://hotel.technoarray.com/api/forget-password

{
    "email" : ""
}
                                            
POST reset password
https://hotel.technoarray.com/api/reset-password
BODY raw

                                                  
                                                    
{
    "user_id" : 8,
    "token" : "MDE5Nzk2NA==",
    "new_password": "techno@123#",
    "cnew_password": "techno@123#"
}
                                                  
                                              
Example Request
                                                
POST https://hotel.technoarray.com/api/reset-password

{
    "user_id" : 8,
    "token" : "MDE5Nzk2NA==",
    "new_password": "techno@123#",
    "cnew_password": "techno@123#"
}
                                            
POST validate reset token
https://hotel.technoarray.com/api/validate-reset-token
BODY raw

                                                  
                                                    
{
    "email" : "",
    "reset_token": "2816304"
}
                                                  
                                              
Example Request
                                                
POST https://hotel.technoarray.com/api/validate-reset-token

{
    "email" : "",
    "reset_token": "2816304"
}
                                            
GET users list
https://hotel.technoarray.com/api/users
Example Request
                                                
GET https://hotel.technoarray.com/api/users
                                            
GET single user
https://hotel.technoarray.com/api/users/{id}
Example Request
                                                
GET https://hotel.technoarray.com/api/users/{id}
                                            
POST create user
https://hotel.technoarray.com/api/users
HEADERS

Content-Type
application/json

None

BODY raw

Example Request
PUT update single user
https://hotel.technoarray.com/api/users/8
BODY raw

Example Request
DELETE delete user
https://hotel.technoarray.com/api/users/{id}
BODY raw

Example Request
GET get all hotel
https://hotel.technoarray.com/api/hotels
Example Request
                                                
GET https://hotel.technoarray.com/api/hotels
                                            
GET get all filter hotel
https://hotel.technoarray.com/api/hotels
Example Request
                                                
GET https://hotel.technoarray.com/api/hotels
                                            
GET single hotel
https://hotel.technoarray.com/api/hotels/{id}
Example Request
                                                
GET https://hotel.technoarray.com/api/hotels/{id}
                                            
PUT update hotel
https://hotel.technoarray.com/api/hotels/7
HEADERS

Content-Type
application/json

None

BODY formdata

Example Request
                                                
PUT https://hotel.technoarray.com/api/hotels/7
                                            
DELETE delete
https://hotel.technoarray.com/api/hotels/7
BODY raw

                                                  
                                                    

                                                  
                                              
Example Request
                                                
DELETE https://hotel.technoarray.com/api/hotels/7


                                            
POST add hotel
https://hotel.technoarray.com/api/hotels
Example Request
                                                
POST https://hotel.technoarray.com/api/hotels
                                            
GET get facilitites list
https://hotel.technoarray.com/api/facilities
Example Request
                                                
GET https://hotel.technoarray.com/api/facilities
                                            
POST add facility
https://hotel.technoarray.com/api/facilities
HEADERS

Content-Type
application/json

None

BODY raw

                                                  
                                                    
{
    "name": "api facility"
}
                                                  
                                              
Example Request
                                                
POST https://hotel.technoarray.com/api/facilities

{
    "name": "api facility"
}
                                            
GET single facility
https://hotel.technoarray.com/api/facilities/18
HEADERS

Content-Type
application/json

None

Example Request
                                                
GET https://hotel.technoarray.com/api/facilities/18
                                            
GET update facility
https://hotel.technoarray.com/api/facilities/18
Example Request
                                                
GET https://hotel.technoarray.com/api/facilities/18
                                            
DELETE delete facility
https://hotel.technoarray.com/api/facilities/18
Example Request
                                                
DELETE https://hotel.technoarray.com/api/facilities/18
                                            
GET get locations
https://hotel.technoarray.com/api/locations/domestic
Example Request
                                                
GET https://hotel.technoarray.com/api/locations/domestic
                                            
GET get locations Copy
https://hotel.technoarray.com/api/locations/domestic
Example Request
                                                
GET https://hotel.technoarray.com/api/locations/domestic