Get Available User Licenses
This request retrieves a list of available licenses for the tenant service.
URI
{{baseUrl}}/api/v3/customer/{customerGuid}/availableLicenses
HTTP Method
GET
Request Parameters
|
Parameter |
Type |
Description |
||||||
|---|---|---|---|---|---|---|---|---|
|
customerGuid |
string($uuid) (path) |
customerGuid' value created in the Live Platformcustomer tenant SQL database directory:
Extract this value using Get Services Brief Details (V3) or Get Customers Brief Details (V2) searching for the matching Short Name of the service. |
Example Response
[
{
"availableUnits": 1,
"id": 28,
"friendlyName": "Microsoft 365 E5 EEA (no Teams)",
"guid": "3271cf8e-2be5-4a09-a549-70fd05baaa17",
"needPhoneSystem": false,
"overridePhoneSystemSku": null
}
]
Response
| ■ | 200 OK |
|
Parameter |
Type |
Description |
|---|---|---|
|
availableUnits |
integer |
?? |
|
id |
integer |
?? |
|
friendlyName |
string |
The type of the license that is assigned to the tenant. For example, Microsoft 365 E5 EEA (no Teams) |
|
guid |
string($uuid) (path) |
??? |
|
"needPhoneSystem": false, |
boolean |
??? |
|
"overridePhoneSystemSku": null |
|
??? |
| ■ | 404 Not Found |
The table below shows the full list of fields returned in this response. The actual fields returned may differ according to the request.
|
Parameter |
Type |
Description |
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
type |
string |
Error type |
|||||||||
|
title |
string |
Email title |
|||||||||
|
status |
integer |
The status of the connection with M365 platform:
|
|||||||||
|
detail |
string |
Additional error details. |
|||||||||
|
instance |
string |
Error instance. |
|||||||||
|
errorTicket |
string |
The error ticket string opened for this request. |
|||||||||
|
errorCode |
string |
Error code output in the request |
|||||||||
|
traceId |
string |
The trace id of the request |
|||||||||
|
additionalProp1 |
string |
Custom Script variable argument. For example IP-Network. |
|||||||||
|
additionalProp2 |
string |
Custom Script argument. For example, IP-SubnetBits. |
|||||||||
|
additionalProp3 |
string |
Custom Script argument. For example, Trusted-IP-Network. |
| ■ | 500 Internal Server Error |
See fields above