DVC Pro Plan Embeddable Calculator v1.0

This page describes the DVC Pro Plan embeddable calculator and its application programming interface.

Description:

The DVC Pro Plan calculator is a Disney Vacation Club (DVC) points calculator that has been designed to be embedded in an external web site via an iFrame.

 

Application Programming Interface (API):

No Arguments:
    http://www.dvcproplan.com/dvcppcalc.php
    Gives standard calculator with resort, room, and view selection elements, along with a calendar, and points text box.

Arguments:
    resort=

        Resort number ID (see notes below).   
    room=
       
Room number ID (see notes below).
    view=
       
View number ID (see notes below).
    ds=
       
Date Start in the form of "YYYYMMDD".
        YYYY = year in four digit format.
        MM = month number in two digit format.
        DD = day number in two digit format.
    de=
       
Date Start in the form of "YYYYMMDD".
        YYYY = year in four digit format.
        MM = month number in two digit format.
        DD = day number in two digit format.
    calendar=
       
Show calendar.
        If set to "1" calendar is shown, if set to "0" calendar is hidden.
        Default is "1".
    type=
        Type of calendar to use.
        If set to "1" calendar is multi-select.
        If set to "0" calendar is single-select.
        Single-select works best for mobile devices.
        Default is "0".
    button=
       
Adds button below points box with text from "button" argument.
        This is used in conjunction with "callback".
        Both "button" and "callback" need to be set for button to appear.
    callback=
       
Callback URL to navigate to when button is pressed.
        Callback URL needs to be in the form: callback=http://www.othersite.com/other.php?points=
        Points number from points box are appended to end of URL.
    open=
        Used with "callback".
        URL specified in callback is opened when button is pressed.
        Callback URL needs to be in the form: callback=http://www.othersite.com/other.php
        Points, resort, room, view, date start and date end are appended to end of URL.
        Append data example: "?points=104&resort=3&room=2&view=2&ds=20110601&de=20110608"
    debug=
       
Turns on debugging when set to "1". Se to "0" to turn off debugging.
        Default is "0".
        Debugging currently shows the hidden date fields. More may be added later.

Example URLs:
http://www.dvcproplan.com/dvcppcalc.php
http://www.dvcproplan.com/dvcppcalc.php?resort=2&room=4&view=2&ds=20110601&de=20110612&calendar=1&type=0&debug=0
http://www.dvcproplan.com/dvcppcalc.php?button=Click%20to%20close%20and%20update%20points&callback=http://www.google.com?q=

 

Using an iFrame:

<iframe src="http://www.dvcproplan.com/dvcppcalc.php" frameBorder="0" width="300" height="510"></iframe>


 

Notes:

Resort IDs:
1 Animal Kingdom Villas AKV
2 Old Key West OKW
3 BoardWalk Villas BWV
4 Villas at Disney's Wilderness Lodge VWL
5 Saratoga Springs Resort and Spa SSR
6 Beach Club Villas BCV
7 Bay Lake Tower at the Contemporary BLT
8 Hilton Head Island Resort HH
9 Aulani Villas Hawaii ADV
10 Vero Beach Resort VB
11 Villas at Grand Calafornian Hotel VGC

Room IDs:
1 Studio
2 Deluxe Studio
3 One Bedroom Villa
4 Two Bedroom Villa
5 Three Bedroom Grand Villa
6 Three Bedroom Tree House Villa
7 Deluxe Inn Garden View
8 Deluxe Inn Ocean View
9 Three Bedroom Cottage

View IDs:
1 Value Accommodation
2 Standard View
3 Savanna View
4 Kilimanjaro Club Concierge
5 Boardwalk/Preferred View
6 Lake View
7 Theme Park View
8 Island Gardens View
9 Poolside Gardens View
10 Ocean View
11 Garden View