1

For Bind unit to driver

Тема: For Bind unit to driver

I need to use below API for assign driver to unit.

https://sdk.wialon.com/wiki/en/sidebar/ … nit_driver

In this API request param, what is resource Id?  How I can get this resource Id?

2

For Bind unit to driver

Re: For Bind unit to driver

samir.agile пишет:

I need to use below API for assign driver to unit.

https://sdk.wialon.com/wiki/en/sidebar/ … nit_driver

In this API request param, what is resource Id?  How I can get this resource Id?

Hello!

To find resource id you can execute request core/search_items - search resource ( "itemsType":"avl_resource")  by it's name ("propName":"sys_name" ,  "sortType":"sys_name", "propValueMask":"name_of_your_resource") with base flag
In response parameter "id" shows resource id

Diana Cheley
Wialon Hosting Expert
Gurtam