application.update

Description

object application.update(object/array applications)

This method allows to update existing applications.

Parameters

(object/array) Application properties to be updated.

The applicationid property must be defined for each application, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.

Return values

(object) Returns an object containing the IDs of the updated applications under the applicationids property.

Examples

Changing the name of an application

Change the name of the application to "Processes and performance".

Request:

{
           "jsonrpc": "2.0",
           "method": "application.update",
           "params": {
               "applicationid": "13",
               "name": "Processes and performance"
           },
           "auth": "038e1d7b1735c6a5436ee9eae095879e",
           "id": 1
       }
Copy
✔ Copied

Response:

{
           "jsonrpc": "2.0",
           "result": {
               "applicationids": [
                   "13"
               ]
           },
           "id": 1
       }
Copy
✔ Copied

Source

CApplication::update() in ui/include/classes/api/services/CApplication.php.

To toggle search highlight, press Ctrl+Alt+H
Have an improvement suggestion for this page? Select the text that could be improved and press Ctrl+Enter to send it to the editors.