Create a new custom data
Create new custom data with given parameters
- application/json
Request Body required
- advancedProposedValues string
- customEvalCode string
Custom code that will be executed
- description string
Description of the custom data
- format string
Possible values: [
BOOLEAN
,NUMBER
,STRING
]Custom data value format
- gtmVariableName string
Variable name of the Google Tag Manager
- isConstant boolean
Indicates whether the custom data is a constant
- isFiltrableVentilable boolean
Indicates whether custom data should be filtered and marked as available for breakdown
- isLearnable boolean
Indicates whether this data should be included in Kameleoon machine learning
- isLocalOnly boolean
Indicates whether the data is only stored on the user's device.
- method string required
Possible values: [
CLIENT
,CUSTOM_CODE
,GTM
,SDK
,TC
,TEALIUM
]Method through which a custom data will be transmitted
- name string required
Name of the given custom data
- siteId int64 required
Unique project identifier assigned to the record
- tags string
Field to store tags that are associated with this record
- tcVariableName string
Name for the tag commander data layer, if it is selected as a transmission method
- tealiumVariableName string
Name for the Tealium, if it is selected as a transmission method
- type string
Possible values: [
COUNT_LIST
,LIST
,UNIQUE
]Custom data type. Custom data can be presented as a single value (UNIQUE), or a list of values (LIST), or a countable list of values (COUNT_LIST)
- 201
- 400
- 403
- 423
- 500
Created
- */*
- Schema
- Example (from schema)
Schema
- advancedProposedValues string
- createdById int64
Account id of the creator of the custom data
- customEvalCode string
Custom code that will be executed
- dateCreated date-time
Date and time a record is created
- description string
Description of the custom data
- format string
Possible values: [
BOOLEAN
,NUMBER
,STRING
]Custom data value format
- gtmVariableName string
Variable name of the Google Tag Manager
- id int64
Unique identifier for the specified custom data.
- index int32
- isConstant boolean
Indicates whether the custom data is a constant
- isFiltrableVentilable boolean
Indicates whether custom data should be filtered and marked as available for breakdown
- isLearnable boolean
Indicates whether this data should be included in Kameleoon machine learning
- isLocalOnly boolean
Indicates whether the data is only stored on the user's device.
- method string required
Possible values: [
CLIENT
,CUSTOM_CODE
,GTM
,SDK
,TC
,TEALIUM
]Method through which a custom data will be transmitted
- modificationDate date-time
Date and time a record is modified
- name string required
Name of the given custom data
- siteCode string
System generated code to uniquely identify a website.
- siteId int64 required
Unique project identifier assigned to the record
- tags string
Field to store tags that are associated with this record
- tcVariableName string
Name for the tag commander data layer, if it is selected as a transmission method
- tealiumVariableName string
Name for the Tealium, if it is selected as a transmission method
- type string
Possible values: [
COUNT_LIST
,LIST
,UNIQUE
]Custom data type. Custom data can be presented as a single value (UNIQUE), or a list of values (LIST), or a countable list of values (COUNT_LIST)
{
"advancedProposedValues": "string",
"createdById": 0,
"customEvalCode": "string",
"dateCreated": "2024-12-20T15:04:32.960Z",
"description": "string",
"format": "BOOLEAN",
"gtmVariableName": "string",
"id": 0,
"index": 0,
"isConstant": true,
"isFiltrableVentilable": true,
"isLearnable": true,
"isLocalOnly": true,
"method": "CLIENT",
"modificationDate": "2024-12-20T15:04:32.960Z",
"name": "string",
"siteCode": "string",
"siteId": 0,
"tags": "string",
"tcVariableName": "string",
"tealiumVariableName": "string",
"type": "COUNT_LIST"
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.960Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.960Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.960Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.960Z"
}