Download OpenAPI specification:Download
Mail Injection Middleware
| tenantId required | string tenantId |
payload
| end_time | string <date-time> |
object (BehaviorTrackingPayload) | |
| hostname | string |
| start_time | string <date-time> |
{- "end_time": "2019-08-24T14:15:22Z",
- "fields": {
- "action": "string",
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "eventTime": "2019-08-24T14:15:22Z",
- "pseudoname": "string"
}, - "hostname": "string",
- "start_time": "2019-08-24T14:15:22Z"
}{- "end_time": "2019-08-24T14:15:22Z",
- "fields": {
- "action": "string",
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "eventTime": "2019-08-24T14:15:22Z",
- "pseudoname": "string"
}, - "hostname": "string",
- "start_time": "2019-08-24T14:15:22Z"
}[- {
- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}
]| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
{- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
{- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "categories": [
- "string"
], - "endDate": "2019-08-24T14:15:22Z",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "subject": "string"
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
payload
| status | string |
{- "status": "string"
}{- "status": "string"
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
[- {
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "endDate": "yyyy-MM-dd hh:mm:ss",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "importCount": 0,
- "lastActivityDate": "yyyy-MM-dd hh:mm:ss",
- "message": "string",
- "metadataFilePath": "string",
- "placeholdersFilePath": "string",
- "result": "string",
- "startDate": "yyyy-MM-dd hh:mm:ss",
- "status": "string",
- "templateFilePath": "string"
}
]| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
| dataSourceId | string dataSourceId |
payload
| date | string |
| hash | string |
{- "date": "string",
- "hash": "string"
}{- "importId": "84402506-7f34-4409-8ec1-a4e0ffb6b608"
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
| date required | string date |
| hash required | string hash |
| metadata required | string <binary> metadata |
| placeholders required | string <binary> placeholders |
| template required | string <binary> template |
{- "importId": "84402506-7f34-4409-8ec1-a4e0ffb6b608"
}| campaignId required | string <uuid> campaignId |
| importId required | string <uuid> importId |
| tenantId required | string tenantId |
{- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "endDate": "yyyy-MM-dd hh:mm:ss",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "importCount": 0,
- "lastActivityDate": "yyyy-MM-dd hh:mm:ss",
- "message": "string",
- "metadataFilePath": "string",
- "placeholdersFilePath": "string",
- "result": "string",
- "startDate": "yyyy-MM-dd hh:mm:ss",
- "status": "string",
- "templateFilePath": "string"
}{- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}[- {
- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}
][- {
- "endDate": "2019-08-24T14:15:22Z",
- "fix_position": true,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "iso8601End": "string",
- "iso8601Start": "string",
- "placeholders": {
- "property1": "string",
- "property2": "string"
}, - "remove_after_if_unseen": 0,
- "sender": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "subject": "string",
- "tenantId": "string"
}
]logEntries
| action | string |
| guid | string |
| tenantId | string |
| timestamp | integer <int64> |
| user_hash | string |
[- {
- "action": "string",
- "guid": "string",
- "tenantId": "string",
- "timestamp": 0,
- "user_hash": "string"
}
]{- "count": 0
}{- "dataSourceResultList": [
- {
- "content": [
- {
- "bucketName": "string",
- "etag": "string",
- "key": "string",
- "lastModified": "2019-08-24T14:15:22Z",
- "owner": {
- "displayName": "string",
- "id": "string"
}, - "size": 0,
- "storageClass": "string"
}
], - "id": "string",
- "message": "string",
- "result": "OK"
}
], - "tenant": {
- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
{- "campaign": {
- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}, - "campaignImports": [
- {
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "endDate": "yyyy-MM-dd hh:mm:ss",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "importCount": 0,
- "lastActivityDate": "yyyy-MM-dd hh:mm:ss",
- "message": "string",
- "metadataFilePath": "string",
- "placeholdersFilePath": "string",
- "result": "string",
- "startDate": "yyyy-MM-dd hh:mm:ss",
- "status": "string",
- "templateFilePath": "string"
}
]
}| campaignId required | string <uuid> campaignId |
| tenantId required | string tenantId |
| userId required | string userId |
{- "activeCampaigns": [
- {
- "endDate": "2019-08-24T14:15:22Z",
- "fix_position": true,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "iso8601End": "string",
- "iso8601Start": "string",
- "placeholders": {
- "property1": "string",
- "property2": "string"
}, - "remove_after_if_unseen": 0,
- "sender": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "subject": "string",
- "tenantId": "string"
}
], - "campaign": {
- "categories": [
- "string"
], - "emailBody": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "string",
- "subject": "string"
}, - "campaignLogs": [
- {
- "action": "string",
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "date": "yyyy-MM-dd hh:mm:ss",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_hash": "string"
}
], - "user": {
- "activeCampaigns": [
- {
- "metadata": {
- "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
- "categories": [
- "string"
], - "endDate": "2019-08-24T14:15:22Z",
- "lastModified": "2019-08-24T14:15:22Z",
- "positionFixed": true,
- "positions": [
- 0
], - "sender": "string",
- "sharedId": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "subject": "string"
}, - "placeholderList": {
- "property1": "string",
- "property2": "string"
}
}
], - "user_hash": "string"
}
}[- {
- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}
]| createDB | boolean createDB |
payload
object (TenantConfiguration) | |
Array of objects (ConversionPoint) [ items ] | |
Array of objects (DataSource) [ items ] | |
| id | string |
| keyspaceName | string |
| name | string |
{- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}{- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}{- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}| tenantId required | string tenantId |
{- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}{- "configuration": {
- "secretKey": "string",
- "shutdown": true
}, - "conversionPoints": [
- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
], - "dataSources": [
- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
], - "id": "string",
- "keyspaceName": "string",
- "name": "string"
}| tenantId required | string tenantId |
payload
| secretKey | string |
| shutdown | boolean |
{- "secretKey": "string",
- "shutdown": true
}{- "secretKey": "string",
- "shutdown": true
}[- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
]| tenantId required | string tenantId |
payload
object (TenantConversionPointConnectionInformation) | |
| description | string |
| eventType | string Enum: "INJECTED" "REINJECTED" "READ" "EXPUNGED" |
| id | string |
| type | string Value: "ONGAGE" |
[- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
][- {
- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}
]| conversionPointId required | string conversionPointId |
| tenantId required | string tenantId |
{- "connectionInformation": {
- "host": "string",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "description": "string",
- "eventType": "INJECTED",
- "id": "string",
- "type": "ONGAGE"
}[- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
]| tenantId required | string tenantId |
payload
object (TenantAWSConnectionInformation) | |
| defaultDataSource | boolean |
| deleteTemporaryImportFiles | boolean |
| id | string |
| metadataFilename | string |
| placeholdersFilename | string |
| templateFilename | string |
| type | string |
[- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
][- {
- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}
]| dataSourceId required | string dataSourceId |
| tenantId required | string tenantId |
{- "awsConnectionInformation": {
- "accessKey": "string",
- "authorizationType": "string",
- "bucket": "string",
- "endpoint": "string",
- "pathStyleAccessEnabled": true,
- "proxyHost": "string",
- "proxyPassword": "string",
- "proxyPort": 0,
- "proxyUsername": "string",
- "region": "string",
- "secretKey": "string",
- "signer": "string"
}, - "defaultDataSource": true,
- "deleteTemporaryImportFiles": true,
- "id": "string",
- "metadataFilename": "string",
- "placeholdersFilename": "string",
- "templateFilename": "string",
- "type": "string"
}| tenantId required | string tenantId |
| userHash required | string userHash |
[- {
- "endDate": "2019-08-24T14:15:22Z",
- "fix_position": true,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "iso8601End": "string",
- "iso8601Start": "string",
- "placeholders": {
- "property1": "string",
- "property2": "string"
}, - "remove_after_if_unseen": 0,
- "sender": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "subject": "string",
- "tenantId": "string"
}
]