Sending REST request POST to {{baseUrl}}/api/data/v1/applications/:id with
{
"$schema": "http://localhost/api/data/v1/schemas/UpdateApplicationParameter.json",
"name": "PLAYGROUND",
"custom_type": {
"name": "Generic"
},
"folder": {
"name": "PLAYGROUND"
},
"description": "Example ..",
"archived": false,
"owner": {
"name": "USER/DEPARTMENT"
},
"dynamic": {
"/smt/test": [ "1", "2", "3" ],
},
}
... will results in the creation of a Dynamic Property of type "Single Line Test" with only the first entry ("1" in this case) instead of type "List"
If the List exists prior it can be updated with the correct values.
Release : 12.3
Component : RELEASE MANAGER
Workaround:
Use the following way of posting this request adding the keywords "type": "List"
{ "dynamic": {"/smt/test":
{"type": "List", "value": [ "1", "2", "3" ]}
} }
This will be properly documented in the future.