When creating any group or user for the Web Application, a company must be assigned to that entity, therefore a prerequisite for defining users and groups is to create at least one company.
Use the POST method to create a company with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3
-
Resource path: /Companies
The parameters for the service root URI below are provided as an example. The server and domain name you provide depend on your specific environment.
Sample URI
POST
https://WebApiServer1.APIServerDomain.com/webapibe3.0/sem/v3/Companies
Sample JSON request
{
"Name": "My Company",
"Description": "My Company description"
}
When you create a company, the following groups are assigned by default for that company: SuperAdmins, ToolAdmins, and Everyone (Read-only admin rights). Also, a default environment is created for that company.