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
{
"name": "api test user 2",
"email": "apitestuser@test.test",
"address": "some address",
"type" : "customer",
"status" : "active",
"password" : "techno@123#",
"cpassword" : "techno@123#",
"membership_number":"4567846124",
"co_applicant" : "test co applicant",
"children" : ["x","y","z"],
"anniversary_date" : "2022-12-12",
"membership_tenure" : "520",
"annual_mcos" : "520",
"last_holiday_used" : "3",
"remaining_holidays" : "5"
}
Example Request
POST https://hotel.technoarray.com/api/users
{
"name": "api test user 2",
"email": "apitestuser@test.test",
"address": "some address",
"type" : "customer",
"status" : "active",
"password" : "techno@123#",
"cpassword" : "techno@123#",
"membership_number":"4567846124",
"co_applicant" : "test co applicant",
"children" : ["x","y","z"],
"anniversary_date" : "2022-12-12",
"membership_tenure" : "520",
"annual_mcos" : "520",
"last_holiday_used" : "3",
"remaining_holidays" : "5"
}
PUT
update single user
https://hotel.technoarray.com/api/users/8
BODY raw
{
"email": "apitestuser2@test.test",
"annual_mcos": "600.00",
"old_password": "techno@123#",
"new_password": "techno@1234#",
"cnew_password": "techno@1234#"
}
Example Request
PUT https://hotel.technoarray.com/api/users/8
{
"email": "apitestuser2@test.test",
"annual_mcos": "600.00",
"old_password": "techno@123#",
"new_password": "techno@1234#",
"cnew_password": "techno@1234#"
}
DELETE
delete user
https://hotel.technoarray.com/api/users/{id}
BODY raw
{
"id": "11",
"member_name": "api test user 2",
"co_applicant": "test co applicant",
"children_names": "[\"x\",\"y\"]",
"email": "apitestuser2@test.test",
"address": "some address",
"anniversary_date": "2022-12-12 00:00:00",
"membership_number": "4567846124",
"membership_tenure": "520",
"annual_mcos": "520.00",
"last_holiday_used": "3",
"remaining_holidays": "5",
"status": "active",
"type": "customer",
"created_at": "2023-03-13 07:59:36",
"updated_at": "2023-03-13 07:59:36"
}
Example Request
DELETE https://hotel.technoarray.com/api/users/{id}
{
"id": "11",
"member_name": "api test user 2",
"co_applicant": "test co applicant",
"children_names": "[\"x\",\"y\"]",
"email": "apitestuser2@test.test",
"address": "some address",
"anniversary_date": "2022-12-12 00:00:00",
"membership_number": "4567846124",
"membership_tenure": "520",
"annual_mcos": "520.00",
"last_holiday_used": "3",
"remaining_holidays": "5",
"status": "active",
"type": "customer",
"created_at": "2023-03-13 07:59:36",
"updated_at": "2023-03-13 07:59:36"
}
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