Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

sheherazade_jmm
New Contributor

Qlik Sense - Qlik Engine API : {"jsonrpc":"2.0","change":[1,2],"suspend":[1]}

Hello,

After a GetObject or a GetProperties using Qlik Engine API, we received this answer :
                             {"jsonrpc":"2.0","change":[1,2],"suspend":[1]}


Does anyone know the meaning of this answer?
It's not a result answer, not an error answer. Nothing in the help about this.


Thanks a lot.

Best regards.


Jean-Michel.

3 Replies
erik_wetterberg
Valued Contributor III

Re: Qlik Sense - Qlik Engine API : {"jsonrpc":"2.0","change":[1,2],"suspend":[1]}

Hi,

Some info about the profil is here: Qlik Engine API ‒ Qlik Sense

change: [1,2] means that objects with handle 1 and 2 are invalid. 1 is usually the app.

If there is no Id in the package it means that it is not a reply but a notification. Is there another process working with the app? Perhaps a reload? That might explain 'suspend' that I have never seen before and seems undocumented.

Hope this helps

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
sheherazade_jmm
New Contributor

Re: Qlik Sense - Qlik Engine API : {"jsonrpc":"2.0","change":[1,2],"suspend":[1]}

Thanks Erik.

erik_wetterberg
Valued Contributor III

Re: Qlik Sense - Qlik Engine API : {"jsonrpc":"2.0","change":[1,2],"suspend":[1]}

The part about notifications is actually in the jsonrpc spec, section 4.1 (it's not a long spec).

Note that a lot of fields, like handle, change, suspend (and also delta) are not covered by jsonrpc.

Erik

Erik Wetterberg
https://extendingqlik.upper88.com/