1.1.26 • Published 8 years ago

hostme-sdk-angular-web v1.1.26

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

#Angular SDK for HOstMe Admin APIs

##Get started:

npm install hostme-sdk-angular-web

##Find a table Check restaurant availability for specific party size, date and time. This API method returns list of time slots with availability information.

GET http://service.hostmeapp.com/api/rsv/web/restaurants/{restaurantId}/availability?date=2016-10-07T10%3A00%3A00-05%3A00&partySize=2&rangeInMinutes=360

[
  {
    "acceptReservations": true,
    "availabilityLevel": "Available",
    "open": true,
    "requestedTime": false,
    "time": "04:00:00"
  },
  {
    "acceptReservations": true,
    "availabilityLevel": "Available",
    "open": true,
    "requestedTime": false,
    "time": "04:10:00"
  },
  ....
]

##Book a table Book a table passing time for available time slot - See previous method.

POST http://service.hostmeapp.com/api/rsv/web/restaurants/{restaurantId}/reservations
{
  "reservationTime": "2016-09-01T12:51:36.6119191+00:00",
  "customerName": "Evgeny",
  "phoneNumber": "+1 111-111-1111",
  "groupSize": 4,
  "note": "string",
  "highChair": true,
  "stroller": true,
  "party": true
}
1.1.32

8 years ago

1.1.31

8 years ago

1.1.30

8 years ago

1.1.29

8 years ago

1.1.28

8 years ago

1.1.27

8 years ago

1.1.26

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago