{
"templateApiName": "template_aBcDe",
"contents": [
{
"code": "string",
"parent": {
"templateApiName": "string",
"code": "string"
},
"value": {
"key": {}
},
"children": {
"key": [
{}
]
}
}
],
"workflowInitOperation": "{name: 保存, value: 1}",
"features": {
"WORKFLOW": false
},
"action": "CREATE_OR_UPDATE"
}
curl --location --request POST '/api/public/metadata-app/v2/data/operation/saveOrUpdate' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateApiName": "template_aBcDe",
"contents": [
{
"code": "string",
"parent": {
"templateApiName": "string",
"code": "string"
},
"value": {
"key": {}
},
"children": {
"key": [
{}
]
}
}
],
"workflowInitOperation": "{name: 保存, value: 1}",
"features": {
"WORKFLOW": false
},
"action": "CREATE_OR_UPDATE"
}'
{
"code": 0,
"message": "",
"data": {
"entity": [
{
"": {}
}
]
}
}