The format of the representation to post to the URL may be XML or JSON. Here is the basic structure in JSON: Code Block |
---|
{
"name": "",
"value": "",
"controls": "",
"position": "",
"ref": ""
} |
Only the following position values are allowed: before - insert the new property before the referenced (ref ) propertyafter - insert the new property after the referenced (ref ) propertyfirst - insert the new property at the first positionlast - insert the new property at the last position
The ref parameter allows to specify an existing document property. This is relevant if new properties are added relative to an existing property. If the property specified by ref cannot be found, 404 is returned. projectdoc-box-version |
---|
| Since version 10.0 the name path parameter is used to reference the existing resource on the server. This may either be the current name of the resource or – in case of adding a new property – the name of the property relative to which the new property is added. Therefore: - The name property in the JSON file refers to the new property name. If the name is not altered, the name may be omitted.
- The
name path parameter refers to the reference property name (ref ). If ref is specified it overrides the path parameter.
|
|