Fortinet white logo
Fortinet white logo

Get install

Get install

Method

URL

Description

Arguments

Outputs

GET

account/organizations/{Organization ID}/installs/{Install ID}/

Get an install record

  • Organization ID

  • Install ID

JSON object

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Install ID

int

ID of the install record

Outputs

Parameter

Type

Description

results

JSON object

An install record

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/account/organizations/1/installs/1/

Example response

{
    "install_id": 1,
    "task_id": 815,
    "customer_id": 1,
    "customer_name": "test",
    "installation_log": "\n\nStarting log (Run on device)\n\n\nStart installing\n\nNo commands to be installed\n\ninstall finished\n",
    "error_code": "0",
    "error_msg": "Get Install Log Successfully"
}

Get install

Get install

Method

URL

Description

Arguments

Outputs

GET

account/organizations/{Organization ID}/installs/{Install ID}/

Get an install record

  • Organization ID

  • Install ID

JSON object

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Install ID

int

ID of the install record

Outputs

Parameter

Type

Description

results

JSON object

An install record

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/account/organizations/1/installs/1/

Example response

{
    "install_id": 1,
    "task_id": 815,
    "customer_id": 1,
    "customer_name": "test",
    "installation_log": "\n\nStarting log (Run on device)\n\n\nStart installing\n\nNo commands to be installed\n\ninstall finished\n",
    "error_code": "0",
    "error_msg": "Get Install Log Successfully"
}