Data Objects

data_object_add_summary

data_object_add_description

post/pimcore-studio/api/data-objects/add/{parentId}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/data-objects/add/{parentId}
  • Auth: none declared

Path parameters

parentIdinteger required
Example:83

ParentId of the data-object

Request body

keystring required

Key

classIdstring required

Class Id

type'object' | 'variant' required

Type

Example request

{
  "key": "my_new_data_object",
  "classId": "data_object_class_id",
  "type": "object"
}

Response

data_object_add_success_response

idinteger required

ID of created data object

Example response

{
  "id": 66
}

Changes

No recorded changes to this operation across all 2 revisions of this API.