I'm trying to use the MDM REST API to perform a SoftReset command on a device. However, the API explorer doesn't have enough detail for me to see how to populate the Parameter customCommandModel. It is required and the example provided is in this format: {' CommandXml' : ' Text value' }, but using this example with the parameter command SoftReset only yields a 422 Response Code and this error:
{
' errorCode' : 1012,
' message' : ' Element: customCommandModel Message: Malformed XML. or r or n' ,
' activityId' : ' 09ccd868-1284-4060-bf2e-e16911fc0830'
}
I would like an example of how to use the SoftReset command.