set_node

Create a new node (option for a fixed list field) v8.6 and above

$ref * The ID of the node to update. If creating a new node set to 'NULL'
$resource_type_field * The ID of the related metadata field.
$name *
The name of the node. This can be an multi-language string in ResourceSpace's supported syntax - see 'Creating Multi-lingual Custom Field Names, Resource Type Names, Field Values' on the following page:
$parent Optional
Used in Category tree fields. The ID of the parent node (field option). If using the API test tool set to 'NULL'
$order_by Optional
The order of the node in relation to other nodes for the same field.
$returnexisting Optional
Return the existing ID of a node with this value. Used if the existing options are not known

Return values

The ID of the newly created (or existing) node .