Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /system/scheduler/activity-types

Get /system/scheduler/activity-types

Description

Returns the full set of activity types known to the scheduler.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/system/scheduler/activity-types

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"Enable Ports": "PORT_ON",

"Custom Script": "SYSTEM_COMMAND",

"Resynchronize Device": "RESYNC_DEVICE",

"Synchronize Users from Directory": "SYNC_DIRECTORY",

"Check for OS Updates": "OS_UPDATE_STATUS",

"Verify DHCP Servers": "VERIFY_DHCP",

"Auto-Definition Synchronizer": "AUTO_DEFINITION_SYNCHRONIZER",

"System Backup": "SYSTEM_BACKUP",

"Host At Risk": "CLIENT_AT_RISK",

"Certificate Expiration Monitor": "CERT_EXPIRATION_MONITOR",

"Report Generation": "REPORT_GENERATION",

"Role Assignment": "PREFERRED_VLAN_UPDATE",

"Update Default VLAN Values": "SWITCH_DEFAULT_VLAN_PORT",

"Enable Host": "CLIENT_ON",

"CLI Configuration": "CLI_CONFIG",

"Enable HP/NT Port Security": "ENABLE_HP_SECURITY",

"Disable Host": "CLIENT_OFF",

"Enable Adapters": "ENABLE_CLIENTS",

"SSID Assignment": "UPDATE_SSID",

"Update Interface Status": "UPDATE_INTERFACE_STATUS",

"Disable Ports": "PORT_OFF",

"Port Vlan Switch": "PORT_VLAN_SWITCH",

"Agentless Host Scanning": "AGENTLESS_HOST_PROFILE_TASK",

"Database Backup": "DATABASE_BACKUP",

"Disable HP/NT Port Security": "DISABLE_HP_SECURITY",

"Policy Rescan": "RESCAN_AGENT_POLICY",

"Command Line Script": "COMMAND_SCRIPT",

"Host Safe": "CLIENT_SAFE",

"Security Rescan": "SECURITY_RESCAN",

"Disable Adapters": "DISABLE_CLIENTS",

"Packeteer Configuration": "PACKETEER_CLI",

"Database Archive and Purge": "EVENT_ARCHIVE_AND_PURGE",

"Modify Device VLAN Values": "SWITCH_VLAN_PORT"

}

}

Get /system/scheduler/activity-types

Get /system/scheduler/activity-types

Description

Returns the full set of activity types known to the scheduler.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/system/scheduler/activity-types

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"result": {

"Enable Ports": "PORT_ON",

"Custom Script": "SYSTEM_COMMAND",

"Resynchronize Device": "RESYNC_DEVICE",

"Synchronize Users from Directory": "SYNC_DIRECTORY",

"Check for OS Updates": "OS_UPDATE_STATUS",

"Verify DHCP Servers": "VERIFY_DHCP",

"Auto-Definition Synchronizer": "AUTO_DEFINITION_SYNCHRONIZER",

"System Backup": "SYSTEM_BACKUP",

"Host At Risk": "CLIENT_AT_RISK",

"Certificate Expiration Monitor": "CERT_EXPIRATION_MONITOR",

"Report Generation": "REPORT_GENERATION",

"Role Assignment": "PREFERRED_VLAN_UPDATE",

"Update Default VLAN Values": "SWITCH_DEFAULT_VLAN_PORT",

"Enable Host": "CLIENT_ON",

"CLI Configuration": "CLI_CONFIG",

"Enable HP/NT Port Security": "ENABLE_HP_SECURITY",

"Disable Host": "CLIENT_OFF",

"Enable Adapters": "ENABLE_CLIENTS",

"SSID Assignment": "UPDATE_SSID",

"Update Interface Status": "UPDATE_INTERFACE_STATUS",

"Disable Ports": "PORT_OFF",

"Port Vlan Switch": "PORT_VLAN_SWITCH",

"Agentless Host Scanning": "AGENTLESS_HOST_PROFILE_TASK",

"Database Backup": "DATABASE_BACKUP",

"Disable HP/NT Port Security": "DISABLE_HP_SECURITY",

"Policy Rescan": "RESCAN_AGENT_POLICY",

"Command Line Script": "COMMAND_SCRIPT",

"Host Safe": "CLIENT_SAFE",

"Security Rescan": "SECURITY_RESCAN",

"Disable Adapters": "DISABLE_CLIENTS",

"Packeteer Configuration": "PACKETEER_CLI",

"Database Archive and Purge": "EVENT_ARCHIVE_AND_PURGE",

"Modify Device VLAN Values": "SWITCH_VLAN_PORT"

}

}