# Update Approval Request Update Approval Request Endpoint: PUT /rest/2.0/APPROVAL_REQUEST Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.TrialRequest` (integer) TrialRequest - `brmObjects.ParentRecordId` (string) ParentRecordId - `brmObjects.RootRecordId` (string) RootRecordId - `brmObjects.RootEntityId` (integer) RootEntityId - `brmObjects.Id` (string, required) Id - `brmObjects.ApprovalConfigurationId` (integer, required) ApprovalConfigurationId - `brmObjects.RecordId` (string) RecordId - `brmObjects.SubmitterUserId` (integer) SubmitterUserId - `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.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.HistoryId` (string) HistoryId - `brmObjects.ActionType` (string, required) ActionType - `brmObjects.RootApprovalConfigurationId` (integer, required) RootApprovalConfigurationId - `brmObjects.RootApprovalRequestId` (integer) RootApprovalRequestId - `brmObjects.RequestLevel` (string) RequestLevel - `brmObjects.EntityId` (integer) EntityId - `brmObjects.Status` (string) Status - `brmObjects.Note` (string) Note ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.TrialRequest` (integer) TrialRequest - `retrieveResponse.ParentRecordId` (string) ParentRecordId - `retrieveResponse.RootRecordId` (string) RootRecordId - `retrieveResponse.RootEntityId` (integer) RootEntityId - `retrieveResponse.Id` (string) Id - `retrieveResponse.ApprovalConfigurationId` (integer) ApprovalConfigurationId - `retrieveResponse.RecordId` (string) RecordId - `retrieveResponse.SubmitterUserId` (integer) SubmitterUserId - `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.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.HistoryId` (string) HistoryId - `retrieveResponse.ActionType` (string) ActionType - `retrieveResponse.RootApprovalConfigurationId` (integer) RootApprovalConfigurationId - `retrieveResponse.RootApprovalRequestId` (integer) RootApprovalRequestId - `retrieveResponse.RequestLevel` (string) RequestLevel - `retrieveResponse.EntityId` (integer) EntityId - `retrieveResponse.Status` (string) Status - `retrieveResponse.Note` (string) Note ## 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