• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Golf Tee Time API - Issue with available tee times

    • Francois
    • Topic created 12 years ago

    Hi,

    I'm having troubles booking tee times using your Golf Tee Time API.

    Let's say I'm trying to book a tee time around Phoenix, AZ on 01/19/2013.

    http://theapi.active.com/golf/84/ListTeetimes?courseId=139&date=01/19/2013%2010:00:00&api_key=YOUR-KEY

    This request returns a list of available tee times for Dobson Ranch Golf Course (a course in Arizona).

    So far, everything is fine. Then I use the the VerifyTeeTime endpoint for one of the previous available tee time (let's say 4:05PM)

    http://theapi.active.com/golf/84/VerifyTeetime?courseId=139&teetime=01/19/2013 04:05 PM&hole=1&api_key=YOUR-KEY

    It's still fine. Finally, I use GetBookingLink:

    http://theapi.active.com/golf/84/GetBookingLink?courseId=139&teetime=01/19/2013 04:05 PM&hole=1&players=2&rate=24.00&rateplanid=1276&api_key=YOUR-KEY

    That gives me this link:

    http://www.activegolf.com/checkout/addteetime?CourseId=139&Date=2013-01-19&TeeTime=16:05&Players=2&Rate=24.00&utm_source=Mashery LIVE&utm_medium=api&utm_campaign=api-addteetime?cmp=39-23--adamgrimes

    As you can see on the page, I've got this error message:

    "We're sorry but the tee time you were looking for is no longer available. Please try another tee time below."

    But if you check the list below, the 4:05PM tee time is listed and if you click on it, you can actually book it.

    After investigating for a few days, I found out that the results from ListTeeTimes are not up to date.

    If you go to http://www.activegolf.com/dobson-ranch-golf-course-mesa-arizona/139 (the page for the course I was looking Tee Times), and try to find available tee times on 01/19/2013 (2 players, 10AM), the results are different from the API results. Even the prices for the matched tee times are different.

    This was a specific example but it's happening almost 70-80% of the time.

    Is the API outdated or just the list of available tee times? Or is it coming from my API calls?

    Thanks alot.

    Regards,

    -- Francois

    Message edited by jarredd 12 years ago

  1. jarredd12 years ago

    Francios, I will look into this and get back to you ASAP. Thanks for bringing this to my attention.

    Best regards, Jarred

[ Page 1 of 1 ]