====== Create Unit ======
The request is intended to create new unit.
=== Request Example ===
&svc=create_unit¶ms={
"name": string,
"is_free": integer,
"hw_type": string,
"hw_id": string,
"info": json,
"phone": string,
"phone2": string,
"max_permissible_speed": integer,
"camera_imei": string
}
=== Parameters ===
^ Parameter ^ Description ^
| name | Unit Name |
| is_free | Unit status (paid, free) |
| hw_type | Hardware type |
| hw_id | Hardware ID |
| info | Unit Info |
| phone | Unit phone number |
| phone2 | Additional unit phone number |
| max_permissible_speed | Speed Limit |
| camera_imei | custom-field value |
=== Additional Information ===
Returns Unique Unit ID of the created unit.
=== Server Response ===
== Result ==
{
"unit_id": "66780" // Unique ID of the created unit.
}