GET api/License?organizationid={organizationid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetLicensesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Total | integer |
None. |
|
| Usage | integer |
None. |
|
| ProgressbarClass | string |
None. |
|
| Percentage | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Total": 2,
"Usage": 3,
"ProgressbarClass": "progress-bar-danger",
"Percentage": 100
},
{
"Name": "sample string 1",
"Total": 2,
"Usage": 3,
"ProgressbarClass": "progress-bar-danger",
"Percentage": 100
}
]
text/html
Sample:
[{"Name":"sample string 1","Total":2,"Usage":3,"ProgressbarClass":"progress-bar-danger","Percentage":100},{"Name":"sample string 1","Total":2,"Usage":3,"ProgressbarClass":"progress-bar-danger","Percentage":100}]
application/xml, text/xml
Sample:
<ArrayOfGetLicensesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Herke.Licensing.Model.Response">
<GetLicensesResponse>
<Name>sample string 1</Name>
<Total>2</Total>
<Usage>3</Usage>
</GetLicensesResponse>
<GetLicensesResponse>
<Name>sample string 1</Name>
<Total>2</Total>
<Usage>3</Usage>
</GetLicensesResponse>
</ArrayOfGetLicensesResponse>