GetBranchInformation

Returns all available information about the branch or outlet

URI

https://analytics.eatlab.ai/v1/general/GetBranchInformation

HTTP Method

POST

Request Structure

{

   "restaurant_name": "string",
   "total_table": integer,
   "pos_type": "string",
   "total_outlets": integer,
   "total_menus": integer,
   "store_id": "string",
   "contact": {
       "first_name": "string",
       "last_name": "string",
       "role": "string",
       "tel": "string",
       "line_id": "string",
       "email": "string"
   }

}

Response Structure

{
   body: {
       code: <reserve for constant code>
       message: <text>
       data: <null | object | array>
   }
}

Sample Request

{

   "restaurant_name": "FoC",
   "total_table": 20,
   "pos_type": "FoC",
   "total_outlets": 20,
   "total_menus": 20,
   "store_id": "ss-1",
   "contact": {
       "first_name": "John",
       "last_name": "Doe",
       "role": "dev",
       "tel": "0844343434",
       "line_id": "@foc_org5",
       "email": "foc.test.eatlab@gmail.com"
   }
}

Sample Response