Create a new System Property

post

/iam/governance/api/v1/systemconfiguration/systemproperty

Creates a new System Property in OIG.

Request

Supported Media Types
Body ()
System Property details for new property to be created.
Root Schema : SystemPropertyBody
Type: object
Show Source
Back to Top

Response

201 Response

successful operation.
Body ()
Root Schema : ReturnedId
Type: object
Show Source

400 Response

Invalid input.
Back to Top

Examples

The following example shows how to add system property details for a new property to be created by submitting a POST request on the REST resource using cURL. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl -i -X POST -u username:password \
--header 'Content-Type: application/json' \
--header 'X-Requested-By: <anyvalue>' \
--data-raw '{"ptyKeyword":"demoKey1","ptyValue":"demoValue1","ptyName":"demoName1"}' 'http://pseudo.com/iam/governance/adminservice/api/v1/systemconfiguration/systemproperty'

Example of Response Body

The following example shows the JSON response for a request to create a new system property with the key ID 164:

{
    "sysPropertyKey": 164
}
Back to Top