Update an existing scheduled task
Update an existing scheduled task
Scheduled task to update
_id
string
required |
||||
type
string
required
Enum
thirdparty
report
|
||||
cron
string
required |
||||
enabled
boolean
required |
||||
name
string
required |
||||
recipients
array of objects (models.report.recipient.ReportRecipient)
required
|
||||
Array [
] |
||||
from
string
required |
||||
title
string
required |
||||
isHtml
boolean
required |
||||
hqlType
string
required
Enum
heql
hcql
hrql
hpql
hdql
|
||||
host
string | null
|
||||
status
string | null
Enum
warning
failure
success
running
|
||||
lastExecutionDate
integer | null
|
||||
lastCompletionDate
integer | null
|
||||
detail
string | null
|
||||
executionId
string | null
|
||||
fileName
string | null
|
||||
body
string | null
|
||||
hqlQuery
string | null
|
||||
hqlFields
array of string | null
|
||||
hqlSortedBy
array of objects | null (SortElement)
|
||||
Array [
] |
||||
description
string | null
|
_id
string
required |
|||||||
type
string
required
Enum
thirdparty
report
|
|||||||
cron
string
required |
|||||||
dryRun
boolean
required |
|||||||
enabled
boolean
required |
|||||||
module
string
required |
|||||||
profile
string
required |
|||||||
connector
string
required |
|||||||
enroll
boolean
required |
|||||||
revoke
boolean
required |
|||||||
renew
boolean
required |
|||||||
host
string | null
|
|||||||
status
string | null
Enum
warning
failure
success
running
|
|||||||
lastExecutionDate
integer | null
|
|||||||
lastCompletionDate
integer | null
|
|||||||
detail
string | null
|
|||||||
executionId
string | null
|
|||||||
results
object | null (models.thirdparty.ThirdPartyConnectorSynchronizationResult)
|
|||||||
|
|||||||
description
string | null
|
-
200 Scheduled task successfully updated
application/json_idstring requiredtypestring requiredEnumthirdparty
report
cronstring requiredenabledboolean requirednamestring requiredrecipientsarray of objects (models.report.recipient.ReportRecipient) requiredArray [
typestring requiredEnumstatic
team_contact
team_manager
emailstring | nullteamstring | null]
fromstring requiredtitlestring requiredisHtmlboolean requiredhqlTypestring requiredEnumheql
hcql
hrql
hpql
hdql
hoststring | nullstatusstring | nullEnumwarning
failure
success
running
lastExecutionDateinteger | nulllastCompletionDateinteger | nulldetailstring | nullexecutionIdstring | nullfileNamestring | nullbodystring | nullhqlQuerystring | nullhqlFieldsarray of string | nullhqlSortedByarray of objects | null (SortElement)Array [
elementstring requiredThe name of the field the query should be sorted by. Must be one of the fields of the search query
orderstring requiredThe order to use for the sort. Asc and Desc sort the values, and KeyAsc and KeyDesc sort by the key, in case of a key-value element
EnumAsc
Desc
KeyAsc
KeyDesc
]
descriptionstring | null_idstring requiredtypestring requiredEnumthirdparty
report
cronstring requireddryRunboolean requiredenabledboolean requiredmodulestring requiredprofilestring requiredconnectorstring requiredenrollboolean requiredrevokeboolean requiredrenewboolean requiredhoststring | nullstatusstring | nullEnumwarning
failure
success
running
lastExecutionDateinteger | nulllastCompletionDateinteger | nulldetailstring | nullexecutionIdstring | nullresultsobject | null (models.thirdparty.ThirdPartyConnectorSynchronizationResult)enroll_successinteger | nullenroll_failureinteger | nullrenew_successinteger | nullrenew_failureinteger | nullrevoke_successinteger | nullrevoke_failureinteger | nulldescriptionstring | null -
400 Bad Request
application/jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Scheduled Task
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Scheduled Task
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Unauthorized request
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect path
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect path
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-PERM-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not Found
application/jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-003
messagestring requiredA short, human-readable summary of the problem type
ValueScheduled Task not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueScheduled Task not found
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807