Discussions

Ask a Question

Dynamic Cancellation Message (API)

When an appointment is cancelled, is there a way to have a custom message?

Is there a Send Message API?

Hi, I have a cronjob that checks all the bookings with specific DataField value and sends the user a message. Do we have an API that can send a message to user?
ANSWERED

List Visits API - Multiple state?

https://developers.waitwhile.com/reference/listvisits Is it possible to have multiple state for query params?
ANSWERED

locationId is null

Hi, I use the List Locations API (https://developers.waitwhile.com/reference/listlocations) and I noticed all the locationId is null. Am I missing something here?
ANSWERED

Select a service

I'm trying to find a way to increase the logo images when selecting a service. Can anyone help?

Webhooks: occasional errors comparing X-Waitwhile-Signature with our computed value

This is kind of embarrassing; it should be easy enough. If I'm reading the documentation correctly, this should work to calculate the Base-64 string for comparison with the X-Waitwhile-Signature: private string GetHashedStringFromRemovedBody(string strBody) { string strOurURL = "https://xxx.xxx.xxx/Waitwhile/VisitRemoved"; var getkeyByte = Encoding.UTF8.GetBytes("yyyyyyyyyy"); string strResults = string.Empty; try { using (var hmac = new HMACSHA256(getkeyByte)) { byte[] hashValue = hmac.ComputeHash(Encoding.UTF8.GetBytes(strOurURL + strBody)); strResults = Convert.ToBase64String(hashValue); } } catch (Exception ex) { log.Error("Error calculating hash from body: " + ex.Message); } return strResults; } === ...where strBody is from the incoming JSON from Waitwhile (jsonbody.ToString(Newtonsoft.Json.Formatting.None, Nothing)). I've obviously obscured our URI and secret. Also, to simplify the example, this is hard-coded just for Visit.Removed. This _usually_ works. But sometimes it doesn't, for no apparent reason. Do I have an obvious typo in the above? Do you have a better example of validating X-Waitwhile-Signature in a .NET Web API environment? Sorry again for the stupid question...
ANSWERED

How can I find deleted visits?

How can I find deleted visits? Seems like the visit_id disappears when a booking gets cancelled..
ANSWERED

Retrieve Que Position?

Which webhook would I use to retrieve a customers position in a waitlist. I would like my app to update itself with your server on a weekly basis. What identifiers are necessary to poll waitwhile? Location Id and Phone Number? Best, Cayce
ANSWERED

Adding location to service

Hi! I was looking through your API docs for ways to add locations to existing services. I've ended up solving this by POST-ing to /v2/services/{serviceId} with the new locationIds. While this works, it requires you to fetch the existing locationIds so you can append new IDs to the list. And while it's unlikely for our use case, this could lead to concurrency issues. Is there some other way of patching services that I'm not seeing? Can I assign locations to services when creating them, e.g. with assignToServices? I'm having some trouble figuring out what these query params do, and how to use them. Thanks! :)

Metadata for Booking and Location objects

Metadata is a great improvement. Will it be added to booking and location objects? additionally, Is there any page we can follow the roadmap and releases? Thanks