Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

Hello,

I'm encountering an issue when using the PUT /private/configurations API to update an existing configuration.

I am trying to modify the parameters of an application (setting the action field to 2 with actionChanged: true). Here's an example of the JSON payload I'm sending 

{

  "id": 8836,

  "applications": [

    {

      "id": 1505,

      "action": 2,

      "actionChanged": true

    }

  ]

}

However, the server returns the following response 
{
  "status": "ERROR",
  "message": "error.internal.server",
  "data": null
}
I suspect the issue might be due to not sending the full configuration object, but only a partial update. Could you please confirm whether the API requires the entire configuration to be included in the PUT request, including all expected fields for each application? 
ago by (200 points)

1 Answer

0 votes
You are right, you need to specify full configuration object. Please use the web application REST communication as a reference: https://qa.h-mdm.com/16735/how-to-view-sample-rest-api-requests
ago by (41.9k points)
...