The Blackbaud Internet Solutions product has several RESTful endpoints that allow for the retrieval of code table values, Query values and creation of Donations among other things.  These endpoints are documented on the Blackbaud Internet Solutions Developer site.  These endpoints can be used by pages not located within the Blackbaud Internet Solutions site or even across a separate domain.

The following instructions only note the requirement for the RESTful API endpoints and do not take into account any environment or unique, client-specific security requirements.  Additionally, doing so will require a working Advanced Donation Form part.  This part is used to provide the context for internal method calls.  You will need to know the part number which can be derived from the URL displayed when the part is edited.

Scripts to include
<BBIS URL>/client/scripts/API/BBAPI.js
<BBIS URL>/client/scripts/json2.js
<BBIS URL>/client/scripts/easyXDM/easyXDM.min.js


We also suggest JQuery which can be pulled from
<BBIS URL>/client/scripts/jquery/1.7.2/jquery.min.js 

Examples (swap out the URL for your BBIS environment)
<script type="text/javascript" src="http://ecbu.blackbaudhosting.com/BBIS_IS_40/client/scripts/json2.js"></script>
<script type="text/javascript" src="http://ecbu.blackbaudhosting.com/BBIS_IS_40/client/scripts/easyXDM/easyXDM.min.js"></script>  
<script type="text/javascript" src="http://ecbu.blackbaudhosting.com/BBIS_IS_40/client/scripts/API/BBAPI.js"></script>
<script type="text/javascript" src="http://ecbu.blackbaudhosting.com/BBIS_IS_40/Client/Scripts/jquery/1.7.2/jquery.min.js"></script>


The API service object variables
When declaring new API service variables each object has a series of variables, which include:
bbisURL - this will be the base URL for the BBIS instance
crossDomain - this will be set to 'true' when going across domains


All BLACKBAUD.api service objects support these variables.  Please note that the DonationService has an additional variable of:
partID - ID of an Advanced Donation Part noted above

Examples
codeTableService = new BLACKBAUD.api.CodeTableService({url: "http://ecbu.blackbaudhosting.com/BBIS_IS_40/", crossDomain: true});
donationService = new BLACKBAUD.api.DonationService(partId, {url: "http://ecbu.blackbaudhosting.com/BBIS_IS_40/", crossDomain: true});