Login
Path to servlet: api/authentication/login
Method: GET
Parameters
- userName - User login
- password - User's password
- domainId - Domain id (optional)
- language - The language of the system according to the java.util.Locale.language convention (optional). This must be the language supported on the given system.V3.2.16
Answer:
- The response contains the identifier formed from the combination of the domain and the user's password.
*compliant
Alternative authorization method
An alternative method for authorizing requests sent to the REST API is to use the Basic Auth method.
Logout
Path to servlet: api/authentication/logout
Method: GET
Parameters:
- none
Answer:
- {success:true}
Downloading a list of domains
Path to servlet: api/authentication/domains
GET
Parameters
- none
Answer:
- A list of system domains in JSON forma
Sample response with list of domains
[ { "id":null, "name":"PlusWorkflow" }, { "id":2, "name":"nazwaDomeny" } ]