Link contract (available for Fraikin module)

 
Example:
https://<address>/api/api.php?cmd=link_contract
 
Parameters:
cmd: link_contract
PlateNum: vehicle's number
Date: timestamp of start
Name: the name of the future contract
Distance: distance p/m
Method: POST
 
Request:
https://<address>/api/api.php?cmd=link_contract&PlateNum=test12345&Distance=1111&Date=1623927270&Name=1212
 
Answer:
"code": 0,    "msg": "The linking is successful"
}