Hi Samir,
You need to execute request resource/update_driver where in parameter 'jp' specify custom fields (name and value)
Please note you need to pass all other driver's settings - name, code, phone, and etc
For example
https://hst-api.wialon.com/wialon/ajax.html?svc=resource/update_driver&sid=021df621073f5b102b83740b0ea0eaf5
params: {"c":"driver_code","ck":0,"ds":"","id":2,"n":"Driver_name","p":"+375336058598","r":0,"f":1,"pwd":"","jp":{"custom1":"value1","custom2":"value2"},"itemId":17711,"callMode":"update"}
where "itemId":17711 is resource Id , "id":2 - driver
You can find resource Id and driver id via request search_items - search resource by name with flag = 1 + 256 (base flag + driver's flag) https://sdk.wialon.com/wiki/en/sidebar/ … t/resource
Diana Cheley
Wialon Hosting Expert
Gurtam