1

get user custom field in remote api sdk

Тема: get user custom field in remote api sdk

I would like to get user custom field to identify type of user in application that access to wialon sdk
Now I use /wiki/en/sidebar/remoteapi/apiref/core/search_item to get custom field of current user.

but it alway return blank.

{
    "item": {},
    "flags": 8
}

Please kindly suggest.

2

get user custom field in remote api sdk

Re: get user custom field in remote api sdk

kotkajorn hello,
If the response is empty - presumably, there are no custom fields added for the user or the token access flags doesn't include value 256 (basic flags)

Or it has administration fields created.
To get administration fields flags value should be 128 and token access flag must include 4096.

If the issue stills, please, pass your request to support@gurtam.com with the full request text and token.

Anton Zinovyev
Technical Care Engineer (L2)
Wialon