The REST API provides the following methods to manage licenses:
POST /admin/licenses
URI |
|
---|---|
Description |
Installs the given license which is in text/XML or binary format. |
Request Header |
|
|
|
Request Body |
The content of the The maximum size for the license file whose content is in a binary stream is 50KB. |
Response Status |
|
Response Body | Empty. |
Access Rights |
'Write licenses REST API'. |
GET /admin/licenses
URI |
|
---|---|
Description |
Returns the details of current licenses that are installed and the number of communication points in use which counts towards each license limit. |
RequestHeader |
|
|
|
Accept: text/vnd.orchestral.rhapsody.6_4+xml |
|
Request Body |
Empty. |
Response Status |
|
Response Body |
<licenseInfo> <environmentType>Test</environmentType> <licenses> <license valid="true"> <name>Rhapsody Engine</name> <version>6.3</version> <type>TEST</type> <id>05ca2abb-1fbd-4225-a983-53fbe691a1e7</id> <issueDate>2017-10-17T00:00:00.000+13:00</issueDate> <licensee>Rhapsody Health</licensee> </license> </licenses> <totalCommpoints>-1</totalCommpoints> <internal>false</internal> <componentId>SAP Toolkit</componentId> <componentId>Branding</componentId> <componentId>IHE Toolkit</componentId> <usedCommpoints>15</usedCommpoints> </licenseInfo> A license for unlimited communication points indicated by a |
Access Rights |
'Read licenses REST API'. |
DELETE /admin/licenses/<id>
URI |
|
---|---|
Description |
Removes the license with the given license ID. |
Request Header |
Empty. |
Request Body |
Empty. |
Response Status |
|
Response Body | Empty. |
Access Rights |
'Write licenses REST API'. |