Updating Records

To update a record, you will need to HTTP POST the following information to http://servername/apiput.aspx 

username=(user) 
password=(password) 
path=(path) 
actionID=update 
json=(base64 encoded json text)

The (user) entry should be a valid username, and (password) should be a base-64 encoded version of the password. 

The (path) variable is the XPath to the location in the database where you wish to update the record.

Finally, the (json) entry will be the base64 encoded JSON of the changes you wish to apply to the record. Only the fields you wish to modify should be provided.

For example:

username=test 
password=(base64 encoded password) 
path=/Reports[Name="My Reports"]/History[ReportID=”46135”] 
actionid=update 
json= (base-64-encoded version of this data) { Title: "This Is A Different Title" }


Next Topic:
v4.2.0.956 (beta)
Up Since 2/29/2024 12:02:23 AM