API Documentation
This data is managed in our IR Office Portal.
<div id=”CalDiv”></div>
<script language=”JavaScript” src=”https://www.b2i.us/b2i/Calapi.asp?v=1.0.6″ type=”text/javascript”></script>
<script language=”JavaScript” type=”text/javascript”>
oCal.BizID=”2626″;
oCal.sKey=”Sf6Ic9Gy8″;
oCal.sDiv=”CalDiv”; // When using Calendar multiple times on same page, set unique div names
oCal.Mode=”0″; // For all events, see below for other options
oCal.sHttp=”https”;
getCalData();
</script>
Optional parameters: Should always come before calling the getCalData(); method.
oCal.Count=”5″; | Count of items to show, default is 5 |
oCal.Mode=””; | oCal.Mode=”” for Future events only, oCal.Mode=”1″ for Past events, oCal.Mode=”0″ for all events |
oCal.lo=”2″; | Calendar List layout – default: lo=”1″; currently 0-8 available |
oCal.ViewLink=”/yourpagename”; | The View link is used to display the Event in Full on a separate page. Add the link in this ViewLink parameter value. |
oCal.Year=”2017″; | Enter a year for segmenting data by years. |
oCal.iDateFormat=”1″; | Date Format: 1-6, default is 1, 1= mmm dd, yyyy 2= mm/dd/yyyy 3= dd/mm/yyyy 4= dd mmm yyyy 5= Day, Month dd, yyyy, 6= Month dd,yyyy |
oCal.iDateLocation=”1″; | default: 0, 1 for above title, 0 for below title |
oCal.sDiv=””; | Sets the location to render the data. Use different div names when using the plugin on a page multiple times ex. Future Events and Past Events |