# Save Approval History Save Approval History Endpoint: POST /rest/2.0/APPROVAL_HISTORY Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.RootRecordId` (string) RootRecordId - `brmObjects.RootEntityId` (integer) RootEntityId - `brmObjects.IsOutdated` (integer) IsOutdated - `brmObjects.SortOrder` (string) SortOrder - `brmObjects.ApprovalConfigurationId` (integer, required) ApprovalConfigurationId - `brmObjects.ApprovalRequestId` (string) ApprovalRequestId - `brmObjects.SubmitterUserId` (integer) SubmitterUserId - `brmObjects.ApproverUserId` (integer) ApproverUserId: Approver User - `brmObjects.ApproverUserName` (string) ApproverUserName - `brmObjects.SubmitterUserName` (string) SubmitterUserName - `brmObjects.SubmitterLogin` (string) SubmitterLogin - `brmObjects.Status` (string) Status - `brmObjects.Note` (string) Note - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `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.HistoryId` (string) HistoryId - `brmObjects.IsActual` (integer) IsActual - `brmObjects.ActionType` (string, required) ActionType - `brmObjects.DaysOnThisStep` (string) DaysOnThisStep - `brmObjects.StepStatusDate` (string) StepStatusDate - `brmObjects.ApproverLogin` (string) ApproverLogin - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.Id` (string, required) Id - `brmObjects.RecordId` (string) RecordId ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.RootRecordId` (string) RootRecordId - `retrieveResponse.RootEntityId` (integer) RootEntityId - `retrieveResponse.IsOutdated` (integer) IsOutdated - `retrieveResponse.SortOrder` (string) SortOrder - `retrieveResponse.ApprovalConfigurationId` (integer) ApprovalConfigurationId - `retrieveResponse.ApprovalRequestId` (string) ApprovalRequestId - `retrieveResponse.SubmitterUserId` (integer) SubmitterUserId - `retrieveResponse.ApproverUserId` (integer) ApproverUserId: Approver User - `retrieveResponse.ApproverUserName` (string) ApproverUserName - `retrieveResponse.SubmitterUserName` (string) SubmitterUserName - `retrieveResponse.SubmitterLogin` (string) SubmitterLogin - `retrieveResponse.Status` (string) Status - `retrieveResponse.Note` (string) Note - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.HistoryId` (string) HistoryId - `retrieveResponse.IsActual` (integer) IsActual - `retrieveResponse.ActionType` (string) ActionType - `retrieveResponse.DaysOnThisStep` (string) DaysOnThisStep - `retrieveResponse.StepStatusDate` (string) StepStatusDate - `retrieveResponse.ApproverLogin` (string) ApproverLogin - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.Id` (string) Id - `retrieveResponse.RecordId` (string) RecordId ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error