home > API > [/element/rename] > |
request url |
https://[SERVER]:[PORT]/element/rename[?PARAMETER1=value[&...]] |
short description |
Changes the name of an element. |
long description |
|
parameters |
name |
type |
description |
database |
identifier |
Identifier of the database |
name_database |
string |
Name of the database. Used only if database parameter is omitted. |
dimension |
identifier |
Identifier of the dimension |
name_dimension |
string |
Name of the dimension. Used only if dimension parameter is omitted. |
element |
identifier |
Identifier of the element |
name_element |
string |
Name of the element. Used only if element parameter is omitted. |
new_name |
string |
New name of the element |
squash_list |
boolean |
If 1 then children and parents list are shortened to intervals (1-10) and weights are shortened to weight:count |
sid |
string |
Session identifier for a server connection. Use the
/server/login request to get a valid
session identifier. |
|
result |
# |
name |
type |
description |
0 |
element |
identifier |
Identifier of the element |
1 |
name_element |
string |
Name of the element |
2 |
position |
integer |
Position of the element |
3 |
level |
integer |
Level of the element |
4 |
indent |
integer |
Indent of the element |
5 |
depth |
integer |
Depth of the element |
6 |
type |
integer |
Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED) |
7 |
number_parents |
integer |
Number of parents |
8 |
parents |
identifier |
Comma separated list of parent identifiers |
9 |
number_children |
integer |
Number of children |
10 |
children |
identifier |
Comma separated list of children identifiers |
11 |
weights |
double |
Comma separated list of children weights |
|
examples |
|
further information |
|