POST services/api/rest/v1/Get_RestInfoByLocId

Request Information

URI Parameters

None.

Body Parameters

Id_LocationId
NameDescriptionTypeAdditional information
Id

integer

None.

LocationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LocationId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestInfo_Master
NameDescriptionTypeAdditional information
Id

integer

None.

Logo

string

None.

CoverImage

string

None.

RestaurantName

string

None.

RestaurantPhoneNo

string

None.

ContactEmail

string

None.

ContactPhoneNo

string

None.

ContactPerson

string

None.

Address

string

None.

Information

string

None.

OrderType

string

None.

DeliveryRoom

integer

None.

PickupRoom

integer

None.

TableBooking

boolean

None.

OpeningHours

integer

None.

ClosingHours

integer

None.

MapType

string

None.

MapURL

string

None.

LocId

integer

None.

UserId

integer

None.

IsActive

boolean

None.

Latitude

string

None.

Longitude

string

None.

DeliveryLocationBase

integer

None.

DeliveryChargeDetails

Collection of RestInfoDeliveryCharge

None.

OpeningHoursDetails

Collection of RestInfoOpeningHours

None.

GalleryDetails

Collection of RestInfoGallery

None.

EnableDayChange

boolean

None.

DayChangeTime

string

None.

CounterId

integer

None.

CashierId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Logo": "sample string 2",
  "CoverImage": "sample string 3",
  "RestaurantName": "sample string 4",
  "RestaurantPhoneNo": "sample string 5",
  "ContactEmail": "sample string 6",
  "ContactPhoneNo": "sample string 7",
  "ContactPerson": "sample string 8",
  "Address": "sample string 9",
  "Information": "sample string 10",
  "OrderType": "sample string 11",
  "DeliveryRoom": 12,
  "PickupRoom": 13,
  "TableBooking": true,
  "OpeningHours": 15,
  "ClosingHours": 16,
  "MapType": "sample string 17",
  "MapURL": "sample string 18",
  "LocId": 19,
  "UserId": 20,
  "IsActive": true,
  "Latitude": "sample string 22",
  "Longitude": "sample string 23",
  "DeliveryLocationBase": 24,
  "DeliveryChargeDetails": [
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "Name": "sample string 4",
      "Description": "sample string 5",
      "DeliveryRadius": 6.0,
      "DeliveryCharge": 7.0,
      "AdditionalCharge": 8.0,
      "Sort": 9,
      "MinimumCartValue": 10.0,
      "Coordinates": "sample string 11",
      "MinCartValueForFreeDelivery": 12.0
    },
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "Name": "sample string 4",
      "Description": "sample string 5",
      "DeliveryRadius": 6.0,
      "DeliveryCharge": 7.0,
      "AdditionalCharge": 8.0,
      "Sort": 9,
      "MinimumCartValue": 10.0,
      "Coordinates": "sample string 11",
      "MinCartValueForFreeDelivery": 12.0
    }
  ],
  "OpeningHoursDetails": [
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "WeekId": 4,
      "WeekName": "sample string 5",
      "IsOpen": true,
      "OpeningAt": 7,
      "ClosingAt": 8
    },
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "WeekId": 4,
      "WeekName": "sample string 5",
      "IsOpen": true,
      "OpeningAt": 7,
      "ClosingAt": 8
    }
  ],
  "GalleryDetails": [
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "ImagePath": "sample string 4",
      "Description": "sample string 5",
      "IsActive": true,
      "Type": 7
    },
    {
      "Id": 1,
      "RestInfoId": 2,
      "LocId": 3,
      "ImagePath": "sample string 4",
      "Description": "sample string 5",
      "IsActive": true,
      "Type": 7
    }
  ],
  "EnableDayChange": true,
  "DayChangeTime": "sample string 26",
  "CounterId": 27,
  "CashierId": 28
}