POST /api-web/system/resources/icon/{path}

As of Version

product version 2020 Winter | component version 

Request MethodGET
Response FormatHTTP status code
Description

Creates or updates the global or app-specific icon resource specified by path with the data passed as SVG image in a multipart request body.

Such icon endpoints are also available in the admin-controller and resource-controller. They are intended to serve for the configuration of object type icons. Use the technical name of the corresponding object type as a value for path, e.g. tenMytenant:Invoice or appMyapp:Contract.
>> Managing Icons

These defined icons are global ones. If not other icons are saved via the admin endpoint for the specific tenant the global icons are delivered with the corresponding resources endpoint

The role YUUVIS_SYSTEM_INTEGRATOR is required.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
201 OK
400 No icon was specified.
401 Unauthorized