Provisioning User Licenses
Note: The Provisioning User Licenses is depricated from v.2.50.0 on 20/09/2017. We advice to use the new Licensing API.
GET /{EnvironmentName}/UserLicenses/
Description:Gets the User Licenses summary
Name |
Located in |
Description |
Required |
Schema |
EnvironmentName |
Path |
Name of the Environment |
Yes |
string |
Responses
Code |
Description |
Schema |
200 |
The User Licenses summary |
{ purchasedLicenses: integer The number of purchased user licenses usedLicenses: integer The number of user licenses used } |
403 |
The Provisioning Key in the configuration is not defined or empty. |
|
404 |
Resource is not found |
|
500 |
Internal server error. This could be caused by passing an incorrect data object |
Example
GET https://portal.workspace365.net/Provisioning/example/UserLicenses/HTTP/1.1 Accept: application/json Host: portal.workspace365.net ProvisioningKey: C7656554-85A2-4AFD-BAB7-18C71593C4D2 X-Requested-With: XMLHttpRequest
PUT /{EnvironmentName}/UserLicenses/Count/
Description:Gets the User Licenses summary
Name |
Located in |
Description |
Required |
Schema |
EnvironmentName |
Path |
Name of the Environment |
Yes |
string |
LicenseCount |
Body |
Total amount of purchased User Licenses |
Yes |
integer |
Responses
Code |
Description |
Schema |
200 |
Succes |
|
400 |
Array of Validation Results |
[ValidationResult] |
403 |
The Provisioning Key in the configuration is not defined or empty. |
|
404 |
Resource is not found |
|
500 |
Internal server error. This could be caused by passing an incorrect data object |
Example
PUT https://portal.workspace365.net/Provisioning/example/UserLicenses/Count/HTTP/1.1 Accept: application/json Content-Length: 2 Content-Type: application/json Host: portal.workspace365.net ProvisioningKey: C7656554-85A2-4AFD-BAB7-18C71593C4D2 X-Requested-With: XMLHttpRequest 99