Update Report Schedule
This request changes the attributes of a report schedule.
Resource
PATCH /reportschedules/<OID>
Where OID
is the object ID of the report schedule.
Parameters
None
Payload
Fields
name | Patch Operations |
---|---|
commonName |
|
enabled |
|
frequency |
|
mailToList |
|
mailText |
|
extendByDays |
|
sendSeperatly |
|
Mail From Address |
|
mailFromAddress.address |
|
mailFromAddress.addressType |
|
Export Device |
|
exportDevice.type |
|
exportDevice.location |
|
exportDevice.usbId |
|
exportDevice.smbUserName |
|
exportDevice.smbPassword |
|
exportDevice.smbVersion |
|
exportDevice.ssl |
|
exportDevice.subDirectory |
|
exportDevice.mode |
|
automatedReports |
|
Response
None
Context
Authorization |
Administrator |
Errors
Example
Request
PATCH https://xelion.nl/api/v1/master/reportschedules/10317713
Payload
change direct member
{
"operations": [
{
"op": "replace",
"path": "/extendByDays",
"value": 3
}
]
}
add an automated report
{
"operations": [
{
"op": "add",
"path": "/automatedReports/1",
"value": "1651120"
}
]
}
remove an automated report
{
"operations": [
{
"op": "remove",
"path": "/automatedReports/846874"
}
]
}
update mail from address
{
"operations": [
{
"op": "replace",
"path": "/mailFromAddress/address",
"value": "info@xelion.nl"
}
]
}
update export device
{
"operations": [
{
"op": "replace",
"path": "/exportDevice/type",
"value": "windowsShare"
}
]
}