Category Filter
Add App to List
Add a new app to the existing list of applications.
Argument | Type | Description | Default value |
---|---|---|---|
name | String | Required. Name of the app | |
app_type | String | Required. Use store or web | |
platform | String | Required. Use ios for App Store app search and android for Play Store app search | |
price | String | Optional. For example, $5 | |
category | String | Required. Category for the app. For example, entertainment | |
vendor | String | Optional | |
icon | String | Required. URL or base64 encoded data of the icon | |
average_user_rating | String | Optional. For example, rating 3 out of 5 | |
content_rating | String | Optional | |
remove_with_mdm | Boolean | Optional | false |
prevent_backup | Boolean | Optional | true |
If app_type is set to store and platform to ios, the following keys are also supported:
Argument | Type | Description |
---|---|---|
identifier | String | Required. Identifier of the app. For example, com.hexnode.hexnodeMDM |
appstore_id | Integer | Required. App Store ID of the app |
version | String | Required. The version of the app |
bundle_size | Float | Required. The size of the app |
description | String | Required. Values can be null |
primaryGenreId | Integer | Required. Value can be null |
appstore_ulr | Integer | Required. URL for the app in the App Store |
If app_type is set to store and platform to android, the following keys might also be required:
Argument | Type | Description |
---|---|---|
identifier | String | Required. Identifier of the app |
version | String | Optional. The version of the app |
bundle_size | Float | Optional. Size of the app |
If app_type is set to web, the following keys are supported:
Argument | Type | Description |
---|---|---|
webapp_url | String | Required. URL for the web app |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
POST https://<portal>.hexnodemdm.com/api/v1/applications/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "name":"Google", "app_type":"store", "platform":"android", "identifier":"com.google.android.googlequicksearchbox", "version":"4.0.1", "price":"Free", "remove_with_mdm":true, }] |
Shell Command:
1 2 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{ "name":"Google","app_type":"store","platform":"android","identifier":"com.google.android.googlequicksearchbox","version":"4.0.1","category":"search","icon":iconurl }' https://<portal>.hexnodemdm.com/api/v1/applications/ -X POST |
HTTP Response:
1 |
HTTP/1.1 201 Created |