Authentication
3
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email":"hasibdesk@gmail.com",
"password":"123456"
}Description
Create New Admin Account
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Md Hasibul",
"lastName": "Hossain",
"email": "hasibdesk@gmail.com",
"phone": "+880-1734717373",
"password": "123456",
"role": "superadmin",
"address": {
"street": "flat#B3, block#G, NHB#12",
"city": "dhaka",
"state": "mirpur-2",
"zipcode": "1216",
"country": "bangladesh"
},
"profile": {
"title": "Software Engineer",
"gender": "male",
"dob": "20/05/1994",
"social": {
"facebook": "https://www.facebook.com/hasibdesk",
"twitter": "https://twitter.com/hasibdesk",
"instagram": "https://www.instagram.com/hasibdesk/",
"linkedin": "https://www.linkedin.com/in/hasibdesk/"
}
}
}Booking
4
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email":"hasibdesk@gmail.com"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Jhon",
"lastName": "Smith",
"email":"jhonsmith@gmail.com",
"phone":"01734717373",
"bookingInfo": {
"date": "Sun Nov 15 2019",
"hour": "7:00",
"person": "1"
}
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"status":"completed"
}Customers
7
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Query
Key | Value | Description |
---|
type | customer | |
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Masum",
"lastName": "Babul",
"email": "masum@gmail.com",
"phone": "+34-606526075",
"password": "123456",
"address": {
"street": "Calle / san Carlos",
"city": "madrid",
"state": "madrid",
"zipcode": "28012",
"country": "spain"
},
"profile": {
"title": "Manager",
"gender": "male",
"dob": "01/01/1978",
"social": {
"facebook": "https://www.facebook.com/masum",
"twitter": "#",
"instagram": "#",
"linkedin": "#"
}
}
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"password":"sadia141",
"phone":"01739353030",
"lastName":"Smrity",
"firstName":"Sadia Farjana"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email": "masum@gmail.com",
"password":"123456"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email":"sadiafarjanasmrity@gmail.com"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"password":"sadia141"
}Merchants
8
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"password":"123456"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Md Hasibul",
"lastName": "Hossain",
"email": "newmerchant@mail.com",
"phone": "+880-01734717565",
"role":"staff",
"profile": {
"title": "String",
"gender": "male",
"dob": "1995/01/01"
}
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Md Hasibul",
"lastName": "Hossain"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email":"hasibdesk@gmail.com",
"password":"hasib811992",
"remember": false
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"email":"sadiafarjanasmrity@gmail.com"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"password":"12345678"
}Restaurant
8
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"firstName": "Md Hasibul",
"lastName": "Hossain",
"email": "mail@gmail.com",
"phone": "+34-45569325",
"name": "The Bent Fork",
"seatCapacity": "15",
"address": {
"city": "madrid",
"zipcode": "28001",
"country": "spain"
}
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"name": "Himalaya Tandoori",
"website": "http://himalaya.com",
"phone": "(111) 111-2414",
"email": "himalaya@gmail.com",
"address": {
"formattedAddress": "Calle del Cipres, 10, 28918 Leganés, Madrid, Spain",
"street": "Calle del Cipres, 10",
"city": "Madrid",
"state": "Leganés",
"zipcode": "28918",
"country": "Spain"
},
"numberOfBookingPerDay": 20,
"seatCapacity": 20,
"averageBill": 20,
"cuisineType": ["Indian","Indio", "Bangla"],
"tags": ["Indian food", "Arabic food", "chiness food", "valentine"],
"description": "Sustainable tofu craft beer, sartorial normcore hammock subway tile occupy irony hoodie kombucha godard offal. Paleo cornhole roof party 8-bit chicharrones brunch green juice VHS butcher yuccie four loko, seitan food truck. Vape enamel pin small batch pop-up chillwave pickled. Taiyaki subway tile fanny pack, normcore umami gastropub unicorn cornhole. Blue bottle raclette everyday carry hashtag lumbersexual. Tofu man braid 90's bicycle rights paleo, live-edge unicorn pinterest squid letterpress.",
"timeSlots": {
"morning": [
{ "time": "7:00", "moment": "breakfast", "status": "active" },
{ "time": "7:30", "moment": "breakfast", "status": "active" }
],
"lunch": [
{ "time": "13:00", "moment": "lunch", "status": "active" },
{ "time": "13:30", "moment": "lunch", "status": "active" }
],
"dinner": [
{ "time": "19:00", "moment": "dinner", "status": "active" },
{ "time": "19:30", "moment": "dinner", "status": "active" }
]
}
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"website": "http://domainname.com",
"phone": "+34-60502030",
"email": "thebenkfork@gmail.com",
"numberOfBookingPerDay": 15,
"averageBill": 15,
"cuisineType": ["Indian", "Thai"],
"tags": ["Halal Food", "Indian Item"],
"description": "This is long restaurant description and info text. Restaurant manager will add their information or about their restaurant in description flied"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"morning":"7:00,7:30",
"lunch": "13:00,13:30",
"dinner": "19:00,19:30"
}Body
Key | Value | Description |
---|
logo | | |
cover | | |
Review
5
Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"title": "Outstanding Restaurant",
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque",
"rating": "8"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"title": "Outstanding Restaurant",
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque",
"rating": "10"
}Headers
Key | Value | Description |
---|
Content-Type | application/json | JSON type |
Body
{
"title": "Outstanding Restaurant",
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque",
"rating": "10"
}