SpotOn API Documentation.

From SpotOn Restaurant

Restaurant

    URL: https://www.api.123demo.co.in/api/restaurants
    Method:  POST
  
Object Description
device_token [Required] (Get during app installation)
app_api_key [Required] (Get during app installation)
token [Required] Bearer Token (Get during app login)
output JSON formats.
    {
      "success": true,
      "data": {
          "public_root_url": "http://superadmin.123demo.co.in/storage/app/public/restaurant/logo/thumbnail/",
          "data": [
              {
                  "id": 4,
                  "restaurant": "KFC franchise",
                  "restaurant_type_id": "2",
                  "license_no": "hkjhkl",
                  "web_url": null,
                  "features_id": null,
                  "logo": "1641453929.jpg",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "Hi2",
                  "restaurant_type_id": "1",
                  "license_no": null,
                  "web_url": null,
                  "features_id": null,
                  "logo": "1641451358.jpg",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "Hi3",
                  "restaurant_type_id": "1",
                  "license_no": null,
                  "web_url": null,
                  "features_id": null,
                  "logo": "1641452688.png",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "Hi6",
                  "restaurant_type_id": "2",
                  "license_no": null,
                  "web_url": null,
                  "features_id": null,
                  "logo": "1641465050.jpg",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "New heart restaurant",
                  "restaurant_type_id": "1",
                  "license_no": null,
                  "web_url": null,
                  "features_id": null,
                  "logo": "1641895761.png",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "Best Momo restaurant",
                  "restaurant_type_id": "1",
                  "license_no": "dADadAD",
                  "web_url": "www.dfff",
                  "features_id": null,
                  "logo": "1641905416.png",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 4,
                  "restaurant": "My Momo restaurant",
                  "restaurant_type_id": "1",
                  "license_no": "dADadAD",
                  "web_url": "www.das",
                  "features_id": "[\"1\",\"2\",\"3\"]",
                  "logo": "1642050258.jpg",
                  "business_id": 1,
                  "business_location_id": 4,
                  "status": 1,
                  "created_at": "2022-02-04 11:19:18",
                  "updated_at": null,
                  "location_title": "KFC Bristol",
                  "address": "220 North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "51.441158294677734",
                  "longitude": "-2.6114978790283203",
                  "state": "Bristol",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@dfsdf.bo"
              },
              {
                  "id": 6,
                  "restaurant": "Haldiram Saltlake City",
                  "restaurant_type_id": "5",
                  "license_no": "dADadAD",
                  "web_url": null,
                  "features_id": null,
                  "logo": "1648625312.png",
                  "business_id": 15,
                  "business_location_id": 6,
                  "status": 1,
                  "created_at": "2022-03-30 12:54:16",
                  "updated_at": null,
                  "location_title": "Haldiram Salt lake",
                  "address": "220a North Street",
                  "city": "Bedminster, Bristol",
                  "postcode": "BS3 1JD",
                  "latitude": "78.9629",
                  "longitude": "-20.9629",
                  "state": "Bedminster",
                  "country": "United Kingdom",
                  "phone": "09658285888",
                  "email": "samir@impactitsolutions.co.uk"
              }
          ]
      },
      "message": "Get fetched."
    }
  
    {
        "success": false,
        "message": "Unauthorized",
        "data": "Unauthorized"
    }