VMware Workspace ONE Community
FedericoLillacc
Enthusiast
Enthusiast
Jump to solution

API - Bulk Android Enteprise app approval, info needed

Hello, I'd like to approve a large number of Android applications (about 1.000) for an OG using WS1 API.

Under /API/mam (REST API v1) I found this: 

https://as1678.awmdm.com/API/mam/groups/{uuid}/androidwork/apps

mam_API.png

It's a PATCH request requiring a uuid for the org group, a JSON patch and the bundle id of the application.

I have problems with the JSON patch: I cannot understand what the patch should contain. The example value is not clear, I can only understand that I should use a 'replace' operation, but I don't know which property and which values I have to patch.

Could someone please explain how to correctly prepare the JSON patch to approve an application (e.g. Chrome)?

I couldn't find any kind of documentation too.

Thanks in advance!

 
 

 

 

Labels (1)
Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
ogushia
Hot Shot
Hot Shot
Jump to solution

I have used the API to approve the Google Play Services(com.google.android.gms).
In my experience, each parameter is:

-uuid : Organization group uuid (you can get uuid with api [https://asXXXX.awmdm.com/api/help/#!/apis/10008?!/OrganizationGroups/OrganizationGroups_GetAsync])
-bundleId : App bundle id (eg:com.android.chrome)
-androidWorkAppSettingV1Model : format like below
[
{
"value": true,
"path": "/approvalStatus",
"op": "replace"
}
]

View solution in original post

2 Replies
ogushia
Hot Shot
Hot Shot
Jump to solution

I have used the API to approve the Google Play Services(com.google.android.gms).
In my experience, each parameter is:

-uuid : Organization group uuid (you can get uuid with api [https://asXXXX.awmdm.com/api/help/#!/apis/10008?!/OrganizationGroups/OrganizationGroups_GetAsync])
-bundleId : App bundle id (eg:com.android.chrome)
-androidWorkAppSettingV1Model : format like below
[
{
"value": true,
"path": "/approvalStatus",
"op": "replace"
}
]

FedericoLillacc
Enthusiast
Enthusiast
Jump to solution

Thanks a lot for your answer, it's right what I needed.

Now my script works correctly 🙂 .

Reply
0 Kudos