For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Application license configuration (GET)
Retrieves the metadata of a specific license configuration for the application.
Roles
Users in the following roles are authorized to perform this operation:
- mfpadmin
- mfpdeployer
- mfpmonitor
- mfpoperator
Method
GET
Path
/management-apis/2.0/runtimes/runtime-name/license/application-name
Example
https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/license/myapplication?locale=de_DE
Path Parameters
- runtime-name
- The name of the runtime. This is the context root of the runtime web application, without the leading slash.
- application-name
- The name of the application.
Query Parameters
Query parameters are optional.
- locale
- The locale used for error messages.
Produces
application/json, application/xml, text/xml
Response
The license configuration as JSON code.
JSON Example
{ "appID" : "com.package.id", "category" : "B2C", "licenseType" : "APPLICATION", }
XML Example
<?xml version="1.0" encoding="UTF-8"?> <runtime appID="com.package.id" category="B2C" licenseType="APPLICATION"/>
Response Properties
The response has the following properties:
- appID
- The package name (Android) bundleId (iOS), or package identity (Windows) name of the application
- category
- License category
- licenseType
- The type of license
Errors
403The user is not authorized to call this service.404
The corresponding runtime or the adapter is not found.500
An internal error occurred.
Parent topic: REST API for the MobileFirst Server administration service