Create new parent segment configuration

Create a new parent segment configuration.

SecurityTdApikeyAuth
Request
Request Body schema: application/json
required

Create a new Master Segment Config

id
string <integer>
name
required
string
description
string
scheduleType
string (ScheduleType)
Enum: "cron" "daily" "hourly" "minutes_interval" "monthly" "none" "weekly"
scheduleOption
string or null
timezone
string
matrixUpdatedAt
string or null <datetime>
workflowHiveOnly
boolean

Whether the workflow mainly use Hive or not. Default is false

hiveEngineVersion
string

Hive engine version used in audience workflows

Enum: "0.13" "cdpaudience"
hivePoolName
string or null
prestoPoolName
string or null
allowActivationBehavior
boolean or null
maxActivationBehaviorRow
integer or null

Only null is acceptable when allowActivationBehavior is false.

population
integer or null <int64>

the population of the audience

object (AudienceMaster)
Array of objects (AudienceAttribute)
Array of objects (AudienceBehavior)
object (CustomerGroup)

A group of customers within an audience

Array of objects (AudienceFilter) <= 2 items
createdAt
string <date-time>
updatedAt
string <date-time>
object (User)
object (User)
Responses
400

Given parameters are not valid

401

Unauthorized; You don't provide valid credentials. Maybe you didn't specify valid TD's Master API Key as 'TD1 {Your TD Master API Key}'.

403

Requested resource or action is not allowed because you don't have sufficient permissions

404

The specified resource was not found

4XX

There is a high possibility of error of the authentication system. Please check the contents and authority of the key. Please contact the TD support team if you do not resolve it.

5XX

System error. Because there is a possibility of a temporary error due to network trouble and so on, we recommend several times retry on request side. Please contact the TD support team if you do not resolve it.

post/audiences
Request samples
application/json
{
  • "id": "string",
  • "name": "string",
  • "description": "string",
  • "scheduleType": "daily",
  • "scheduleOption": "00:00",
  • "timezone": "UTC",
  • "matrixUpdatedAt": "string",
  • "workflowHiveOnly": true,
  • "hiveEngineVersion": "0.13",
  • "hivePoolName": "string",
  • "prestoPoolName": "string",
  • "allowActivationBehavior": true,
  • "maxActivationBehaviorRow": 0,
  • "population": 0,
  • "master": {
    },
  • "attributes": [
    ],
  • "behaviors": [
    ],
  • "customerGroup": {
    },
  • "audienceFilters": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdBy": {
    },
  • "updatedBy": {
    }
}
Response samples
application/json
{
  • "code": "string",
  • "message": "string"
}