This document will cover the basics of the CM evolveIT Dashboard Configuration Tool. There will be a discussion about what APIs are available, how to use the APIs and how to test results from the APIs. The last section of the document will walk you through an example API call.
After completing this document, you should be able to find the APIs available to connect with the CM evolveIT Dashboard data. You will be able to find documentation on the APIs and how to use the APIs to make your connections to the dashboard data.
All of the data access for CM evolveIT dashboard uses Web APIs. Therefore, you can use the same APIs to do some work that the Dashboard doesn’t provide to you.
You can Automatically do:
NOTE:
http://<hostname>:32670/swagger/ui/index
The Common steps to Invoke CM evolveIT API:
Invoke API with Swagger
This section explains how to invoke CM evolveIT APIs from Swagger documentation page
Successful Response image
Sample Response Body
Please copy “Token” value. It is required to execute most of APIs
{"UserID":"Administrator","FirstName":"System","LastName":"Admin","MiddleName":null,"Email":"admin@evolveit.com","IsActive":true,"RegisteredOn":"2018-06-27T10:41:09Z","Token":"uwGuF2XTx8rdbslBS1oBKg5sds0EsDexa96KrCSwRrwS","ImageData":null,"NeedPasswordReset":false,"FromAD":false,"ID":"#17:0"}
TIP:
You can use the same Request URL from your custom application
Parameter type query
Parameter type body
In case you don’t provide Token or the User doesn’t have Permission to execute the API, you will get Response Code: 401.
Invoke Get/User API
Create a new User Group then, assign User(s) to the User Group
Pre-requirement
Implementation
Create all User Group record(s)
POST /api/Usergroup
{
"Name": "Team B",
"CreatedOn": ""
}
GET /api/Usergroup
{
"Name": "Team A",
"CreatedOn": "2018-06-26T13:41:10.757Z",
"ID": "#41:1"
},
{
"Name": "Team B",
"CreatedOn": "2018-06-26T13:41:10.757Z",
"ID": "#41:2"
}
GET /api/User
{
"UserID": "RogerH",
"FirstName": "Roger",
"LastName": "Hammer",
"MiddleName": "",
"Email": "",
"IsActive": true,
"RegisteredOn": "2018-06-28T18:08:12.073Z",
"Token": "",
"ImageData": null,
"NeedPasswordReset": false,
"FromAD": true,
"ID": "#17:1"
},
{
"UserID": "KiyoshiT",
"FirstName": "Kiyoshi",
"LastName": "Terasawa",
"MiddleName": "",
"Email": "",
"IsActive": true,
"RegisteredOn": "2018-06-28T18:08:12.073Z",
"Token": "",
"ImageData": null,
"NeedPasswordReset": false,
"FromAD": true,
"ID": "#17:2"
}
This sample data is for Associates User “RogerH” (#17:1) and “KiyoshiT” (#17:2) with User Group “Team B” (#41:2)
{
"ParrentId": "#41:2",
"ChildIds": [
"#17:1",
"#17:2"
]
}
{
"ParrentId": "#41:2",
"ChildIds": [
"#17:1",
"#17:2"
]
}