Skip to content

interactiveticketing/interactiveticketing-csharp

Repository files navigation

InteractiveTicketingSdk - the C# library for the Developer API

Get your API Key from the Dashboard.
Send all API requests with http header X-API-Key: YOUR-API-KEY-HERE.
Base URL: https://secure.interactiveticketing.com/developers/api/v4
Contact support@interactiveticketing.com for help.

This C# SDK is automatically generated by the Swagger Codegen project:

  • API version: v4
  • SDK version: 4.0.0
  • Build package: io.swagger.codegen.v3.generators.dotnet.CSharpClientCodegen

Frameworks supported

  • .NET Core >=1.0
  • .NET Framework >=4.6
  • Mono/Xamarin >=vNext
  • UWP >=10.0

Dependencies

  • FubarCoder.RestSharp.Portable.Core >=4.0.7
  • FubarCoder.RestSharp.Portable.HttpClient >=4.0.7
  • Newtonsoft.Json >=10.0.3

Installation

Generate the DLL using your preferred tool

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

using InteractiveTicketingSdk.Api;
using InteractiveTicketingSdk.Client;
using InteractiveTicketingSdk.Model;

Getting Started

using System;
using System.Diagnostics;
using InteractiveTicketingSdk.Api;
using InteractiveTicketingSdk.Client;
using InteractiveTicketingSdk.Model;

namespace Example
{
    public class Example
    {
        public void main()
        {
            var apiInstance = new DefaultApi();
            var eventId = 56;  // int? | ID of event to return
            var fromCartEmailId = 56;  // int? | Return entries with `cartEmailId` greater than `fromCartEmailId`. (optional) 
            var email = 56;  // int? | Return entries with matching email address. (optional) 
            var start = 56;  // int? | For pagination, return orders from `start` row index. (optional) 
            var limit = 56;  // int? | For pagination, limit results to `limit` number of rows. (optional) 

            try
            {
                // Query Abandoned Shopping Cart Data
                PaginatedCartEmails result = apiInstance.EventsEventIdAbandonedShoppingCartsGet(eventId, fromCartEmailId, email, start, limit);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.EventsEventIdAbandonedShoppingCartsGet: " + e.Message );
            }
        }
    }
}

Documentation for API Endpoints

All URIs are relative to https://secure.interactiveticketing.com/developers/api/v4

Class Method HTTP request Description
DefaultApi EventsEventIdAbandonedShoppingCartsGet GET /events/{eventId}/abandonedShoppingCarts Query Abandoned Shopping Cart Data
DefaultApi EventsEventIdGet GET /events/{eventId} Fetch Event by ID
DefaultApi EventsEventIdOrdersBarcodeBarcodeGet GET /events/{eventId}/orders/barcode/{barcode} Fetch Order by Barcode
DefaultApi EventsEventIdOrdersGet GET /events/{eventId}/orders Query Orders
DefaultApi EventsEventIdOrdersOrderIdGet GET /events/{eventId}/orders/{orderId} Fetch Order by ID
DefaultApi EventsGet GET /events List All Events
DefaultApi ScanPost POST /scan Scan Ticket

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.