# Upsert Scheduled Reports Upsert Scheduled Reports Endpoint: PATCH /rest/2.0/SCHEDULER_JOB Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.RetentionDays` (string) Retention Days - `brmObjects.EmailSubject` (string) Email Subject - `brmObjects.EmailSender` (string, required) From E-Mail - `brmObjects.EmailRecipient` (string, required) Recipient To - `brmObjects.DeliveryMethodType` (string) Delivery Method - `brmObjects.NextRunTime` (string) Scheduled Next Run Time - `brmObjects.EmailBody` (string) Body - `brmObjects.ReportFileName` (string) Report file name - `brmObjects.EmailRecipientCC` (string) Recipient CC - `brmObjects.EmailRecipientBCC` (string) Recipient BCC - `brmObjects.CustomReportId` (integer) Custom Report - `brmObjects.Status` (string) Status - `brmObjects.SchedulerJobName` (string, required) Scheduler Job Name - `brmObjects.RunTime` (string) Run Time (HH24:MI) - `brmObjects.FtpServer` (string) FTP Server - `brmObjects.CreateDataSourceFolderFlag` (integer) Create folder if it does not exist - `brmObjects.DataSourceFolder` (string) Folder - `brmObjects.TimeZoneId` (integer) Time Zone - `brmObjects.FtpPort` (string) FTP Port - `brmObjects.LastRunTime` (string) Scheduled Previous Run Time - `brmObjects.SchedulerIntervalDaysAdd` (string) Days to Add: Interval start shift days - `brmObjects.DataSourceId` (integer, required) Data Source - `brmObjects.SchedulerIntervalType` (string) Scheduler Interval - `brmObjects.RemoteFileName` (string) Remote FIle Name - `brmObjects.FtpDataSource` (integer, required) FTP Data Source - `brmObjects.SchedulerIntervalRunDayType` (string) Run Day: Run Day Type - `brmObjects.SchedulerIntervalDaysSubtr` (string) Days to Subtract: Interval start shift days - `brmObjects.DeliveryMethodLimited` (string) DeliveryMethodLimited - `brmObjects.AdhocRunFlag` (integer) AdhocRunFlag: Run Now - `brmObjects.Id` (string, required) Id - `brmObjects.FileFormat` (string) FileFormat - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.FtpDirectory` (string) FtpDirectory - `brmObjects.SendCompressed` (integer) SendCompressed - `externalIDFieldName` (string) Enum: "SchedulerJobName" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)