Create survey variables
POST/v3/variables/batch
Create survey variables
Request
- application/json
 
Body
Array [
]
survey_id numberrequired
Id of Survey
variables
object[]
required
Possible values: >= 1, <= 50
label stringrequired
Possible values: <= 64 characters
name stringrequired
Possible values: <= 35 characters
description string
Possible values: <= 200 characters
type stringrequired
Possible values: [STRING, NUMBER, DATE]
Responses
- 200
 
Successful
- */*
 
- Schema
 - Example (from schema)
 
Schema
Array [
]
data
object[]
Possible values: >= 1, <= 50
id number
Variable ID
label string
Variable label
name string
Unique identifier for variable
description string
Description for variable
type string
Variable data type
{
  "data": [
    {
      "id": 1,
      "label": "Ticket ID",
      "name": "ticket_id",
      "description": "Freshdesk ticket id",
      "type": "STRING"
    }
  ]
}
Loading...