Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.78 KB

File metadata and controls

44 lines (26 loc) · 1.78 KB

ApiExamples

This repository contains example code for integrating with the SRS API.

Contents

In the examples folder you will find C#, JavaScript, & VBA examples for integrating with the API.

Environment

C#

  1. You'll need to download and install .Net 4.6 or greater
  2. You'll need to download and install LINQPad 5 or Visual Studio Community
    • .linq files contain C# code which can be used in a normal .cs file.

JS

  1. Examples are written in ES5 syntax with jQuery 3.1.0 though it should be backwards compatable down to JQuery 1.8.
  2. Output is logged to the console

VBA

  1. Enable the Developer Tab in your target application (Word, Excel, Access, etc.)
  2. You'll need to add a reference to:
    • Microsoft XML, v6 (should work with any version)

Configuration

  1. You'll need a valid user account to access the API
  2. You'll need the basepath to access the API
    • http[s]://[yourSeverName]/SRSAPI/Generic

API Documentation

API documentation is available for your installed version of the API on your production server.

Visit http[s]://[yourServerName]/SRSAPI/Generic/Help

Want to help?