Exigo Developer Resources

This database contains the documentation for Exigo's OData API's, as well as C# sample code and fully-realized demo applications ready to be customized for your needs. Start building downline viewers, reporting tools and shopping carts on the Exigo platform today!

Create an account Sign In



A calendar application that allows a distributor to save and view events, to-do items and birthdays, as well as view company-managed calendars.


This sample requires the following namespaces:

using ExigoOData;
using ExigoWebService;
using System.Data.Services.Client;
using System.Text;

Exigo API Authentication

This sample accesses OData using the ExigoContext object:

    public ExigoContext ExigoOData
            var context = new ExigoOData.ExigoContext(new Uri("http://api.exigo.com/4.0/" + exigoAPICompany + "/model"));
            context.IgnoreMissingProperties = true;
            var credentials = Convert.ToBase64String(Encoding.ASCII.GetBytes(exigoAPILoginName + ":" + exigoAPIPassword));
            context.SendingRequest +=
                (object s, SendingRequestEventArgs e) =>
                    e.RequestHeaders.Add("Authorization", "Basic " + credentials);
            return context;

This sample also accesses the web service using the ExigoApi object:

    public ExigoApi Exigo
            return new ExigoApi
                ApiAuthenticationValue = new ApiAuthentication
                    LoginName = exigoAPILoginName,
                    Password = exigoAPIPassword,
                    Company = exigoAPICompany


We use jQuery UI Themes for styling. We also use jQuery Templates for easy client-side layout.

<link href="<%=this.ResolveUrl("Assets/Styles/Calendar.css") %>" rel="stylesheet" type="text/css" />
<link href="<%=this.ResolveUrl("Assets/Styles/FormManager.css") %>" rel="stylesheet" type="text/css" />
<link href="<%=this.ResolveUrl("../../Themes/start/jquery-ui.custom.css") %>" rel="stylesheet" type="text/css" />
<script src="<%=this.ResolveUrl("../../Scripts/jquery.min.js") %>" type="text/javascript"></script>
<script src="<%=this.ResolveUrl("../../Scripts/jquery-ui.min.js") %>" type="text/javascript"></script>
<script src="<%=this.ResolveUrl("Assets/Scripts/jquery.templates.js")%>" type="text/javascript"></script>