Owneat Technical Guide main Help

Get all the restaurants.

GET method/api/v1/Restaurants

Responses

[ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "description": "example", "displayImageUrl": "example", "paymentPlatformId": "example", "isOnPaymentPlatform": true, "isPaymentModuleEnabled": false, "isChargesEnabled": true, "isInPrePaymentMode": false, "address": { "street": "example", "city": "example", "state": "example", "country": "example", "zipCode": "example" }, "menus": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "states": "Active", "sortingIndex": 66, "categories": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "menuId": "60017790-4236-36f9-8775-f982d688ef7e", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "period": "0", "isFormulaSpecific": true, "sortingIndex": 66, "products": [ { "id": ..., "createdAt": ..., "updatedAt": ..., "name": ..., "description": ..., "displayImageUrl": ..., "unitPrice": ..., "sortingIndex": ..., "isAvailable": ..., "categoryId": ..., "restaurantId": ..., "externalPaymentId": ..., "discriminator": ..., "vatRate": ..., "categoryProductData": ..., "stock": ..., "ingredients": ..., "allergens": ..., "foodLabels": ..., "personalizations": ..., "isOutOfStock": ..., "isStockManagementEnabled": ... } ], "formulas": [ { "id": ..., "createdAt": ..., "updatedAt": ..., "name": ..., "description": ..., "displayImageUrl": ..., "unitPrice": ..., "sortingIndex": ..., "isAvailable": ..., "categoryId": ..., "restaurantId": ..., "externalPaymentId": ..., "discriminator": ..., "sections": ... } ] } ] } ], "openingHours": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "dayOfWeek": "0", "timeRanges": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "openTime": { "ticks": 62, "days": 83, "hours": 71, "milliseconds": 82, "microseconds": 59, "nanoseconds": 57, "minutes": 55, "seconds": 67, "totalDays": 57.0, "totalHours": 85.0, "totalMilliseconds": 18.0, "totalMicroseconds": 1.0, "totalNanoseconds": 55.0, "totalMinutes": 99.0, "totalSeconds": 85.0 }, "closeTime": { "ticks": 62, "days": 83, "hours": 71, "milliseconds": 82, "microseconds": 59, "nanoseconds": 57, "minutes": 55, "seconds": 67, "totalDays": 57.0, "totalHours": 85.0, "totalMilliseconds": 18.0, "totalMicroseconds": 1.0, "totalNanoseconds": 55.0, "totalMinutes": 99.0, "totalSeconds": 85.0 } } ] } ], "restaurantEvents": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "title": "example", "description": "example", "displayImageUrl": "example", "isActive": true, "titleColor": 1, "sortingIndex": 66, "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163" } ] } ]
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
Last modified: 21 May 2024