Admin API
Address:
https://<address>/ backend/api.php
plain authorization using login and password
Method: GET
Answer in JSON:
{
"code": 0,
"msg": "OK",
requested data
}
code=0 success
code=1 error
msg =error code or OK
If you want to get results in XML, than add parameter out=xml
Example request
https://<>/backend/api.php?cmd=vehicles
Use login and password from the admin panel.
|