This service can be used in addition to the MARIWebService to interact with the MARIProject database via MARIInterface.
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.
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
Submit haeders with: Content-Type:application/json and Authorization: Bearer <access_token_content>
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 /)