API set command always results in pending configuration changes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

API set command always results in pending configuration changes

L0 Member

I'm running the following API call to change the device geo-location (which works):

 

/api/?type=config&action=set
&xpath=/config/devices/entry[@name='localhost.localdomain']
&element=<deviceconfig><system><geo-location><latitude>111</latitude></geo-location></system></deviceconfig>
 
I'd also like to validate whether that command updates the configuration or not. Every time I run the call, even if the current configuration is set to 111 (as above), the device shows pending changes.
 
The preview changes report shows no changes, but there is a pending item in 'change summary' which is of type 'Storage Parition - Setup' as below.
 
Wondering if this is the intended behaviour?
 
pending-changes.png
 
0 REPLIES 0
  • 1571 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!