iMIS SDK

iMIS SDK Developer Guide

The iMIS software development kit (SDK) provides a secure set of web services for accessing the iMIS platform, across the organization, across different physical locations, and even across organizational boundaries.

This documentation contains the following sections and supports iMIS versions 20.2.26 (iMIS 20-300), 100.1.65 (iMIS 20-100 and iMIS 20-200), and later versions, unless a specific environment is specified.

Get Started    Discussions
Suggest Edits

Bearer token

 

Tokens are issued to clients by iMIS. The client uses the access token to access the protected resources hosted by the iMIS server.

Click the Try It button to create a new Bearer access_token. Copy the access_token value from the response object to use when running a Try It example.

Suggest Edits

Request new token

Create a new Bearer access_token.

 
posthttps://testapi.imis.com/Asi.Scheduler_SDKDemo/Token
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://testapi.imis.com/Asi.Scheduler_SDKDemo/Token");

xhr.send(data);
var client = new RestClient("https://testapi.imis.com/Asi.Scheduler_SDKDemo/Token");
var request = new RestRequest(Method.POST);
IRestResponse response = client.Execute(request);
A binary file was returned

You couldn't be authenticated

Try the API to see results

Form Data

grant_type
string

The value must be 'password'.

username
string

iMIS login username.

password
string

iMIS user password.

Response

The request was successful.

jQuery.ajax("https://myserver.com/token", {
  type: "POST",
  data: {
    "grant_type":"password",
    "username":"MyUsername", 
    "password":"MyPassword"
  },
  headers: {
    "Content-Type": "application/x-www-form-urlencoded"
  }, 
  success: function(data) {
    console.log(data);
  }
});