Unicat API Reference

Up - API Reference - Home


/api/p/<project gid>/records/definition/copy_to_siblings

Requires JWT.

Copy the record's definition to its siblings.

A modified definition can be assigned to siblings, but nowhere else unless it is committed or saved as a new definition.

Request

POST /api/p/<project gid>/records/definition/copy_to_siblings
Authorization: Bearer <JWT>

{
    "record": "<record gid>"
}

record the record's gid

Success response

Authorization: <JWT>

{
    "success": true,
    "result": {},
    "data": {}
}

Error responses

400 Bad request - missing parameters or wrong type or value
401 Unauthorized - missing or expired JWT
403 Forbidden - not a member of this project
422 Unprocessable entity - parent record doesn't exist