API AppleSoftwareUpdateSchedule

Solved
M
Michael
dpddeutschland

Hello all,
I would like to update Apple devices via the API

I use:
POST /devices/{deviceId}/actions

{
"Action": "AppleSoftwareUpdateSchedule"
}

do I have to add a parameter?

as error I always get:

{ "$type": "ErrorDetails", "ErrorCode": 0, "Message": "Vertragsprüfung fehlgeschlagen", "Data": [ "actionInfo: Error parsing value" ], "HelpLink": null }

I hope you can help me
Thanks

4 years ago
iOS
ANSWERS
M
Michael
3 years ago

for all who have the same problem
The API command must be like this then it works:

{     

"Action": "AppleSoftwareUpdateSchedule",

"UpdateType": "DownloadAndInstallUpdate",

"ProductVersion": "0"

}

Solution
J
JCMOD@SOTI Platinum Contributor
4 years ago

Hi Michael,

Thank you for posting in SOTI Central.

Please proceed to raise a case with SOTI Support, we can look at the possibility of assisting you and if necessary our Professional Services Team can gladly assist with any API issues and get you set up with MobiControl API Integration.

Regards,