Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have been running into problems when changing the owner of an app through the QRS API for qlik sense.
From what I can gather online I need to use the URL qrs/Selection/{0}/App/synthetic where {0} is the app ID and send a PUT request.
You pass through a JSON object with the body:
{\"properties\": [{\"name\": \"owner\",\"value\": \"" + id + "\",\"valueIsModified\": true, \"valueIsdifferent\": true}],\"type\": \"App\",\"LatestModifiedDate\": \"" + DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss.fffZ") + "\"}
Where id is the id of the user you want the new owner to be.
I get a response saying this path is not valid, indicating possibly the URL is not valid.
Hi andrew,
We are running into the same problem at the moment.
Not sure if it helps anything but do you provide your xrfkey after synthetic?
Like : /qrs/selection/APPID/App/synthetic?Xrfkey=123456789
Give me a headsup when you found a solution, currently browsing the api guides....
[Edit]
Oh and when I make a change to the appowner trough QMC the valueIsDifferent is still false... (capital letter D)
Hi Andrew,
1. Selection API endpoint:
qrs/Selection/{0}/App/synthetic where {0} is the app ID. You need to send post request.
2. Synthetic API End Point:
/qrs/Selection/{1}/App/synthetic where {1} is ID from response from selection query.
You need to send put request.
Body will be :
LatestModifiedDate should be current date in above format.
User ID : You can get from QMC (32 characters).
Thank you.
Kind Regards,
Sanket