Update an existing scheduled task
Update an existing scheduled task
Scheduled task to update
|
type
string
required
Value
thirdparty
|
|||||||
|
module
string
required |
|||||||
|
profile
string
required |
|||||||
|
connector
string
required |
|||||||
|
enroll
boolean
required |
|||||||
|
revoke
boolean
required |
|||||||
|
renew
boolean
required |
|||||||
|
dryRun
boolean
required |
|||||||
|
cron
string
required |
|||||||
|
enabled
boolean
required |
|||||||
|
results
object | null (ThirdPartyConnectorSynchronizationResult)
|
|||||||
|
|||||||
|
description
string | null
|
|||||||
|
host
string | null
|
|||||||
|
status
string | null
Enum
warning
failure
success
running
|
|||||||
|
lastExecutionDate
integer | null
|
|||||||
|
lastCompletionDate
integer | null
|
|||||||
|
detail
string | null
|
|||||||
|
executionId
string | null
|
|||||||
|
retentionPeriod
string | null (FiniteDuration)
requiredIndicates the duration during which the report can be downloaded |
||||
|
reportType
string
requiredInstead of sending an email with the CSV as an attachment, an email containing a link is sent
Value
link_email
|
||||
|
type
string
required
Value
report
|
||||
|
name
string
required |
||||
|
recipients
array of objects (ReportRecipient)
required
|
||||
|
Array [
] |
||||
|
from
string
required |
||||
|
title
string
required |
||||
|
isHtml
boolean
required |
||||
|
hqlType
string
required
Enum
heql
hcql
hrql
hpql
hdql
|
||||
|
cron
string
required |
||||
|
enabled
boolean
required |
||||
|
fileName
string | null
|
||||
|
body
string | null
|
||||
|
hqlQuery
string | null
|
||||
|
hqlFields
array of string | null
|
||||
|
hqlSortedBy
array of objects | null (SortElement)
|
||||
|
Array [
] |
||||
|
description
string | null
|
||||
|
host
string | null
|
||||
|
status
string | null
Enum
warning
failure
success
running
|
||||
|
lastExecutionDate
integer | null
|
||||
|
lastCompletionDate
integer | null
|
||||
|
detail
string | null
|
||||
|
executionId
string | null
|
||||
|
reportType
string
requiredSend an email with the CSV as an attachment
Value
attachment_email
|
||||
|
type
string
required
Value
report
|
||||
|
name
string
required |
||||
|
recipients
array of objects (ReportRecipient)
required
|
||||
|
Array [
] |
||||
|
from
string
required |
||||
|
title
string
required |
||||
|
isHtml
boolean
required |
||||
|
hqlType
string
required
Enum
heql
hcql
hrql
hpql
hdql
|
||||
|
cron
string
required |
||||
|
enabled
boolean
required |
||||
|
compressCsv
boolean
Should the report be compressed using GZ |
||||
|
fileName
string | null
|
||||
|
body
string | null
|
||||
|
hqlQuery
string | null
|
||||
|
hqlFields
array of string | null
|
||||
|
hqlSortedBy
array of objects | null (SortElement)
|
||||
|
Array [
] |
||||
|
description
string | null
|
||||
|
host
string | null
|
||||
|
status
string | null
Enum
warning
failure
success
running
|
||||
|
lastExecutionDate
integer | null
|
||||
|
lastCompletionDate
integer | null
|
||||
|
detail
string | null
|
||||
|
executionId
string | null
|
||||
-
200 Scheduled task successfully updated
application/json_idstring (Internal ID) requiredObject internal ID
retentionPeriodstring | null (FiniteDuration) requiredIndicates the duration during which the report can be downloaded
reportTypestring requiredInstead of sending an email with the CSV as an attachment, an email containing a link is sent
Valuelink_emailtypestring requiredValuereportnamestring requiredrecipientsarray of objects (ReportRecipient) requiredArray [
typestring requiredEnumstaticteam_contactteam_manageremailstring | nullteamstring | null]
fromstring requiredtitlestring requiredisHtmlboolean requiredhqlTypestring requiredEnumheqlhcqlhrqlhpqlhdqlcronstring requiredenabledboolean requiredfileNamestring | 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
EnumAscDescKeyAscKeyDesc]
descriptionstring | nullhoststring | nullstatusstring | nullEnumwarningfailuresuccessrunninglastExecutionDateinteger | nulllastCompletionDateinteger | nulldetailstring | nullexecutionIdstring | null_idstring (Internal ID) requiredObject internal ID
reportTypestring requiredSend an email with the CSV as an attachment
Valueattachment_emailtypestring requiredValuereportnamestring requiredrecipientsarray of objects (ReportRecipient) requiredArray [
typestring requiredEnumstaticteam_contactteam_manageremailstring | nullteamstring | null]
fromstring requiredtitlestring requiredisHtmlboolean requiredhqlTypestring requiredEnumheqlhcqlhrqlhpqlhdqlcronstring requiredenabledboolean requiredcompressCsvbooleanShould the report be compressed using GZ
fileNamestring | 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
EnumAscDescKeyAscKeyDesc]
descriptionstring | nullhoststring | nullstatusstring | nullEnumwarningfailuresuccessrunninglastExecutionDateinteger | nulllastCompletionDateinteger | nulldetailstring | nullexecutionIdstring | null_idstring (Internal ID) requiredObject internal ID
typestring requiredValuethirdpartymodulestring requiredprofilestring requiredconnectorstring requiredenrollboolean requiredrevokeboolean requiredrenewboolean requireddryRunboolean requiredcronstring requiredenabledboolean requiredresultsobject | null (ThirdPartyConnectorSynchronizationResult)enroll_successinteger | nullenroll_failureinteger | nullrenew_successinteger | nullrenew_failureinteger | nullrevoke_successinteger | nullrevoke_failureinteger | nulldescriptionstring | nullhoststring | nullstatusstring | nullEnumwarningfailuresuccessrunninglastExecutionDateinteger | nulllastCompletionDateinteger | nulldetailstring | nullexecutionIdstring | null -
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Scheduled Tasktitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Scheduled Taskdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Unauthorized request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not existtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not existdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trustedtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusteddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expiredtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expireddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revokedtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revokeddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticatedtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticateddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Providertitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Providerdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect pathtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect pathdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expiredtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expireddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-PERM-001messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privilegestitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privilegesdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Licensedetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004messagestring requiredA short, human-readable summary of the problem type
ValueExpired Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired Licensedetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not Found
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-003messagestring requiredA short, human-readable summary of the problem type
ValueScheduled Task not foundtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueScheduled Task not founddetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSCHED-TASK-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807