Interface description
New vehicle. Add the vehicle to the platform, and add it if the input parameter does not exist.
Complete API interface example
https://v7.cmsv8.com/StandardApiAction_addVehicle.action?jsession=66d754dd7f41473dbd2&vehiIdno=S66666&devIdno=013300000001&devType=7&factoryType=0&companyName=cmsv6&account=cmsv6
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| vehiIdno |
string |
Yes |
S66666 |
license plate number, if there is, perform modification operation to transfer parameters in Chinese, format reference |
| devIdno |
string |
Yes |
013300000001 |
Add the device number if it does not exist |
| devType |
string |
Yes |
7 |
device type 1 video device, 2GPS device, 3 handheld terminal, 4 individual soldier device, 5 means positioning device, 7 means video device,- 7 means main defense terminal |
| companyName |
string |
Yes |
cmsv6 |
If the company name does not exist, add a Chinese reference, format reference |
| account |
string |
No |
cmsv6 |
Main Account Number: No account is required if the company exists, and no account is required if the company does not exist |
| factoryType |
number |
Yes |
0 |
manufacturer type 0 means unknown, 17 means GM,20 means HD 21 means FZE ,23 means HB,24 means BSJ 26 means HK ,28 means YX,29 means RM |
| name |
string |
No |
No |
Valid when the police officer's name is PTT terminal, the default value is in the vehiIdno field. |
| area |
string |
No |
None |
Region |
| fleetName |
string |
No |
None |
If the fleet does not exist, add if it exists, does not support the fleet to change the company to which it belongs! Chinese reference, format reference |
| simCard |
string |
No |
None |
Add SIM number if not present |
| serialId |
string |
No |
None |
Device Serial Number |
| companyId |
number |
No |
None |
Company ID |
| ptt |
number |
no |
none |
cluster intercom |
| status |
number |
no |
none |
usage status |
| vehicleType |
string |
No |
None |
Vehicle Type |
| vehiBand |
string |
No |
None |
Vehicle Brand |
| vehiColor |
string |
No |
None |
Vehicle Color |
| speedLimit |
number |
no |
none |
speed limit value |
| linesOperation |
string |
No |
None |
Operating Line |
| stlTm |
string |
No |
2024- 12- 01 00:00:00 |
Install Date |
| payBegin |
string |
No |
2024- 12- 01 00:00:00 |
Service Start Date |
| payEnd |
string |
No |
2028- 12- 01 00:00:00 |
End of Service |
| dateProduct |
string |
No |
2024- 12- 01 00:00:00 |
Vehicle Factory Date |
| datePurchase |
string |
No |
2024- 12- 01 00:00:00 |
Vehicle Purchase Date |
Return parameters
| Parameter Name | parameter Type | meaning of parameters |
|---|
| result | number | interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "Error Code Description"). |
Return Example
{
"result": 0
}