System Property Insert System Property

System Property Insert System Property

Creates a new system property with the specified name, value, and optionally other attributes.

Privileges required:

CREATE SYSTEM_PROPERTY

Request
URI
POST
https://{api_host}/portal/rest/systemProperty/insertSystemProperty
COPY
Request Body

Show optional properties

{
    "name": "string",
    "value": "string"
}
{
    "name": "string",
    "value": "string",
    "defaultValue": "string",
    "dataType": "string",
    "description": "string",
    "isPassword": false,
    "isReadOnly": false
}
string
name
Required

name

string
value
Required

value

string
defaultValue
Optional

defaultValue

string
dataType
Optional

dataType

string
description
Optional

description

boolean
isPassword
Optional

isPassword

boolean
isReadOnly
Optional

isReadOnly

Responses
200

Request was successfully processed

Returns system_property_insert_system_property_result of type(s) application/json
This response body class contains all of the following: Inlinesystem_property_insert_system_property_result0
{
    "id": 123,
    "rows": 1
}

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","value:"string"}' https://{api_host}/portal/rest/systemProperty/insertSystemProperty