/
POST /api/system/tenants/{tenant}/apps
POST /api/system/tenants/{tenant}/apps
As of Version | product version 2021 Summer | component version 2021 Summer |
---|---|
Request Method | POST |
Response Format | JSON |
Required Permission | available if listed in |
Description | Updates the app set for the specified The request body contains the XML configuration to be stored as app set for the The call infers a validation and returns its result to the user, performing the update only after successful validation. |
Request Headers | Content-Type: application/xml |
Request Example | XML configuration in the request body. <?xml version="1.0" encoding="utf-8"?> <apps xmlns="http://optimal-systems.org/ns/yuuvis/apps/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://optimal-systems.org/ns/yuuvis/apps/ yuuvis-core-apps.xsd"> <app> <name>clientsystem</name> <state>enabled</state> </app> <app> <name>client</name> <state>enabled</state> </app> <app> <name>email</name> <state>disabled</state> </app> <app> <name>acl</name> <state>disabled</state> </app> </apps> |
Response Example | (1) Successful update: The result is a JSON structure containing a 200 – no validation errors, the apps for the tenant have been updated { "validationErrors": [] } (2) Unsuccessful: Example error message. 422 – validation errors, the apps have not been updated { "validationErrors": [ { "message": "Unable to disable app 'client' and enable app 'invoice'. There are references from the schema of app 'invoice' to the schema of app 'client'." } ] } |
, multiple selections available,
Related content
Search Service API
Search Service API
More like this
Version Tags Services
Version Tags Services
More like this
Release Notes 10.16
Release Notes 10.16
More like this
Release Notes 10.14
Release Notes 10.14
More like this
Release Notes 10.8
Release Notes 10.8
More like this
Release Notes 10.4
Release Notes 10.4
More like this