Get installs
|
Method |
URL |
Description |
Arguments |
Outputs |
|---|---|---|---|---|
|
GET |
account/organizations/{Organization ID}/installs/?startdate={%Y-%m-%d %H:%M:%S}&enddate={%Y-%m-%d %H:%M:%S} |
Get list of installs by date range |
|
JSON array |
Arguments (URL)
|
Parameter |
Type |
Description |
|---|---|---|
|
Organization ID |
int |
Organization ID |
Arguments (Query)
|
Parameter |
Type |
Description |
|---|---|---|
|
startdate |
datetime |
The range start date and time in one of the following formats:
|
|
enddate |
datetime |
The range end date and time in one of the following formats:
|
Outputs
|
Parameter |
Type |
Description |
|---|---|---|
|
results |
JSON array |
An array of install records |
Example request
curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/account/organizations/1/installs?startdate=2023-07-01%2000:00:00&enddate=2023-07-18%2014:34:00
Example response
[
{
"id": 1,
"task_id": 815,
"task_details": "Policy package FortiWiFi-61E-64-SDWAN-WiFi_root installed to device
FortiWiFi-61E-64-SDWAN-WiFi and vdom root started with taskId 815.",
"user_id": 2,
"user_name": "support@fortinet.com",
"device_id": 187,
"device_name": "FortiWiFi-61E-64-SDWAN-WiFi",
"vdom_name": "root",
"package_name": "FortiWiFi-61E-64-SDWAN-WiFi_root",
"adom_name": "QALAB_ADOM_647_SDWAN_WiFi",
"fortimanager_id": 2,
"created_on": "2023-07-18T11:49:02.834010-07:00",
"customer_id": 1
}
]