MARINGO Computers GmbH, Cologne, Germany

MARIRestService

This service can be used in addition to the MARIWebService to interact with the MARIProject database via MARIInterface.

Initial Setup

Use the MARIProject Administrator > Webserver >  MARI REST Service Settings to modify the web.config file. This file will include the link to the MARIProject database.

Login Procedure

Create a POST call to the https://youriisserver/MARIRestService/token.

Submit a Content-Type:application/x-www-form-urlencoded with the following content:

username=MARIProjectUser&password=****&grant_type=password

Result: { "access_token": "5p6sTVOiANw3...", "token_type": "bearer", "expires_in": 3599 }. The expires_in are in seconds

Subsquent calls:

Submit haeders with: Content-Type:application/json and Authorization: Bearer <access_token_content>

MARIInterface

Your calls will be processed by the MARIInterface Library.

Click on the API documentation button and also review the MARIInterface.chm documentation in the main installation folder of MARIProject. (Make sure your URL does end with a /)

API documentation (swagger)

MARIInterface documentation

Database documentation

GET SystemInfo