1

API Permission

(11/10/2018 18:08:27 отредактировано tkabeary)

Тема: API Permission

I'm trying to load messages via API.  I've gotten a tokens using both the flag 0x200 and 0x1000
After using this tokens to get my SID, I'm trying to load 24 hours of messages for a unit.
I've copied the example.
Here's my call:

https://hst-api.wialon.us/wialon/ajax.html?svc=messages/load_interval&params={"itemId":355922063939942,"timeFrom":1539181665,:"timeTo":1539268065,"flags":1,"flagsMask":65281,"loadCount":3}&sid=410ea6e2fe44c32f0a81eb0aaaa688d3

SIDs from tokens with the mask 0x1000 and 0x200 both return:
{
  "error": 7
}

What permissions do I need to load these messages?

Thanks

2

API Permission

Re: API Permission

Hello tkabeary.

Are you sure this item id is valid?

For view and check access you can show this link https://sdk.wialon.com/wiki/en/sidebar/ … s_billing:

Best regards