Discussions

Ask a Question

Domain in photourl is not allowed

I try to update resource photourl with our own CDN url. But I receive "Domain in photourl is not allowed" error message. is it possible to add our own domain?

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

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

Select a service

I'm trying to find a way to increase the logo images when selecting a service. Can anyone help?
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

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?

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?

Dynamic Cancellation Message (API)

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