Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When using GetObjects method:
var getobjsmsg = {"handle": -1,"method": "GetObjects","params": {"qId": "d6e02e25-50e2-41ac-9e43-28e7cad566c5"},"outKey": -1,"id": 2}ws.send(JSON.stringify(getobjsmsg));
I always get the "Method not found" message. Same as other method aside getdoclist and opendoc. Did I use it wrong? If so please give me some examples. Thanks
Hi @thuhtnguyen ,
You need to use the handle in the returned response from OpenDoc:
{ "jsonrpc":"2.0", "id":1,"delta":true, "result":{ "qReturn":[ { "op":"add", "path":"/", "value":{ "qType":"Doc", "qHandle":1, // <- this one "qGenericId":"UID" } }] }, "change":[1] }
I hope this helps