# Upsert Reports Upsert Reports Endpoint: PATCH /rest/2.0/CUSTOM_REPORT Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.FilterLogic` (string) Filter Logic - `brmObjects.ShowGrantTotal` (integer) Show Grand Total - `brmObjects.XmlFormatFlag` (integer) XML Format - `brmObjects.ReportBuilder` (string) Report Builder - `brmObjects.ReportPositionPath` (string) Report Position - `brmObjects.DeleteMenuFlag` (integer) Remove report from tree menu? - `brmObjects.QueryText` (string) Query - `brmObjects.ExportRawDataFlag` (integer) Suppress Header: If selected, the report data will be exported without the column headers. - `brmObjects.ReportLabel` (string, required) ReportLabel - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.ReportDescription` (string) Report Description - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.Id` (string, required) Report Ids: Primary key - `brmObjects.Name` (string, required) Report Name - `brmObjects.ExposePendingApprovalRecords` (integer) Expose Pending Approval Records - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.ShowSubtotal` (integer) Show Subtotal - `brmObjects.LastRunDate` (string) LastRunDate: Updated on - `brmObjects.EntityId` (integer, required) EntityId - `brmObjects.ParentNodeId` (string) ParentNodeId - `brmObjects.ParentNode` (string) ParentNode - `brmObjects.AfterNode` (string) AfterNode - `brmObjects.AfterNodeId` (string) AfterNodeId - `brmObjects.DomainId` (string) DomainId - `brmObjects.RecycleBinId` (string) RecycleBinId - `brmObjects.Delimiter` (string) Delimiter - `brmObjects.TextQualifier` (string) TextQualifier - `brmObjects.DeleteReportFlag` (string) DeleteReportFlag - `brmObjects.SystemFlag` (integer) SystemFlag - `brmObjects.LineEnding` (string) LineEnding - `brmObjects.AfterReportName` (string) AfterReportName - `externalIDFieldName` (string) Enum: "Name" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)