# Update Report Functions Update Report Functions Endpoint: PUT /rest/2.0/CUSTOM_FUNCTION Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.FunctionDescr` (string) Function Description - `brmObjects.FunctionName` (string) Function Name - `brmObjects.FunctionSql` (string) Function Sql - `brmObjects.DateFormat` (string) Date Format - `brmObjects.FunctionType` (string) Function Type - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.VariableFlag` (string) VariableFlag - `brmObjects.Id` (string, required) Id: FUNCTION_ID ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.FunctionDescr` (string) Function Description - `retrieveResponse.FunctionName` (string) Function Name - `retrieveResponse.FunctionSql` (string) Function Sql - `retrieveResponse.DateFormat` (string) Date Format - `retrieveResponse.FunctionType` (string) Function Type - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.VariableFlag` (string) VariableFlag - `retrieveResponse.Id` (string) Id: FUNCTION_ID ## 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