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": { }
}
}
}
]
}