I'm using this "webservice" to upload files in moodle, which is fine, but when the json string is retrieved, it has itemid set to 0 (zero).
But whe I log in into moodle later, this uploaded file has a different itemid. I suppose that itemid is the huge number in the following link, which I can use to adress file
I'm on moodle 2.3
my question is, how can I get the link to uploaded file, if the itemid is always 0???