Get account settings
Returns the settings about the current account
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "userPk": 0,
- "preferences": {
- "float": false,
- "nodeType": "ARRAY",
- "int": false,
- "number": false,
- "valueNode": false,
- "containerNode": false,
- "missingNode": false,
- "object": false,
- "pojo": false,
- "integralNumber": false,
- "floatingPointNumber": false,
- "short": false,
- "long": false,
- "double": false,
- "bigDecimal": false,
- "bigInteger": false,
- "textual": false,
- "boolean": false,
- "binary": false,
- "array": false,
- "null": false
}
}
Modify user settings
Modify settings of the current account
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Request Body schema: application/jsonrequired
The account setting resource
userPk | integer <int64> |
object (JsonNode) |
Responses
Request samples
- Payload
{- "userPk": 0,
- "preferences": {
- "float": false,
- "nodeType": "ARRAY",
- "int": false,
- "number": false,
- "valueNode": false,
- "containerNode": false,
- "missingNode": false,
- "object": false,
- "pojo": false,
- "integralNumber": false,
- "floatingPointNumber": false,
- "short": false,
- "long": false,
- "double": false,
- "bigDecimal": false,
- "bigInteger": false,
- "textual": false,
- "boolean": false,
- "binary": false,
- "array": false,
- "null": false
}
}
Response samples
- 200
- 401
- 403
- 404
{- "userPk": 0,
- "preferences": {
- "float": false,
- "nodeType": "ARRAY",
- "int": false,
- "number": false,
- "valueNode": false,
- "containerNode": false,
- "missingNode": false,
- "object": false,
- "pojo": false,
- "integralNumber": false,
- "floatingPointNumber": false,
- "short": false,
- "long": false,
- "double": false,
- "bigDecimal": false,
- "bigInteger": false,
- "textual": false,
- "boolean": false,
- "binary": false,
- "array": false,
- "null": false
}
}
Get a compressed analytics dataset Deprecated
Returns a paged list of results that match with the given query
Authorizations:
path Parameters
statementName required | string The name of the statement |
query Parameters
planId | string The UUID of the plan |
segmentId | string The UUID of the segment |
format | string Default: "extended" Enum: "extended" "compressed" The format of the response |
forceReload | boolean Default: false Disable dataset cache. Default value is false (cache enabled) |
startDate | string The begin of date interval |
endDate | string The end of date interval |
limit | integer The maximum number of statements |
offset | integer Offset applied to retrieved statements list before returning the required number of statements |
order | string Sort directions of statements |
orderField | string Sort field of statements |
windowTime | string Enum: "DAY" "MONTH" "QUARTER" "YEAR" Filter by window time |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "name": "string",
- "label": "string",
- "format": "string",
- "parameters": {
- "property1": { },
- "property2": { }
}, - "headers": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "data": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get a dataset Deprecated
Returns a paged list of results that match with the given query
Authorizations:
path Parameters
statementId required | string The UUID of the statement |
query Parameters
planId | string The UUID of the plan |
segmentId | string The UUID of the segment |
format | string Default: "extended" Enum: "extended" "compressed" The format of the response |
forceReload | boolean Default: false Disable dataset cache. Default value is false ( cache disabled ) |
startDate | string The begin of date interval |
endDate | string The end of date interval |
limit | integer The maximum number of statements |
offset | integer Offset applied to retrieved statements list before returning the required number of statements |
order | string Sort directions of statements |
orderField | string Sort field of statements |
windowTime | string Enum: "DAY" "MONTH" "QUARTER" "YEAR" Filter by window time |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "name": "string",
- "label": "string",
- "format": "string",
- "parameters": {
- "property1": { },
- "property2": { }
}, - "headers": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "data": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get all feedbacks of all plans
Returns all contactlab feedbacks of all plans
Authorizations:
query Parameters
days | integer <int32> Default: 30 The number of days in the past |
includeAll | boolean Default: false Include all |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "feedbacks": [
- {
- "deliveryId": 0,
- "filterId": 0,
- "filterName": "string",
- "deliveryName": "string",
- "deliveryStatus": "string",
- "subject": "string",
- "removeDuplicates": false,
- "newsletter": "string",
- "bounces": 0,
- "users": 0,
- "planificationDate": "string",
- "test": 0,
- "medium": 0,
- "qualifierId": 0,
- "userDbId": 0,
- "category": 0,
- "numDomains": 0,
- "delivered": 0,
- "cancelled": 0,
- "fblComplains": 0,
- "abuse": 0,
- "listUnsuscribe": 0,
- "blacklisted": 0,
- "temporaryBlacklisted": 0,
- "errors": 0,
- "uniqueViews": 0,
- "views": 0,
- "hiddenViews": 0,
- "view_wm": 0,
- "view_ovu": 0,
- "view_mobile": 0,
- "uniqueClicks": 0,
- "clicks": 0,
- "uniqueTafClicks": 0,
- "tafClicks": 0,
- "unsubscribed": 0,
- "updates": 0,
- "blacklisting_temp": 0,
- "blacklisting_final": 0,
- "labels": [
- "string"
]
}
]
}
Send a test email campaign Deprecated
Send a test email campaign using the contactlab platform
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The test email campaign resource
identifier | integer <int32> |
name | string |
modelIdentifier | integer <int32> |
senderName | string |
senderEmail | string |
senderReplyTo | string |
selectionId | integer <int32> |
filterId | integer <int32> |
emails | Array of strings |
subject | string |
htmlContent | string |
textContent | string |
removeDuplicates | boolean Default: false |
deferred | boolean Default: false |
payloadValid | boolean Default: false |
Responses
Request samples
- Payload
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "selectionId": 0,
- "filterId": 0,
- "emails": [
- "string"
], - "subject": "string",
- "htmlContent": "string",
- "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Response samples
- 200
- 401
- 403
- 404
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "selectionId": 0,
- "filterId": 0,
- "emails": [
- "string"
], - "subject": "string",
- "htmlContent": "string",
- "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Send a test email campaign
Send a test email campaign using the contactlab platform
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The test email campaign resource
identifier | integer <int32> |
name | string |
modelIdentifier | integer <int32> |
senderName | string |
senderEmail | string |
senderReplyTo | string |
selectionId | integer <int32> |
filterId | integer <int32> |
emails | Array of strings |
subject | string |
htmlContent | string |
textContent | string |
removeDuplicates | boolean Default: false |
deferred | boolean Default: false |
payloadValid | boolean Default: false |
Responses
Request samples
- Payload
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "selectionId": 0,
- "filterId": 0,
- "emails": [
- "string"
], - "subject": "string",
- "htmlContent": "string",
- "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Response samples
- 202
- 401
- 403
- 404
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "selectionId": 0,
- "filterId": 0,
- "emails": [
- "string"
], - "subject": "string",
- "htmlContent": "string",
- "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Send a test sms campaign
Send a test sms campaign using the contactlab platform
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The test sms campaign resource
identifier | integer <int32> |
name | string |
modelIdentifier | integer <int32> |
senderName | string |
selectionId | integer <int32> |
filterId | integer <int32> |
phones | Array of strings |
textContent | string |
removeDuplicates | boolean Default: false |
deferred | boolean Default: false |
payloadValid | boolean Default: false |
Responses
Request samples
- Payload
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "selectionId": 0,
- "filterId": 0,
- "phones": [
- "string"
], - "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Response samples
- 202
- 401
- 403
- 404
{- "identifier": 0,
- "name": "string",
- "modelIdentifier": 0,
- "senderName": "string",
- "selectionId": 0,
- "filterId": 0,
- "phones": [
- "string"
], - "textContent": "string",
- "removeDuplicates": false,
- "deferred": false,
- "payloadValid": false
}
Get a feedback
Returns contactlab feedbacks of the specified plan
Authorizations:
path Parameters
planUuid required | string The UUID of the plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "deliveryId": 0,
- "filterId": 0,
- "filterName": "string",
- "deliveryName": "string",
- "deliveryStatus": "string",
- "subject": "string",
- "removeDuplicates": false,
- "newsletter": "string",
- "bounces": 0,
- "users": 0,
- "planificationDate": "string",
- "test": 0,
- "medium": 0,
- "qualifierId": 0,
- "userDbId": 0,
- "category": 0,
- "numDomains": 0,
- "delivered": 0,
- "cancelled": 0,
- "fblComplains": 0,
- "abuse": 0,
- "listUnsuscribe": 0,
- "blacklisted": 0,
- "temporaryBlacklisted": 0,
- "errors": 0,
- "uniqueViews": 0,
- "views": 0,
- "hiddenViews": 0,
- "view_wm": 0,
- "view_ovu": 0,
- "view_mobile": 0,
- "uniqueClicks": 0,
- "clicks": 0,
- "uniqueTafClicks": 0,
- "tafClicks": 0,
- "unsubscribed": 0,
- "updates": 0,
- "blacklisting_temp": 0,
- "blacklisting_final": 0,
- "labels": [
- "string"
]
}
Get all test filters
Returns a list of all test filters associated to the database in use, with a default pagination of 15 filters per page sorted by their identifiers
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "content": "string",
- "extensions": "string",
- "identifier": 0,
- "name": "string",
- "userDbId": 0,
- "type": "NORMAL"
}
]
}
Get a filter
Returns the filter with the given id
Authorizations:
path Parameters
id required | integer <int32> The ID of the filter |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "content": "string",
- "extensions": "string",
- "identifier": 0,
- "name": "string",
- "userDbId": 0,
- "type": "NORMAL"
}
Post a test filter
Create a new email test filter
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The test email campaign resource
recipients | Array of strings |
name | string |
Responses
Request samples
- Payload
{- "recipients": [
- "string"
], - "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "content": "string",
- "extensions": "string",
- "identifier": 0,
- "name": "string",
- "userDbId": 0,
- "type": "NORMAL"
}
Post a test filter
Create a new sms test filter
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The test email campaign resource
recipients | Array of strings |
name | string |
Responses
Request samples
- Payload
{- "recipients": [
- "string"
], - "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "content": "string",
- "extensions": "string",
- "identifier": 0,
- "name": "string",
- "userDbId": 0,
- "type": "NORMAL"
}
Get all email sending groups
Returns a list of all email sending groups associated to the user database in use
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "elements": [
- {
- "identifier": 0,
- "name": "string",
- "description": "string",
- "subject": "string",
- "charset": "string",
- "htmlContent": "string",
- "textContent": "string",
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string"
}
]
}
Get a email sending group
Returns a email sending groups with the given id
Authorizations:
path Parameters
id required | integer <int32> The ID of the email sending group |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "identifier": 0,
- "name": "string",
- "description": "string",
- "subject": "string",
- "charset": "string",
- "htmlContent": "string",
- "textContent": "string",
- "senderName": "string",
- "senderEmail": "string",
- "senderReplyTo": "string"
}
Get all sms sending groups
Returns a list of all sms sending groups associated to the user database in use
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "elements": [
- {
- "identifier": 0,
- "name": "string",
- "description": "string",
- "charset": "string",
- "textContent": "string",
- "senderName": "string"
}
]
}
Get a sms sending group
Returns a sms sending groups with the given id
Authorizations:
path Parameters
id required | integer <int32> The ID of the sms sending group |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "identifier": 0,
- "name": "string",
- "description": "string",
- "charset": "string",
- "textContent": "string",
- "senderName": "string"
}
Get external informations
Returns every resource created by the specific plan on external systems
Authorizations:
path Parameters
planUuid required | string The UUID of the plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "name": "string",
- "externalEntities": [
- {
- "type": "CONTACT_SEND",
- "medium": "string",
- "filterId": 0,
- "filterName": "string",
- "deliveryId": 0,
- "deliveryName": "string",
- "deliveryStatus": "string",
- "deliveryStartDate": "string",
- "deliveryEndDate": "string"
}
], - "errors": [
- {
- "type": "warning",
- "code": "string",
- "msg": "string"
}
]
}
Get a plan report
Returns a report for the specified plan with contactlab feedbacks and associated automation
Authorizations:
path Parameters
planUuid required | string The UUID of the plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "planUuid": "string",
- "planName": "string",
- "planificationDate": "string",
- "segmentName": "string",
- "plannedUsers": 0,
- "planStatus": "string",
- "user": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "updater": "string",
- "updateDate": "2019-08-24T14:15:22Z",
- "consumer": "string",
- "campaignFeedbacks": [
- {
- "medium": "EMAIL",
- "filterId": 0,
- "filterName": "string",
- "deliveryId": 0,
- "deliveryName": "string",
- "deliveryStatus": "string",
- "subject": "string",
- "removeDuplicates": false,
- "sent": 0,
- "delivered": 0,
- "bounce": 0,
- "uniqueViews": 0,
- "totalViews": 0,
- "uniqueClicks": 0,
- "totalClicks": 0,
- "tafPageUrl": "string"
}
], - "automationFeedbacks": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "startDate": "string",
- "endDate": "string",
- "created": "string",
- "author": "string",
- "status": "COMMITTED"
}
}
Get all consumers
Returns a list of consumers
Authorizations:
query Parameters
tenant | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "properties": {
- "property1": { },
- "property2": { }
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}, - "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Get a contact list Deprecated
Returns a paged list of contacts that match with the given query and (optionally) satisfy the given DND policy for the given planification date
Authorizations:
query Parameters
query | string Json expression representing the query used to retrieve contacts |
attributes | Array of strings List of contact attributes |
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contact list before returning the required number of contacts |
dnd | string UUID of DND policy to be applied |
dndRule | string Json expression representing the DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Download a contact list
Returns a csv file with paged list of contacts that match with the given query and (optionally) satisfy the given DND policy for the given planification date
Authorizations:
query Parameters
attributes | Array of strings List of contact attributes |
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> Default: 10 The maximum number of contacts |
offset | integer <int32> Default: 0 Offset applied to retrieved contact list before returning the required number of contacts |
filename | string Default: "contacts.csv" Name of match list |
dnd | string UUID of DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonoptional
Json expression representing the query used to retrieve contacts
type required | string |
conjunction | string |
combinationType | string |
queries | Array of objects (QueryRes) |
name | string |
object (QueryPartRes) | |
object (CorrelationResObject) | |
object (QueryPartRes) | |
object (AnalyticRes) | |
negative | boolean Default: false |
join | string |
queryId | integer <int32> |
object (SpecialsInfoRes) | |
class | string |
Responses
Request samples
- Payload
{- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get a contact list
Returns a paged list of contacts that match with the given query and (optionally) satisfy the given DND policy for the given planification date
Authorizations:
query Parameters
attributes | Array of strings List of contact attributes |
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contact list before returning the required number of contacts |
dnd | string UUID of DND policy to be applied |
dndRule | string Json expression representing the DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonoptional
Json expression representing the query used to retrieve contacts
type required | string |
conjunction | string |
combinationType | string |
queries | Array of objects (QueryRes) |
name | string |
object (QueryPartRes) | |
object (CorrelationResObject) | |
object (QueryPartRes) | |
object (AnalyticRes) | |
negative | boolean Default: false |
join | string |
queryId | integer <int32> |
object (SpecialsInfoRes) | |
class | string |
Responses
Request samples
- Payload
{- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Get a contact
Returns informations about the contact with the given customer id
Authorizations:
path Parameters
customerId required | string Primary key of customer |
query Parameters
attributes | Array of strings List of contact attributes |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Delete a contact
Delete a contact and all the events related by customer id
Authorizations:
path Parameters
customerId required | string Primary key of customer |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Download the customer events
Returns a zip file with list of all customer events
Authorizations:
path Parameters
customerId required | string Primary key of customer |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Delete the events category
Delete the events with the given category
Authorizations:
path Parameters
category required | string Event category |
query Parameters
categoryName required | string Event category Name |
type | string Event Type |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get a list of plans
Return paged plans resource where contact is in associated list
Authorizations:
path Parameters
customerId required | string Primary key of customer |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
]
}
Get all plans
Returns a list of plans. A compacted form of plans is returned if request contains a non-empty array of plugins
Authorizations:
query Parameters
status | Array of strings Array of plan status |
start | string The begin of date interval |
end | string The begin of date interval |
name | string Filter by name |
segmentUuid | string Filter by segment uuid |
segmentName | string Filter by segment name |
plugins | Array of strings Array of plugin identifiers |
style | string If equals to "compact", shows less elements in the response |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
]
}
Create a plan
Create a plan
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The plan resource
uuid | string |
name | string |
object (SegmentRes) | |
object (DndPolicyRes) | |
excludeDnd | boolean Default: false |
status | string Enum: "draft" "committed" "archived" "canceled" "error" |
locked | boolean Default: false |
object (ScheduleRes) | |
object or null | |
object (MaterializationRes) | |
object (ConstraintsRes) Contains the strategy, defined by ifNot, to apply if materialization returns a number of contacts less than minContacts or greater than maxContacts | |
listId | string |
cpm | number <double> |
authorId | integer <int64> |
author | string |
createdAt | string <date-time> |
updatedAt | string <date-time> |
object | |
workflowStatus | string Enum: "PREPARATION" "PLAN_CREATED" "PLAN_CREATED_NOTIFIED" "LIST_PREPARATION" "LIST_CREATED" "LIST_NOT_CREATED" "LIST_CREATED_NOTIFIED" "LIST_CONSUMED" "LIST_CONSUMED_NOTIFIED" "DELETE_CONTACT_FROM_LIST" "PLAN_REOPENED_ACCEPTED" "PLAN_REOPENED_NOTIFIED" "PLAN_REOPENED" "PLAN_CANCELED_ACCEPTED" "PLAN_CANCELED_NOTIFIED" "PLAN_CANCELED" |
Array of objects (PlanJobRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Get a plan
Returns a plan with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Modify a plan
Modify a plan with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The plan resource
uuid | string |
name | string |
object (SegmentRes) | |
object (DndPolicyRes) | |
excludeDnd | boolean Default: false |
status | string Enum: "draft" "committed" "archived" "canceled" "error" |
locked | boolean Default: false |
object (ScheduleRes) | |
object or null | |
object (MaterializationRes) | |
object (ConstraintsRes) Contains the strategy, defined by ifNot, to apply if materialization returns a number of contacts less than minContacts or greater than maxContacts | |
listId | string |
cpm | number <double> |
authorId | integer <int64> |
author | string |
createdAt | string <date-time> |
updatedAt | string <date-time> |
object | |
workflowStatus | string Enum: "PREPARATION" "PLAN_CREATED" "PLAN_CREATED_NOTIFIED" "LIST_PREPARATION" "LIST_CREATED" "LIST_NOT_CREATED" "LIST_CREATED_NOTIFIED" "LIST_CONSUMED" "LIST_CONSUMED_NOTIFIED" "DELETE_CONTACT_FROM_LIST" "PLAN_REOPENED_ACCEPTED" "PLAN_REOPENED_NOTIFIED" "PLAN_REOPENED" "PLAN_CANCELED_ACCEPTED" "PLAN_CANCELED_NOTIFIED" "PLAN_CANCELED" |
Array of objects (PlanJobRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Delete a plan
Delete a plan with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plan |
query Parameters
forced | boolean Default: true Force delete archived plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 202
- 401
- 403
- 404
- 409
- 422
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Remove a contact from a plan
Remove a contact from a plan with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plan |
customerId required | string Primary key of customer |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Counts the contacts in a plan
Counts the number of contacts in a plan with the given UUID, either in materialized list or in segment (filtered by the dnd rule, if any)
Authorizations:
path Parameters
uuid required | string The UUID of plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "count": 0
}
Get plan deliveries
Gets deliveries of plan with the given UUID
path Parameters
uuid required | string The UUID of plan |
query Parameters
status | string The deliveries status |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
[- {
- "id": "string",
- "name": "string",
- "status": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}
]
Get plan delivery
Gets delivery of plan with the given UUID and the given delivery ID
path Parameters
uuid required | string The UUID of plan |
id required | string The ID of the delivery |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "id": "string",
- "name": "string",
- "status": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}
Get all dashboard
Returns a list of dashboards
Authorizations:
query Parameters
limit | integer <int32> The maximum number of results, Default = -1 |
offset | integer <int32> The offset. Default = 0. |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "dashboards": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
]
}
Create a dashboard
Returns a dashboard
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dashboard resource
uuid | string |
name | string |
label | string |
description | string |
industry | string Enum: "ECOMMERCE" "FASHION" "MOBILITY" "CONSUMER_GOOD" "FINANCE" "MEDIA_COMM_SPORT" "NO_PROFIT" "TRAVEL" "THIRD_PTY" "OTHER" "PUBLIC_SECTOR" "ALL" |
enabled | boolean Default: false |
range | string Enum: "GLOBAL" "SEGMENT" |
Array of objects (WidgetExtendedRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Delete a dashboard widget
Delete a dashboard widget relationship
Authorizations:
path Parameters
dashboardUuid required | string The UUID of the dashboard |
widgetUuid required | string The UUID of the widget |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get a dashboard
Returns a dashboard
Authorizations:
path Parameters
uuid required | string The UUID of the dashboard |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Modify a dashboard
Returns a dashboard
Authorizations:
path Parameters
uuid required | string The UUID of the dashboard |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dashboard resource
uuid | string |
name | string |
label | string |
description | string |
industry | string Enum: "ECOMMERCE" "FASHION" "MOBILITY" "CONSUMER_GOOD" "FINANCE" "MEDIA_COMM_SPORT" "NO_PROFIT" "TRAVEL" "THIRD_PTY" "OTHER" "PUBLIC_SECTOR" "ALL" |
enabled | boolean Default: false |
range | string Enum: "GLOBAL" "SEGMENT" |
Array of objects (WidgetExtendedRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Response samples
- 200
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Delete a dashboard
Delete a dashboard with the given uuid
Authorizations:
path Parameters
uuid required | string The UUID of the dashboard |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get a dashboard widgets
Returns a list of widgets
Authorizations:
path Parameters
uuid required | string The UUID of the dashboard |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
[- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
Create a dashboard widget relationship
Returns a dashboard
Authorizations:
path Parameters
uuid required | string The UUID of the dashboard |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dashboard widget resource
uuid | string |
name | string |
label | string |
range | string Enum: "GLOBAL" "SEGMENT" |
statement | string Deprecated |
order | integer <int32> |
type | string Enum: "DEMOGRAPHY" "EVENTS" "ATTRIBUTION" |
subtype | string Enum: "CLICK" "OPEN_NO_CLICK" "RECEIVE_NO_OPEN_NO_CLICK" "NO_RECEIVE" |
object (GraphRes) Deprecated Enum: "analytics-count" "bar-h" "bar" "pie" | |
kind | string Enum: "analytics-count" "bar-h" "bar" "pie" |
xAxis | string Label of x axis (if kind is bar or bar-h) |
yAxis | string Label of y axis (if kind is bar or bar-h) |
Responses
Request samples
- Payload
[- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
Response samples
- 201
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "description": "string",
- "industry": "ECOMMERCE",
- "enabled": false,
- "range": "GLOBAL",
- "widgets": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
]
}
Get all active automations
Returns a list of active automations for a range of date
Authorizations:
query Parameters
fromDate | string <date-time> Filter by automation fromDate before or equal to the specified date |
toDate | string <date-time> The end of date interval |
name | string The automation's name |
status | string Enum: "COMMITTED" "PAUSED" "RUNNING" "ARCHIVED" "DRAFT" "ERROR" The automation status (default is COMMITTED, RUNNING, PAUSED) |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "startDate": "string",
- "endDate": "string",
- "created": "string",
- "author": "string",
- "status": "COMMITTED"
}
]
}
Get all templates
Returns a list of templates
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "id": 0,
- "name": "string"
}
]
}
Get all template pages
Returns a list of template pages
Authorizations:
path Parameters
templateId required | integer <int32> The ID of the template |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "templateId": 0,
- "id": 0,
- "pageContent": "string",
- "name": "string"
}
]
}
Get page content
Returns a page content
Authorizations:
path Parameters
templateId required | integer <int32> The ID of the template |
pageId required | integer <int32> The number of page |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "templateId": 0,
- "id": 0,
- "pageContent": "string",
- "name": "string"
}
Get information about email designer
If response is true, it's possible use email designer
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "enabled": true
}
Returns the name of the send column that contains
Returns the name of the send column that contains the hub customer id.
Authorizations:
query Parameters
tenant | string The ID of the tenant |
header Parameters
Authorization required | string |
Responses
Response samples
- 200
- 401
- 403
{- "value": "string"
}
Extracts all links found in the given template.
Extracts all links found in body and alt body(body.source must be a valid html, altBody.source must be in plain text).
header Parameters
Authorization required | string |
Request Body schema: application/jsonrequired
The Message template.
object (message body) | |
object (message body) |
Responses
Request samples
- Payload
{- "bodyHtml": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}, - "bodyText": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}
}
Response samples
- 200
- default
{- "bodyHtml": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}, - "bodyText": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}
}
Decorate given templates with the tracked links
Decorates and replaces all links(with field link.trackRequest=true) in the given templates. The link list have to be in the same order of appearance in the body.
header Parameters
Authorization required | string |
Request Body schema: application/jsonrequired
message template
object (message body) | |
object (message body) |
Responses
Request samples
- Payload
{- "bodyHtml": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}, - "bodyText": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}
}
Response samples
- 200
- default
{- "bodyHtml": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}, - "bodyText": {
- "source": "string",
- "links": [
- {
- "link": "string",
- "originalLink": "string",
- "trackedPreview": "string",
- "schemeHostAndPath": "string",
- "map": true,
- "description": "string",
- "manual": true,
- "trackable": true,
- "tracked": true,
- "categoryId": 0,
- "social": true,
- "analytics": [
- {
- "id": 0,
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "oldAnalyticStyle": true,
- "clabtrack": 0,
- "clabid": "string"
}
]
}
}
Retrieves the available Analytic configurations
Retrieves the available Analytics configurations for the current customer.
header Parameters
Authorization required | string |
Responses
Response samples
- 200
- default
{- "analytics": [
- {
- "id": 0,
- "name": "string",
- "values": [
- {
- "key": "string",
- "value": "string"
}
]
}
]
}
Get all jobs
Returns a list of jobs
Authorizations:
query Parameters
tenant | string The ID of the tenant |
includeOrphan | boolean Default: false Includes orphan job |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "tasks": [
- {
- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
]
}
Launch a single job
Launch a single job with the given tenant ID and plugin UUID
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The job resource
taskId | string |
object (TenantRes) | |
object (PluginRes) | |
cronExpression | string |
object | |
taskName | string |
monitorUuid | string |
Responses
Request samples
- Payload
{- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
Response samples
- 202
- 401
- 403
- 404
{- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
Launch a flow job
Launch a flow job
Authorizations:
query Parameters
tenant required | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 202
- 401
- 403
- 404
{- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
Get all orphan jobs
Returns a list of orphan jobs
Authorizations:
query Parameters
tenant | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "tasks": [
- {
- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
]
}
Get a job
Returns a job with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the job |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
Launch a single job
Launch a single job with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the job |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 202
- 401
- 403
- 404
{- "taskId": "string",
- "tenant": {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}, - "plugin": {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}, - "cronExpression": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "taskName": "string",
- "monitorUuid": "string"
}
Get all tenants statistics
Returns statistics about all tenants
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "tenantsStatistics": [
- {
- "tenantId": "string",
- "tenantLabel": "string",
- "groupPk": 0,
- "userDbId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "contacts": 0,
- "totalEvents": 0,
- "digitalMessages": 0,
- "purchases": 0,
- "ecommerces": 0,
- "retails": 0
}
]
}
Get all tenants information
Returns informations about all tenants
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "totalTenants": 0,
- "totalGroupPks": 0,
- "tenants": [
- {
- "tenantId": "string",
- "tenantLabel": "string",
- "groupPk": 0,
- "userDbId": "string",
- "creationDate": "2019-08-24T14:15:22Z"
}
]
}
Get usage kpis
Returns a list of usage kpis about tenants' plans
Authorizations:
query Parameters
tenant | Array of strings Array of tenant ID |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "tenants": [
- {
- "tenantId": "string",
- "tenantLabel": "string",
- "groupPk": 0,
- "userDbId": "string",
- "total": 0,
- "totalInLastWeek": 0,
- "totalInLastMonth": 0,
- "totalInLastYear": 0
}
]
}
Get usage kpis
Returns a list of usage kpis about tenants' plans
Authorizations:
query Parameters
tenant | Array of strings Array of tenant ID |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "tenants": [
- {
- "tenantId": "string",
- "tenantLabel": "string",
- "groupPk": 0,
- "userDbId": "string",
- "total": 0,
- "totalInLastWeek": 0,
- "totalInLastMonth": 0,
- "totalInLastYear": 0
}
]
}
Get a contact list metadata
Returns a contact list metadata with the given UUID
Authorizations:
path Parameters
listUuid required | string The UUID of the list |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "id": 0,
- "segmentId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "count": 0,
- "planificationDate": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "materializationAttempts": 0
}
Get list contacts
Returns the contacts contained in the list
Authorizations:
path Parameters
uuid required | string The UUID of the list |
query Parameters
attributes | Array of strings List of contact attributes |
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contacts list before returning the required number of contacts |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Download a contact list
Returns a csv file with paged list of contacts
Authorizations:
path Parameters
uuid required | string The UUID of the list |
query Parameters
attributes | Array of strings List of contact attributes |
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
filename required | string The name of the file |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contacts list before returning the required number of contacts |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
{- "id": 0,
- "segmentId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "count": 0,
- "planificationDate": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "materializationAttempts": 0
}
Get a plan lists metadata
Returns a plan list metadata with the given plan UUID
Authorizations:
path Parameters
puid required | string The UUID of the plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "id": 0,
- "segmentId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "count": 0,
- "planificationDate": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "materializationAttempts": 0
}
Get current user info
Returns basic informations about the current user and a list of tenants on which it can operate
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "base": {
- "userPk": 0,
- "name": "string",
- "surname": "string",
- "username": "string",
- "email": "string",
- "picture": "string",
- "lang": "string",
- "timezone": "string",
- "roles": [
- "string"
]
}, - "extended": {
- "tenants": [
- {
- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "nodeId": "string",
- "workspaceId": "string"
}
]
}
}
Get all metadata
Returns the metadata
Authorizations:
query Parameters
schema | string Specify the metadata to read. Available values: events, contacts. If not specified returns all the metadata. |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "contact": {
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}, - "events": [
- {
- "name": "string",
- "category": "string",
- "type": "string",
- "description": "string",
- "label": "string",
- "idAttibute": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "dimensions": [
- {
- "name": "string",
- "description": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}
]
}
]
}
Get base filter meta
Retrieve a list of metadata for every attribute within the base filter
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
[- {
- "name": "string",
- "label": "string",
- "dataType": "string"
}
]
Get contact meta
Return a paged list of metadata for all the attributes of the contact
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "contact": {
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}, - "events": [
- {
- "name": "string",
- "category": "string",
- "type": "string",
- "description": "string",
- "label": "string",
- "idAttibute": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "dimensions": [
- {
- "name": "string",
- "description": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}
]
}
]
}
Set contact attribute to bitmask
Full refresh of attribute bitmask value
Authorizations:
path Parameters
attributeName required | string The attribute name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The bitmask resource
attributeName | string |
object (ModelAttributeRes) | |
Array of objects (BitmaskFieldRes) |
Responses
Request samples
- Payload
{- "attributeName": "string",
- "attribute": {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}, - "bitmaskField": [
- {
- "uuid": "string",
- "attributeName": "string",
- "bitPosition": "string",
- "label": "string"
}
]
}
Response samples
- 201
- 401
- 403
- 404
{- "attributeName": "string",
- "attribute": {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}, - "bitmaskField": [
- {
- "uuid": "string",
- "attributeName": "string",
- "bitPosition": "string",
- "label": "string"
}
]
}
Delete contact attribute bitmask values
Authorizations:
path Parameters
attributeName required | string The attribute name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
list of value of a specific contact attribute
Return a list of available values for the given attribute
Authorizations:
path Parameters
attributeName required | string The attribute name |
query Parameters
parentAttributeValue | string The parent attribute value |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "values": [
- {
- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
]
}
Gets a value from the LOV of a specific contact attribute given a lov ID
Returns the values of the given contact LOV value
Authorizations:
path Parameters
attributeName required | string The attribute name |
lovId required | string The ID of lov |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
Gets metadata for a specific contact attribute
Returns the values of the given contact attribute
Authorizations:
path Parameters
attributeName required | string The attribute name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Edits metadata associated to a contact attribute
Returns the modified contact attribute metadata. Only visible, autoinclude, aggregable, label, inputFieldType, displayPosition are modifiable.
Authorizations:
path Parameters
attributeName required | string The attribute name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The contact attribute resource. At least one of this properties is required: visible, autoinclude, aggregable, label, inputFieldType, displayPosition.
name | string |
description | string |
dataType | string |
uuid | string |
label | string |
defaultValue | string |
maxValue | number <double> |
minValue | number <double> |
validationPattern | string |
attributeSize | integer <int32> |
attributePrecision | integer <int32> |
parentAttributeName | string |
inputFieldType | string |
inputFieldOperators | string |
visible | boolean Default: false |
personal | boolean Default: false |
lov | boolean Default: false |
lovLastUpdate | string |
validate | boolean Default: false |
validationInclusive | boolean Default: false |
autoinclude | boolean Default: false |
aggregable | boolean Default: false |
inputFieldAggregators | string |
lovLocked | boolean Default: false |
cardinality | integer <int32> |
heuristicOverride | boolean Default: false |
allowedInputFieldType | string |
displayPosition | integer |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Gets a value from the LOV of a specific dimension attribute given a lov ID
Returns the values of the given event LOV value
Authorizations:
path Parameters
attributeName required | string The attribute name |
lovId required | string The ID of lov |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
Gets metadata for a specific dimension attribute
Return the values for the given dimension attribute
Authorizations:
path Parameters
attributeName required | string.+ The dimension name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
Edits metadata associated to a dimension attribute
Returns the modified dimension attribute metadata. Only visible, autoinclude, aggregable, label, inputFieldType, displayPosition are modifiable.
Authorizations:
path Parameters
attributeName required | string.+ The dimension name |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dimension attribute resource. At least one of this properties is required: visible, autoinclude, aggregable, label, inputFieldType, displayPosition.
name | string |
description | string |
dataType | string |
uuid | string |
label | string |
defaultValue | string |
maxValue | number <double> |
minValue | number <double> |
validationPattern | string |
attributeSize | integer <int32> |
attributePrecision | integer <int32> |
parentAttributeName | string |
inputFieldType | string |
inputFieldOperators | string |
visible | boolean Default: false |
personal | boolean Default: false |
lov | boolean Default: false |
lovLastUpdate | string |
validate | boolean Default: false |
validationInclusive | boolean Default: false |
autoinclude | boolean Default: false |
aggregable | boolean Default: false |
inputFieldAggregators | string |
lovLocked | boolean Default: false |
cardinality | integer <int32> |
heuristicOverride | boolean Default: false |
allowedInputFieldType | string |
displayPosition | integer |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Get all events meta
Return metadata for all the events
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "contact": {
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}, - "events": [
- {
- "name": "string",
- "category": "string",
- "type": "string",
- "description": "string",
- "label": "string",
- "idAttibute": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "dimensions": [
- {
- "name": "string",
- "description": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}
]
}
]
}
Get specific event meta
Return metadata for all events in the given category
Authorizations:
path Parameters
category required | string The event category |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
[- {
- "name": "string",
- "category": "string",
- "type": "string",
- "description": "string",
- "label": "string",
- "idAttibute": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "dimensions": [
- {
- "name": "string",
- "description": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}
]
}
]
Get specific event meta
Return metadata for the event of specified type in the given category
Authorizations:
path Parameters
category required | string The event category |
type required | string The type of event category |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "name": "string",
- "category": "string",
- "type": "string",
- "description": "string",
- "label": "string",
- "idAttibute": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "dimensions": [
- {
- "name": "string",
- "description": "string",
- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
]
}
]
}
Get list of value of a specific event attribute
Return a list of available values for the given attribute
Authorizations:
path Parameters
category required | string The event category |
type required | string The type of event category |
attributeName required | string The attribute name |
query Parameters
parentAttributeValue | string The parent attribute value |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "values": [
- {
- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
]
}
Gets a value from the LOV of a specific event attribute given a lov ID
Returns the values of the given event LOV value
Authorizations:
path Parameters
category required | string The event category |
type required | string The type of event category |
attributeName required | string The attribute name |
lovId required | string The ID of lov |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
Gets metadata for a specific event attribute
Returns the values of the given event attribute
Authorizations:
path Parameters
category required | string The event category |
type required | string The type of event category |
attributeName required | string.+ The name of attribute |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Edits metadata associated to a event attribute
Returns the modified event attribute metadata. Only visible, autoinclude, aggregable, label, inputFieldType, displayPosition are modifiable.
Authorizations:
path Parameters
category required | string The event category |
type required | string The type of event category |
attributeName required | string.+ The name of attribute |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The event attribute resource. At least one of this properties is required: visible, autoinclude, aggregable, label, inputFieldType, displayPosition.
name | string |
description | string |
dataType | string |
uuid | string |
label | string |
defaultValue | string |
maxValue | number <double> |
minValue | number <double> |
validationPattern | string |
attributeSize | integer <int32> |
attributePrecision | integer <int32> |
parentAttributeName | string |
inputFieldType | string |
inputFieldOperators | string |
visible | boolean Default: false |
personal | boolean Default: false |
lov | boolean Default: false |
lovLastUpdate | string |
validate | boolean Default: false |
validationInclusive | boolean Default: false |
autoinclude | boolean Default: false |
aggregable | boolean Default: false |
inputFieldAggregators | string |
lovLocked | boolean Default: false |
cardinality | integer <int32> |
heuristicOverride | boolean Default: false |
allowedInputFieldType | string |
displayPosition | integer |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
Get specials query meta
Return a list of metadata for special query available
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "specials": [
- {
- "uuid": "string",
- "criteria": "string",
- "label": "string",
- "subtype": "string",
- "relatedEventCategory": "string",
- "timeframeCapable": false,
- "attributes": [
- {
- "name": "string",
- "label": "string",
- "defaultValue": "string",
- "inputFieldType": "string",
- "required": false,
- "values": [
- {
- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
]
}
]
}
]
}
Get specials query meta by subtype
Return a list of metadata for special query available filtered by subtype
Authorizations:
path Parameters
subtype required | string Subtype of special |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "specials": [
- {
- "uuid": "string",
- "criteria": "string",
- "label": "string",
- "subtype": "string",
- "relatedEventCategory": "string",
- "timeframeCapable": false,
- "attributes": [
- {
- "name": "string",
- "label": "string",
- "defaultValue": "string",
- "inputFieldType": "string",
- "required": false,
- "values": [
- {
- "lovId": "string",
- "name": "string",
- "value": "string",
- "label": "string",
- "parentValue": "string"
}
]
}
]
}
]
}
Get field distribution
Returns a list of 20 most common contact attribute values paginated by attribute
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "field": "string",
- "values": [
- {
- "name": "string",
- "total": 0
}
]
}
]
}
Get all feedbacks of the loaded data
Returns a list of all the feedbacks of the loaded data
Authorizations:
query Parameters
tenant required | string The ID of the tenant |
startDate | string The begin of date interval |
endDate | string The end of date interval |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "uuid": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "status": "CTX_INITIALIZED",
- "dataLoaderJobs": [
- {
- "processName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "status": "CTX_INITIALIZED"
}
]
}
]
}
Get the feedback of the loaded data
Return the feedback of the loaded data
Authorizations:
path Parameters
uuid required | string The UUID of feedback |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "status": "CTX_INITIALIZED",
- "dataLoaderJobs": [
- {
- "processName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "status": "CTX_INITIALIZED"
}
]
}
Get all traces from monitor
Returns a list of all the traces from monitor
Authorizations:
query Parameters
limit | integer <int32> Default: 10 The maximum number of traces |
offset | integer <int32> Default: 0 Offset applied to retrieved trace list before returning the required number of traces |
startDate | string The begin of date interval |
endDate | string The end of date interval |
tenant | string The ID of the tenant |
agent | string The agent info of traces |
pclass | string The process class of traces |
pname | string The process name of traces |
pstatus | string The process status of traces |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "monitors": [
- {
- "uuid": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "processClass": "string",
- "processName": "string",
- "processStatus": "string",
- "processInfo": "string",
- "tenantId": "string",
- "agentInfo": "string",
- "message": "string",
- "parentProcessId": "string"
}
]
}
Get a trace from monitor
Returns a trace with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the trace |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "processClass": "string",
- "processName": "string",
- "processStatus": "string",
- "processInfo": "string",
- "tenantId": "string",
- "agentInfo": "string",
- "message": "string",
- "parentProcessId": "string"
}
Get all recurrences
Returns a list of recurrences
Authorizations:
query Parameters
status | Array of strings Array of recurrences status |
name | string Filter by name |
segmentUuid | string Filter by segment uuid |
segmentName | string Filter by segment name |
plugins | Array of strings Array of plugin identifiers |
style | string If equals to "compact", shows less elements in the response |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
]
}
Create a recurrence
Create a recurrence with the given UUID
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The recurrence resource
uuid | string |
name | string |
object (SegmentRes) | |
object (DndPolicyRes) | |
excludeDnd | boolean Default: false |
status | string Enum: "draft" "committed" "archived" "canceled" "error" |
locked | boolean Default: false |
object (ScheduleRes) | |
object or null | |
object (MaterializationRes) | |
object (ConstraintsRes) Contains the strategy, defined by ifNot, to apply if materialization returns a number of contacts less than minContacts or greater than maxContacts | |
listId | string |
cpm | number <double> |
authorId | integer <int64> |
author | string |
createdAt | string <date-time> |
updatedAt | string <date-time> |
object | |
workflowStatus | string Enum: "PREPARATION" "PLAN_CREATED" "PLAN_CREATED_NOTIFIED" "LIST_PREPARATION" "LIST_CREATED" "LIST_NOT_CREATED" "LIST_CREATED_NOTIFIED" "LIST_CONSUMED" "LIST_CONSUMED_NOTIFIED" "DELETE_CONTACT_FROM_LIST" "PLAN_REOPENED_ACCEPTED" "PLAN_REOPENED_NOTIFIED" "PLAN_REOPENED" "PLAN_CANCELED_ACCEPTED" "PLAN_CANCELED_NOTIFIED" "PLAN_CANCELED" |
Array of objects (PlanJobRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Get a recurrence
Returns a recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Modify a recurrence
Modify a recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The recurrence resource
uuid | string |
name | string |
object (SegmentRes) | |
object (DndPolicyRes) | |
excludeDnd | boolean Default: false |
status | string Enum: "draft" "committed" "archived" "canceled" "error" |
locked | boolean Default: false |
object (ScheduleRes) | |
object or null | |
object (MaterializationRes) | |
object (ConstraintsRes) Contains the strategy, defined by ifNot, to apply if materialization returns a number of contacts less than minContacts or greater than maxContacts | |
listId | string |
cpm | number <double> |
authorId | integer <int64> |
author | string |
createdAt | string <date-time> |
updatedAt | string <date-time> |
object | |
workflowStatus | string Enum: "PREPARATION" "PLAN_CREATED" "PLAN_CREATED_NOTIFIED" "LIST_PREPARATION" "LIST_CREATED" "LIST_NOT_CREATED" "LIST_CREATED_NOTIFIED" "LIST_CONSUMED" "LIST_CONSUMED_NOTIFIED" "DELETE_CONTACT_FROM_LIST" "PLAN_REOPENED_ACCEPTED" "PLAN_REOPENED_NOTIFIED" "PLAN_REOPENED" "PLAN_CANCELED_ACCEPTED" "PLAN_CANCELED_NOTIFIED" "PLAN_CANCELED" |
Array of objects (PlanJobRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Modify the status of a recurrence
Modify the status of a recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The recurrence resource
status required | string Enum: "draft" "committed" |
Responses
Request samples
- Payload
{- "status": "draft"
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Delete a recurrence
Delete a recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
query Parameters
forced | boolean Default: true Force delete archived recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 202
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "segment": {
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "dndPolicy": {
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}, - "excludeDnd": false,
- "status": "draft",
- "locked": false,
- "planification": {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}, - "scheduleList": {
- "uuid": "string",
- "materializationId": 0,
- "date": "2019-08-24T14:15:22Z",
- "listSize": 0
}, - "materialization": {
- "offset": 0
}, - "constraints": {
- "maxContacts": 0,
- "minContacts": 0,
- "ifNot": {
- "type": "setError",
- "properties": {
- "capRandom": 0.1,
- "type": "absolute"
}
}
}, - "listId": "string",
- "cpm": 0.1,
- "properties": { },
- "additionalProperties": "string",
- "workflowStatus": "PREPARATION",
- "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Get a list of recurrence instances
Returns a list of instances of the recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "planUuid": "string",
- "sequenceNumber": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
]
}
Get recurrence jobs
Returns jobs of recurrence with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of recurrence |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "properties": {
- "property1": { },
- "property2": { }
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}, - "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Get plan jobs
Returns jobs of plan with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plan |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "properties": {
- "property1": { },
- "property2": { }
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}, - "jobs": [
- {
- "properties": {
- "modelIdentifier": 0,
- "textContent": "string",
- "senderName": "string",
- "name": "string",
- "removeDuplicates": false,
- "notes": {
- "property1": { },
- "property2": { }
}, - "subject": "string",
- "htmlContent": "string",
- "originalHtmlContent": "string",
- "originalTextContent": "string",
- "senderEmail": "string",
- "senderReplyTo": "string",
- "tafFileName": "string"
}, - "consumer": {
- "uuid": "string",
- "label": "string",
- "plugin": "string",
- "pluginIdentifier": "string",
- "tenant": "string",
- "properties": {
- "property1": { },
- "property2": { }
}
}
}
]
}
Webhook plan
Altering the state of a plan
path Parameters
planUuid required | string The UUID of the plan |
consumerUuid required | string The UUID of job associated with the plan |
header Parameters
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get all plugins
Returns a list of plugins
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "plugins": [
- {
- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}
]
}
Get a plugin
Returns a plugin with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of plugin |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "identifier": "string",
- "type": "string",
- "category": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "label": "string",
- "description": "string"
}
Get all the dnd policies
Returns a list of dnd policies
Authorizations:
query Parameters
limit | integer <int32> The maximum number of dnd policies, -1 for all |
offset | integer <int32> Offset applied to retrieved dnd policy list before returning the required number of dnd policies |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "dndPolicies": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
]
}
Create a dnd policy
Create a dnd policy
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dnd policy resource
uuid | string |
name | string |
object (Rule) | |
applyByDefault | boolean Default: false |
isGlobal | boolean Default: false |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
Get a dnd policy
Returns a dnd policy with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of dnd policy |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
Modify a dnd policy
Modify a dnd policy with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of dnd policy |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The dnd policy resource
uuid | string |
name | string |
object (Rule) | |
applyByDefault | boolean Default: false |
isGlobal | boolean Default: false |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "rule": {
- "type": "string",
- "frequency": 0,
- "amount": 0,
- "period": "string",
- "conditions": [
- { }
], - "global": false
}, - "applyByDefault": false,
- "isGlobal": false
}
Delete a dnd policy
Delete a dnd policy with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of dnd policy |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get all rules
Returns a list of rules
Authorizations:
query Parameters
limit | integer <int32> The maximum number of rules |
category | string The category of the rules |
offset | integer <int32> Offset applied to retrieved rules list before returning the required number of rules |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "rules": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
]
}
Create a rule
Create a rule
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The rule resource
name required | string |
category required | string |
group required | string |
required | object (QueryRes) |
Responses
Request samples
- Payload
{- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Get a rule
Returns the rule with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of rule |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Modify a rule
Modify the rule with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of rule |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The rule resource
name required | string |
category required | string |
group required | string |
required | object (QueryRes) |
Responses
Request samples
- Payload
{- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Delete rule
Delete the rule with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of rule |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
- 409
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get rule contacts
Return the contacts contained in the rule
Authorizations:
path Parameters
uuid required | string The UUID of rule |
query Parameters
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contacts list before returning the required number of contacts |
attributes | Array of strings List of contact attributes |
dnd | string UUID of DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. Required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Download a contact list
Returns a csv file with paged list of contacts that match with the given rule query and (optionally) satisfy the given DND policy for the given planification date
Authorizations:
path Parameters
uuid required | string The UUID of rule |
query Parameters
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of contacts |
offset | integer <int32> Offset applied to retrieved contacts list before returning the required number of contacts |
attributes | Array of strings List of contact attributes |
dnd | string UUID of DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. Required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "category": "string",
- "group": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}
}
Get all segments
Returns a list of segments
Authorizations:
query Parameters
page | string The page number of segments list |
limit | integer <int32> The maximum number of segments |
offset | integer <int32> Offset applied to retrieved segments list before returning the required number of segments |
name | string Filter by name |
type | string Enum: "ALL" "COMBINED" "SIMPLE" Filter by type |
style | string If equals to "compact", shows less elements in the response |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "page": {
- "size": 0,
- "totalElements": 0,
- "totalUnfilteredElements": 0,
- "totalPages": 0,
- "number": 0
}, - "elements": [
- {
- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
]
}
Create segment
Create a segment
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonoptional
uuid | string |
name | string |
object (QueryRes) | |
combined | boolean Default: false |
editable | boolean Default: false |
deleted | boolean Default: false |
object (CombinedSegmentRes) | |
Array of objects (SegmentBaseInfoRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Create a combined segment Deprecated
Create a combined segment
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonoptional
operators | Array of strings |
Array of objects (SegmentBaseInfoRes) | |
name | string |
Responses
Request samples
- Payload
{- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
], - "name": "string"
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Get combined segment contacts
Return the contacts contained in the combined segment
Authorizations:
query Parameters
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of segments |
offset | integer <int32> Offset applied to retrieved segments list before returning the required number of segments |
attributes | Array of strings List of contact attributes |
dnd | string UUID of DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. Required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonoptional
operators | Array of strings |
Array of objects (SegmentBaseInfoRes) |
Responses
Request samples
- Payload
{- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Get a segment
Returns the segment with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the segment |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Modify segment
Modify a segment with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the segment |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The segment resource
uuid | string |
name | string |
object (QueryRes) | |
combined | boolean Default: false |
editable | boolean Default: false |
deleted | boolean Default: false |
object (CombinedSegmentRes) | |
Array of objects (SegmentBaseInfoRes) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "authorId": 0,
- "author": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updaterId": 0,
- "updater": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "name": "string",
- "query": {
- "type": "string",
- "conjunction": "string",
- "combinationType": "string",
- "queries": [
- { }
], - "name": "string",
- "are": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}, - "did": {
- "event": {
- "category": "string",
- "type": "string",
- "name": "string"
}, - "condition": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "aggregation": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}, - "correlation": {
- "hidden": false,
- "readOnly": false
}
}, - "analytic": {
- "analyticCutOff": 0.1,
- "operator": "string"
}, - "negative": false,
- "join": "string",
- "queryId": 0,
- "specialsInfo": {
- "subtype": "string",
- "criteria": "string",
- "timeframe": {
- "name": "string",
- "hidden": false,
- "readOnly": false,
- "type": "string"
}
}, - "class": "string"
}, - "combined": false,
- "editable": false,
- "deleted": false,
- "uses": {
- "operators": [
- "string"
], - "segments": [
- {
- "uuid": "string",
- "name": "string"
}
]
}, - "usedBy": [
- {
- "uuid": "string",
- "name": "string"
}
]
}
Delete segment
Delete a segment with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the segment |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
- 409
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get segment contacts
Return the contacts contained in the segment
Authorizations:
path Parameters
uuid required | string The UUID of the segment |
query Parameters
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of segments |
offset | integer <int32> Offset applied to retrieved segments list before returning the required number of segments |
attributes | Array of strings List of contact attributes |
dnd | string UUID of DND policy to be applied |
dndRule | string Json expression representing the DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. Required for DND policy evaluation |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "name": "string",
- "description": "string",
- "dataType": "string",
- "uuid": "string",
- "label": "string",
- "defaultValue": "string",
- "maxValue": 0.1,
- "minValue": 0.1,
- "validationPattern": "string",
- "attributeSize": 0,
- "attributePrecision": 0,
- "parentAttributeName": "string",
- "inputFieldType": "string",
- "inputFieldOperators": "string",
- "visible": false,
- "personal": false,
- "lov": false,
- "lovLastUpdate": "string",
- "validate": false,
- "validationInclusive": false,
- "autoinclude": false,
- "aggregable": false,
- "inputFieldAggregators": "string",
- "lovLocked": false,
- "cardinality": 0,
- "heuristicOverride": false,
- "allowedInputFieldType": "string",
- "displayPosition": 0
}
], - "results": [
- [
- { }
]
], - "hits": 0,
- "pagination": {
- "limit": 0,
- "offset": 0
}
}
Download a contact list
Returns a csv file with paged list of contacts that match with the given segment query and (optionally) satisfy the given DND policy for the given planification date
Authorizations:
path Parameters
uuid required | string The UUID of the segment |
query Parameters
resultType | string Result can be hits (count is returned), list (contacts id and email are returned), partial_list (only defined attributes are returned), full_list (all attributes are returned) |
limit | integer <int32> The maximum number of segments |
offset | integer <int32> Offset applied to retrieved segments list before returning the required number of segments |
attributes | Array of strings List of contact attributes |
dnd | string UUID of DND policy to be applied |
planificationDate | string Target date in which contacts will be used for a marketing action. Required for DND policy evaluation |
filename | string Default: "contacts.csv" Name of match list |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get all statement
Returns a list of statements
Authorizations:
query Parameters
limit | integer <int32> Default: -1 The maximum number of statements |
offset | integer <int32> Default: 0 Offset applied to retrieved statement list before returning the required number of statements |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "statements": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
]
}
Creates a statement
Returns a statement
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The statement resource
uuid | string |
name | string |
label | string |
type | string Enum: "GLOBAL" "SEGMENT" |
query | string |
public | boolean Default: false |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
Get a statement
Returns a statement with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the statement |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "statements": [
- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
]
}
Modify a statement
Modify a statement with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the statement |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The statement resource
uuid | string |
name | string |
label | string |
type | string Enum: "GLOBAL" "SEGMENT" |
query | string |
public | boolean Default: false |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "type": "GLOBAL",
- "query": "string",
- "public": false
}
Delete a statement
Delete a statement with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of the statement |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get a tenant configuration
Returns a tenant configuration
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string",
- "tenantId": "string",
- "tenantName": "string",
- "tenantLabel": "string",
- "groupName": "string",
- "groupPk": 0,
- "userDbId": "string",
- "idAttribute": "string",
- "mailAttribute": "string",
- "smsAttribute": "string",
- "hubIdAttribute": "string",
- "timeSeriesDashboard": true,
- "enableShareSegment": true,
- "planRetentionMonths": 0,
- "workspaceId": "string"
}
Get all tenants
If groupPk is not provided, returns all tenants. Otherwise, returns either the tenant custom configuration for each tenant owned by groupPk (if type is extended), or the list of tenants owned by groupPk (if type is collapsed)
Authorizations:
query Parameters
groupPk | integer <int64> Group pk of tenant |
type | string Default: "extended" Enum: "extended" "collapsed" The type of response |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "_embedded": {
- "customConfigResList": [
- {
- "base": {
- "name": "string",
- "version": 0
}, - "customerId": 0,
- "userDbId": 0,
- "updatedBy": 0,
- "_links": {
- "self": {
- "href": "string"
}
}, - "properties": {
- "tenantName": "string",
- "tenantLabel": "string",
- "customerIndustry": "string",
- "hasMasterTenant": "string",
- "masterTenantGroupName": "string",
- "loadContacts": "string",
- "contactsCron": "string",
- "contactAttribute2Overwrite": "string",
- "eventsDigitalMessagesDeliveryLabels": "string",
- "digitalMessagesUserDbId": "string",
- "skipBlacklist": "string",
- "loadDigitalMessages": "string",
- "enableHubPurchasesUpdates": "string",
- "loadPurchases": "string",
- "eventsPurchasesSftpPort": "string",
- "contactdbJoinKey": "string",
- "eventsPurchasesSftpDirectory": "string",
- "consumeFile": "string",
- "eventsPurchasesInput": "string",
- "eventsPurchasesSftpPassword": "string",
- "insertDirectCondition": "string",
- "eventsPurchasesPks": "string",
- "eventsPurchasesSftpHost": "string",
- "eventsPurchasesSftpUsername": "string",
- "ordersJoinKey": "string",
- "updateLov": "string",
- "enableHubIntegrationsUpdates": "string",
- "hubIntegration": "string",
- "hasSftpConsumer": "string",
- "consumerSftpHost": "string",
- "consumerSftpPort": "string",
- "consumerSftpDirectory": "string",
- "consumerSftpUsername": "string",
- "consumerSftpPassword": "string",
- "consumerSftpHeaders": "string",
- "consumerSftpAttributes": "string",
- "multipleSftpConsumers": "string",
- "hasClabConsumer": "string",
- "hasClabSmsConsumer": "string",
- "clabApiKey": "string",
- "clabUserKey": "string",
- "clabSmsConsumerTextLimit": "string",
- "contactFlowIntegration": "string",
- "enableDataIntegrationsUpdates": "string",
- "enableShareSegment": "string"
}
}
]
}
}
Modify tenant
Modify the tenant with the given group pk and user db id
Authorizations:
query Parameters
groupPk required | string Group pk of tenant |
userDbId required | string Users database ID of tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Request Body schema: application/jsonrequired
The configuration resource
object (BaseConfig) | |
customerId | integer <int64> |
userDbId | integer <int64> |
updatedBy | integer <int64> |
object (ConfigLink) | |
object (PlanCustomConfigProperties) |
Responses
Request samples
- Payload
{- "base": {
- "name": "string",
- "version": 0
}, - "customerId": 0,
- "userDbId": 0,
- "updatedBy": 0,
- "_links": {
- "self": {
- "href": "string"
}
}, - "properties": {
- "tenantName": "string",
- "tenantLabel": "string",
- "customerIndustry": "string",
- "hasMasterTenant": "string",
- "masterTenantGroupName": "string",
- "loadContacts": "string",
- "contactsCron": "string",
- "contactAttribute2Overwrite": "string",
- "eventsDigitalMessagesDeliveryLabels": "string",
- "digitalMessagesUserDbId": "string",
- "skipBlacklist": "string",
- "loadDigitalMessages": "string",
- "enableHubPurchasesUpdates": "string",
- "loadPurchases": "string",
- "eventsPurchasesSftpPort": "string",
- "contactdbJoinKey": "string",
- "eventsPurchasesSftpDirectory": "string",
- "consumeFile": "string",
- "eventsPurchasesInput": "string",
- "eventsPurchasesSftpPassword": "string",
- "insertDirectCondition": "string",
- "eventsPurchasesPks": "string",
- "eventsPurchasesSftpHost": "string",
- "eventsPurchasesSftpUsername": "string",
- "ordersJoinKey": "string",
- "updateLov": "string",
- "enableHubIntegrationsUpdates": "string",
- "hubIntegration": "string",
- "hasSftpConsumer": "string",
- "consumerSftpHost": "string",
- "consumerSftpPort": "string",
- "consumerSftpDirectory": "string",
- "consumerSftpUsername": "string",
- "consumerSftpPassword": "string",
- "consumerSftpHeaders": "string",
- "consumerSftpAttributes": "string",
- "multipleSftpConsumers": "string",
- "hasClabConsumer": "string",
- "hasClabSmsConsumer": "string",
- "clabApiKey": "string",
- "clabUserKey": "string",
- "clabSmsConsumerTextLimit": "string",
- "contactFlowIntegration": "string",
- "enableDataIntegrationsUpdates": "string",
- "enableShareSegment": "string"
}
}
Response samples
- 202
- 401
- 403
- 404
- 409
{- "base": {
- "name": "string",
- "version": 0
}, - "customerId": 0,
- "userDbId": 0,
- "updatedBy": 0,
- "_links": {
- "self": {
- "href": "string"
}
}, - "properties": {
- "tenantName": "string",
- "tenantLabel": "string",
- "customerIndustry": "string",
- "hasMasterTenant": "string",
- "masterTenantGroupName": "string",
- "loadContacts": "string",
- "contactsCron": "string",
- "contactAttribute2Overwrite": "string",
- "eventsDigitalMessagesDeliveryLabels": "string",
- "digitalMessagesUserDbId": "string",
- "skipBlacklist": "string",
- "loadDigitalMessages": "string",
- "enableHubPurchasesUpdates": "string",
- "loadPurchases": "string",
- "eventsPurchasesSftpPort": "string",
- "contactdbJoinKey": "string",
- "eventsPurchasesSftpDirectory": "string",
- "consumeFile": "string",
- "eventsPurchasesInput": "string",
- "eventsPurchasesSftpPassword": "string",
- "insertDirectCondition": "string",
- "eventsPurchasesPks": "string",
- "eventsPurchasesSftpHost": "string",
- "eventsPurchasesSftpUsername": "string",
- "ordersJoinKey": "string",
- "updateLov": "string",
- "enableHubIntegrationsUpdates": "string",
- "hubIntegration": "string",
- "hasSftpConsumer": "string",
- "consumerSftpHost": "string",
- "consumerSftpPort": "string",
- "consumerSftpDirectory": "string",
- "consumerSftpUsername": "string",
- "consumerSftpPassword": "string",
- "consumerSftpHeaders": "string",
- "consumerSftpAttributes": "string",
- "multipleSftpConsumers": "string",
- "hasClabConsumer": "string",
- "hasClabSmsConsumer": "string",
- "clabApiKey": "string",
- "clabUserKey": "string",
- "clabSmsConsumerTextLimit": "string",
- "contactFlowIntegration": "string",
- "enableDataIntegrationsUpdates": "string",
- "enableShareSegment": "string"
}
}
Create tenant
Create the tenant with the given configuration
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Request Body schema: application/jsonrequired
The configuration resource
object (BaseConfig) | |
customerId | integer <int64> |
userDbId | integer <int64> |
updatedBy | integer <int64> |
object (ConfigLink) | |
object (PlanCustomConfigProperties) |
Responses
Request samples
- Payload
{- "base": {
- "name": "string",
- "version": 0
}, - "customerId": 0,
- "userDbId": 0,
- "updatedBy": 0,
- "_links": {
- "self": {
- "href": "string"
}
}, - "properties": {
- "tenantName": "string",
- "tenantLabel": "string",
- "customerIndustry": "string",
- "hasMasterTenant": "string",
- "masterTenantGroupName": "string",
- "loadContacts": "string",
- "contactsCron": "string",
- "contactAttribute2Overwrite": "string",
- "eventsDigitalMessagesDeliveryLabels": "string",
- "digitalMessagesUserDbId": "string",
- "skipBlacklist": "string",
- "loadDigitalMessages": "string",
- "enableHubPurchasesUpdates": "string",
- "loadPurchases": "string",
- "eventsPurchasesSftpPort": "string",
- "contactdbJoinKey": "string",
- "eventsPurchasesSftpDirectory": "string",
- "consumeFile": "string",
- "eventsPurchasesInput": "string",
- "eventsPurchasesSftpPassword": "string",
- "insertDirectCondition": "string",
- "eventsPurchasesPks": "string",
- "eventsPurchasesSftpHost": "string",
- "eventsPurchasesSftpUsername": "string",
- "ordersJoinKey": "string",
- "updateLov": "string",
- "enableHubIntegrationsUpdates": "string",
- "hubIntegration": "string",
- "hasSftpConsumer": "string",
- "consumerSftpHost": "string",
- "consumerSftpPort": "string",
- "consumerSftpDirectory": "string",
- "consumerSftpUsername": "string",
- "consumerSftpPassword": "string",
- "consumerSftpHeaders": "string",
- "consumerSftpAttributes": "string",
- "multipleSftpConsumers": "string",
- "hasClabConsumer": "string",
- "hasClabSmsConsumer": "string",
- "clabApiKey": "string",
- "clabUserKey": "string",
- "clabSmsConsumerTextLimit": "string",
- "contactFlowIntegration": "string",
- "enableDataIntegrationsUpdates": "string",
- "enableShareSegment": "string"
}
}
Response samples
- 202
- 401
- 403
- 404
- 409
{- "base": {
- "name": "string",
- "version": 0
}, - "customerId": 0,
- "userDbId": 0,
- "updatedBy": 0,
- "_links": {
- "self": {
- "href": "string"
}
}, - "properties": {
- "tenantName": "string",
- "tenantLabel": "string",
- "customerIndustry": "string",
- "hasMasterTenant": "string",
- "masterTenantGroupName": "string",
- "loadContacts": "string",
- "contactsCron": "string",
- "contactAttribute2Overwrite": "string",
- "eventsDigitalMessagesDeliveryLabels": "string",
- "digitalMessagesUserDbId": "string",
- "skipBlacklist": "string",
- "loadDigitalMessages": "string",
- "enableHubPurchasesUpdates": "string",
- "loadPurchases": "string",
- "eventsPurchasesSftpPort": "string",
- "contactdbJoinKey": "string",
- "eventsPurchasesSftpDirectory": "string",
- "consumeFile": "string",
- "eventsPurchasesInput": "string",
- "eventsPurchasesSftpPassword": "string",
- "insertDirectCondition": "string",
- "eventsPurchasesPks": "string",
- "eventsPurchasesSftpHost": "string",
- "eventsPurchasesSftpUsername": "string",
- "ordersJoinKey": "string",
- "updateLov": "string",
- "enableHubIntegrationsUpdates": "string",
- "hubIntegration": "string",
- "hasSftpConsumer": "string",
- "consumerSftpHost": "string",
- "consumerSftpPort": "string",
- "consumerSftpDirectory": "string",
- "consumerSftpUsername": "string",
- "consumerSftpPassword": "string",
- "consumerSftpHeaders": "string",
- "consumerSftpAttributes": "string",
- "multipleSftpConsumers": "string",
- "hasClabConsumer": "string",
- "hasClabSmsConsumer": "string",
- "clabApiKey": "string",
- "clabUserKey": "string",
- "clabSmsConsumerTextLimit": "string",
- "contactFlowIntegration": "string",
- "enableDataIntegrationsUpdates": "string",
- "enableShareSegment": "string"
}
}
Delete tenant
Delete the tenant with the given group pk and user db id
Authorizations:
query Parameters
groupPk required | string Group pk of tenant |
userDbId required | string Users database ID of tenant |
force | boolean Default: false Forced delete tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 401
- 403
- 404
- 409
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get all tenant users
Returns all tenant users
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "users": [
- {
- "userPk": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "username": "string",
- "status": "string"
}
]
}
Modify tenant settings
Modify the settings of tenant with the given tenant ID
Authorizations:
path Parameters
id required | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Request Body schema: application/jsonoptional
The settings tenant resource
defaultUtcOffset required | integer <int32> |
defaultRegion | string |
defaultLocale required | string |
defaultFirstDayOfWeek required | integer <int32> |
alertEmail | string email for job failure notification |
Responses
Request samples
- Payload
{- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "defaultUtcOffset": 0,
- "defaultRegion": "string",
- "defaultLocale": "string",
- "defaultFirstDayOfWeek": 0,
- "alertEmail": "string"
}
Get tenant base filter
Get the base filter of tenant with the given tenant ID
Authorizations:
path Parameters
id required | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Responses
Response samples
- 200
- 401
- 403
{- "conjunction": "and",
- "applyBlacklist": true,
- "conditions": [
- {
- "attribute": "string",
- "operator": "BETWEEN",
- "value": "string"
}
]
}
Modify tenant base filter
Modify the base filter of tenant with the given tenant ID
Authorizations:
path Parameters
id required | string The ID of the tenant |
header Parameters
Authorization required | string A valid OAuth2 token |
Request Body schema: application/jsonoptional
The base filter tenant resource
conjunction required | string Enum: "and" "or" |
applyBlacklist required | boolean |
required | Array of objects |
Responses
Request samples
- Payload
{- "conjunction": "and",
- "applyBlacklist": true,
- "conditions": [
- {
- "attribute": "string",
- "operator": "BETWEEN",
- "value": "string"
}
]
}
Response samples
- 200
- 401
- 403
{- "conjunction": "and",
- "applyBlacklist": true,
- "conditions": [
- {
- "attribute": "string",
- "operator": "BETWEEN",
- "value": "string"
}
]
}
Get all scheduled recurrence
Returns a list scheduled recurrence
Authorizations:
query Parameters
recurrence required | string The recurrence resource |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "planifications": [
- {
- "startDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string",
- "recurrence": {
- "minutes": {
- "mode": "at",
- "value": [
- "string"
]
}, - "hours": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfMonth": {
- "mode": "at",
- "value": [
- "string"
]
}, - "dayOfWeek": {
- "mode": "at",
- "value": [
- "string"
]
}, - "months": {
- "mode": "at",
- "value": [
- "string"
]
}, - "maxRepeat": 0,
- "repetitionEndDate": "2019-08-24T14:15:22Z",
- "repetitionStartDate": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "region": "string"
}
}
]
}
Get all heuristic rules
Returns a list of heuristic rules
Authorizations:
query Parameters
type | string Type of heuristic rule |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "rules": [
- {
- "type": "string",
- "maxCardinality": 0,
- "minCardinality": 0,
- "inputFieldType": "string"
}
]
}
Get all widgets
Returns a list of widgets, sorted by their "order" value
Authorizations:
query Parameters
range | string Enum: "GLOBAL" "SEGMENT" |
type | string Enum: "DEMOGRAPHY" "EVENTS" "ATTRIBUTION" |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
[- {
- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count"
}
]
Creates a widget
Returns a widget
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The widget resource
uuid | string |
name | string |
label | string |
range | string Enum: "GLOBAL" "SEGMENT" |
statement | string Deprecated |
order | integer <int32> |
type | string Enum: "DEMOGRAPHY" "EVENTS" "ATTRIBUTION" |
subtype | string Enum: "CLICK" "OPEN_NO_CLICK" "RECEIVE_NO_OPEN_NO_CLICK" "NO_RECEIVE" |
object (GraphRes) Deprecated Enum: "analytics-count" "bar-h" "bar" "pie" | |
kind | string Enum: "analytics-count" "bar-h" "bar" "pie" |
xAxis | string Label of x axis (if kind is bar or bar-h) |
yAxis | string Label of y axis (if kind is bar or bar-h) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
Response samples
- 201
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
Get a widget
Returns a widget and the dataset associated to its statement
Authorizations:
path Parameters
uuid required | string The UUID of widget |
query Parameters
segmentId | string The UUID of a segment to query for the dataset |
forceReload | boolean Default: false Disable dataset cache. Default value is false (cache enabled) |
startDate | string <date-time> Default: "0000-01-01T00:00:00Z" The begin of date interval for the dataset |
endDate | string <date-time> Default: "9999-01-01T00:00:00Z" The end of date interval for the dataset |
deliveryId | integer The delivery ID to query for the dataset |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string",
- "data": {
- "key": "string",
- "value": 0
}, - "timeseries": "DAILY"
}
Modify a widget
Returns a widget with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of widget |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The widget resource
uuid | string |
name | string |
label | string |
range | string Enum: "GLOBAL" "SEGMENT" |
statement | string Deprecated |
order | integer <int32> |
type | string Enum: "DEMOGRAPHY" "EVENTS" "ATTRIBUTION" |
subtype | string Enum: "CLICK" "OPEN_NO_CLICK" "RECEIVE_NO_OPEN_NO_CLICK" "NO_RECEIVE" |
object (GraphRes) Deprecated Enum: "analytics-count" "bar-h" "bar" "pie" | |
kind | string Enum: "analytics-count" "bar-h" "bar" "pie" |
xAxis | string Label of x axis (if kind is bar or bar-h) |
yAxis | string Label of y axis (if kind is bar or bar-h) |
Responses
Request samples
- Payload
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
{- "uuid": "string",
- "name": "string",
- "label": "string",
- "range": "GLOBAL",
- "statement": "string",
- "order": 0,
- "type": "DEMOGRAPHY",
- "subtype": "CLICK",
- "graph": "analytics-count",
- "kind": "analytics-count",
- "xAxis": "string",
- "yAxis": "string"
}
Delete a widget
Delete a widget with the given UUID
Authorizations:
path Parameters
uuid required | string The UUID of widget |
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 401
- 403
- 404
{- "timestamp": 0,
- "status": 0,
- "error": "string",
- "path": "string",
- "message": "string",
- "logref": "string",
- "data": { },
- "errors": [
- {
- "message": "string",
- "path": "string",
- "data": { },
- "code": "string"
}
]
}
Get all widget statement attributes
Get all widget statement attributes used to build statements
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Responses
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "widgetKey": "string",
- "modelAttributeName": "string",
- "widgetKeyDescription": "string"
}
]
}
Patch widget statement attributes
Modify model attribute name of one or more widget statement attributes used to build statements
Authorizations:
header Parameters
Authorization required | string A valid OAuth2 token |
Tenant required | integer The ID of the tenant to operate on |
Request Body schema: application/jsonrequired
The widget statement attributes to modify
Array of objects (WidgetStatementAttributeRes) | |||||||
Array
|
Responses
Request samples
- Payload
{- "attributes": [
- {
- "widgetKey": "string",
- "modelAttributeName": "string",
- "widgetKeyDescription": "string"
}
]
}
Response samples
- 200
- 401
- 403
- 404
{- "attributes": [
- {
- "widgetKey": "string",
- "modelAttributeName": "string",
- "widgetKeyDescription": "string"
}
]
}