Request provides possibility to receive the list of users available for account.
&svc=get_users¶ms={ filtr_cf:[{ "name":string, "value":string }], "id_group":integer }
Parameter | Description |
---|---|
filtr_cf | JSON-object, which has keys “name” and “value”, to filter units by “custom-fields” |
name | Name of “custom-field” |
value | Value of “custom-field” |
id_group | Unique Id of group of units |
svc = get_users will response with full list of users, including your own filtr_cf - filter by “custom fields” value
[ { "id":24237, "creator":1, "login":"sdkTest", "is_admin":1, "address_base":"Google", "time_zone":10800, "mail":"", "phone":"", "account":"0", "cost_unit":null, "is_block":0, "cost_day":null, "cost_mode":"units", "days":null, "winter_time":0, "legal_name":"", "location":"", "lat_lon":"", "currency":"", "date_create":1515770894, "date_block":null, "last_login":1516009943, "auth_key":"4mmbqP3RzxSQnVCIZjqiC3U9f64cfEfz", "services":[], "photo":{"big":""}, "cf":[{"name":"sender_mail","value":""}] },{ "id":24279, "creator":24237, "login":"newtestUser", "is_admin":0, "address_base":"Google", "time_zone":10800, "mail":"", "phone":"", "account":"100", "cost_unit":null, "is_block":0, "cost_day":null, "cost_mode":"", "days":0, "winter_time":0, "legal_name":"", "location":"", "lat_lon":"", "currency":"", "date_create":1516010338, "date_block":null, "last_login":null, "auth_key":null, "services":[], "photo":{"big":""}, "cf":[] } ]