Get Available Product Set
|
|||||
|
|
Retrieves the set of products a user is entitled to access
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage corporate Android devices
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
enterpriseId Required |
STRING |
The ID of the enterprise |
userId Required |
STRING |
The ID of the user |
= Parameter name
= Format
enterpriseId STRING Required The ID of the enterprise |
userId STRING Required The ID of the user |
Output
This building block provides 7 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet" |
productId[] |
STRING |
|
productSetBehavior |
STRING |
The interpretation of this product set. "unknown" should never be sent and is ignored if received. "whitelist" means that the user is entitled to access the product set. "includeAll" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. "allApproved" means that the user is entitled to access all products that are approved for the enterprise. If the value is "allApproved" or "includeAll", the productId field is ignored. If no value is provided, it is interpreted as "whitelist" for backwards compatibility. Further "allApproved" or "includeAll" does not enable automatic visibility of "alpha" or "beta" tracks for Android app. Use ProductVisibility to enable "alpha" or "beta" tracks per user |
productVisibility[] |
OBJECT |
A product to be made visible to a user |
productVisibility[].productId |
STRING |
The product ID to make visible to the user. Required for each item in the productVisibility list |
productVisibility[].trackIds[] |
STRING |
|
productVisibility[].tracks[] |
STRING |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet" |
productId[] STRING |
productSetBehavior STRING The interpretation of this product set. "unknown" should never be sent and is ignored if received. "whitelist" means that the user is entitled to access the product set. "includeAll" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. "allApproved" means that the user is entitled to access all products that are approved for the enterprise. If the value is "allApproved" or "includeAll", the productId field is ignored. If no value is provided, it is interpreted as "whitelist" for backwards compatibility. Further "allApproved" or "includeAll" does not enable automatic visibility of "alpha" or "beta" tracks for Android app. Use ProductVisibility to enable "alpha" or "beta" tracks per user |
productVisibility[] OBJECT A product to be made visible to a user |
productVisibility[].productId STRING The product ID to make visible to the user. Required for each item in the productVisibility list |
productVisibility[].trackIds[] STRING |
productVisibility[].tracks[] STRING |