v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Data Model

Create a new PredefinedValue in the datamodel

Creates a PredefinedValue resource.

post/predefined-values

Request body

idstring

Example request

{
  "name": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "description": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  }
}

Response

PredefinedValue resource created

legacyIdinteger
dateCreatedstring date-time nullable

This is an ISO datetime

dateModifiedstring date-time nullable

This is an ISO datetime

idstring

This is the unique identifier of the resource

Example response

{
  "attribute": {
    "id": "identifier_example"
  },
  "name": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "description": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "id": "identifier_example"
}