Menu

Get Knox E-FOTA license information (Version 1)

Now that you ha ve registered for the Knox E-FOTA service, you should check your development Knox E-FOTA license to see how many devices you can test with and when your development license expires.

This section uses sample JSON and XML to demonstrate how to get Knox E-FOTA license information.

Request

To check your license info, send an HTTP POST request to this URL:

https://eu-api.samsungknox.com/b2bfota/v1/licenseInfo

Body

In the body of the HTTP request, provide the following information:

  • mdmId—This identifies your company among other partners in our KPP program.
  • customerId—This identifies one of your enterprise customers that will use the Knox E-FOTA service.
  • groupID—A device group identified by the enterprise IT admin to separate groups for different firmware updates . Upper case only, for example: "TEST GROUP".
  • license—This tracks customer usage of the Knox E-FOTA service for billing purposes.
    NOTE—While trying Knox E-FOTA, the development key is sent to you by email in the following format: "EFOTA1-fff555-ggg666-hh77". During commercial deployment, this license is purchased.

You encode this info into REST API calls to the Knox E-FOTA server, and also in the Android API call used to set the allowed firmware version on a device.

For details about each of these XML elements, see the API reference for licenseInfo.

Example

Here is a sample request to return a group's license information:

{ "B2bLicenseInfoVO": { "mdmId": "d1e2f3g4h5", "customerId": "EEEE4444-FF55-AA66-BB77-CCCCCC888888", "groupId": "TEST DEVICE GROUP", "license": "EFOTA1-fff555-ggg666-hh77" } }

<B2bLicenseInfoVO> <mdmId>d1e2f3g4h5</mdmId> <customerId>EEEE4444-FF55-AA66-BB77-CCCCCC888888</customerId> <groupId>TEST DEVICE GROUP</groupId> <license>EFOTA1-fff555-ggg666-hh77</license> </B2bLicenseInfoVO>

Response

The following is an XML sample response to a request for license information:

<B2bLicenseInfoVO>
    <maxDeviceCount>700</maxDeviceCount>
    <expirationDate>2018-03-08</expirationDate>
</B2bLicenseInfoVO>

Tutorial Progress

You've completed 4/6 steps! Go to the next step.