REST API

REST API allows you quick and easy access to the main functions of Stimulsoft Server and automates user actions of the system in your application. Access points to the REST-services should be on your domain and be accessible via HTTP/HTTPS. For example, we will use the locally installed version of Stimulsoft Server with the URL http://reports.stimulsoft.com. A relative path begins with the prefix /1/ which means the first version of REST API.

EndPoint HTTP Verb Action
/1/login GET Login registered user
/1/logout DELETE User logout
/1/signup POST New user registration
/1/users GET Getting a list of users
/1/users POST Creating a new user
/1/users/<UserId> GET [Getting information about the user ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Users/GET_Info.html)
/1/users/<UserId> PUT [Changing user information ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Users/PUT_Edit.html)
/1/users/<UserId> DELETE [Removing a user ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Users/DELETE.html)
/1/users/current GET Getting information about the current user
/1/users/current PUT Changing the current user information
/1/users/<UserId>/changepassword PUT Change user password
/1/users/current/changepassword PUT Changing the password of the current user
/1/users/<UserId>/resetpassword PUT [Initialize reset the user’s password](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Users/Reset_password.html)
/1/users/current/resetpassword PUT Initialize the current user password reset
/1/resetpassword/secretcode PUT Confirm password reset by a secret code
/1/roles GET Getting a list of roles
/1/roles/<RoleId> GET [Getting information about the role ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Roles/GET_Info.html)
/1/roles POST Creating a new role
/1/roles/<RoleId> PUT [Changing information about the role ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Roles/PUT_Edit.html)
/1/roles/<RoleId> DELETE [Remove a role ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Roles/DELETE.html)
/1/items GET Getting a list of items
/1/items/<ItemId> GET [Getting information about the element ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/GET_Info.html)
/1/items POST Create a new item
/1/items/<ItemId> PUT [Changing information about the element ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/PUT_Edit.html)
/1/items/<ItemId> DELETE [Deleting an element ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/DELETE.html)
/1/items/<ItemId>/share GET [Getting information about public access to the element ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/Share/GET_Info.html)
/1/items/<ItemId>/share PUT [Changing data on public access to the element ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/Share/PUT_Edit.html)
/1/items/<ItemId>/share DELETE [Removing an element from public access](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Items/Share/DELETE_Reset.html)
/1/schedulers GET Getting a list of schedulers
/1/schedulers/<SchedulerId> GET [Getting information about the scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/GET_Info.html)
/1/schedulers POST Creating a new scheduler
/1/schedulers/<SchedulerId> PUT [Changing information about the scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/PUT_Edit.html)
/1/schedulers/<SchedulerId> DELETE [Removal of scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/DELETE.html)
/1/schedulers/<SchedulerId>/status GET [Getting information about the state of the scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/GET_Info_Status.html)
/1/schedulers/<SchedulerId>/status PUT [Setting state of scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/PUT_Edit_Status.html)
/1/schedulers/<SchedulerId>/run PUT [Immediate start of scheduler ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Schedulers/Run.html)
/1/files GET Getting a list of files
/1/files/<FileId>/ GET [Downloading a file ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Files/GET_Download.html)
/1/files POST Creating a new file
/1/files/<FileId>/ PUT [Appending a new chunk to file ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Files/PUT_Append.html)
/1/files/<FileId>/ DELETE [Removing a file ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Files/DELETE.html)
/1/reporttemplates GET Getting a list of report templates
/1/reporttemplates/<ReportTemplateId>/ GET [Getting information about the report template ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Report_Template/GET_Info.html)
/1/reporttemplates POST Creating a new report template
/1/reporttemplates/<ReportTemplateId>/ DELETE [Removing a report template ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Report_Template/DELETE.html)
/1/reporttemplates/<ReportTemplateId>/run PUT Build the report template and save result to another item
/1/reporttemplates/<ReportTemplateId>/duplicate POST Creating a new copy of the report template in a workspace of the logged-in user.
/1/reportsnapshots GET Getting a list of report snapshots
/1/reportsnapshots/<ReportSnapshotId>/ GET [Getting information about the report snapshot ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Report_Snapshot/GET_Info.html)
/1/reportsnapshots POST Creating a new report snapshot
/1/reportsnapshots/<ReportSnapshotId>/ DELETE [Removing a report snapshot ](/Stimulsoft.Server.API.Manual/Stimulsoft_Server/REST_API/Report_Snapshot/DELETE.html)
/1/reportsnapshots/<ReportSnapshotId>/export PUT Export data from report snapshot