/documents/mapSession/{sessionId}/insertFirstChild - Insert element as first child

Inserts the element in a map as first child of parent element.

Note:

This method is new in 6.7

End-point

POST documents/mapSession/{sessionId}/insertFirstChild

Path parameters

Field Description

sessionId

The session ID of the map session where the new element will be created as a first child.

Request body

Field Type Description

data

InsertAsChildParameterRequest

The parameters for inserting an element as the first child of the target element.

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

Field Type Description

result

MapSessionResult[...]

All the information about the map session required to insert the element as the first child.