Extended JSON API to support the FortiManager backup operation 7.2.3
7.4.1 extends the FortiManager JSON API to support the FortiManager backup operation.
Example JSON API
request = {
"id": 16,
"method": "exec",
"params": [
{
"data": {
"filename": "ftp-cfg.dat",
"server": "192.168.3.01",
"service": "ftp",
"username": "admin",
"userpasswd": "123321"
},
"url": "/sys/backup"
}
],
"session": "KRTCB21TQQCF2hfycwXyWJL4YYTDPaDPkIg123124123123123JGFkAnsqNK+Q12313ogA761tvgHIuZ28w=="
}
response = {
"id": 16,
"result": {
"status": {
"code": 0,
"message": "OK"
},
"taskid": 1
}
}