Retrieves channels based on the provided name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "applicableProgramType": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "progressionStatuses": [
- {
- "description": "string",
- "hidden": true,
- "name": "string",
- "type": "string",
- "step": 0,
- "success": true
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves all channels. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "applicableProgramType": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "progressionStatuses": [
- {
- "description": "string",
- "hidden": true,
- "name": "string",
- "type": "string",
- "step": 0,
- "success": true
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves and email template record by the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns an email template record by its id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata for the designated email template. Required Permissions: Read-Write Assets
OK
description=string&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current draft of the email template. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the designated email template. Required Permissions: Read-Write Assets
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the content for a given email template. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": "string",
- "id": 0,
- "status": "approved"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content of the given email template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the designated email template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discards the current draft of the email template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the current approved version of the Email Template. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a list of email template records accessible in the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new email template. Required Permissions: Read-Write Assets
createEmailTemplateRequest
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a list of email records which depend on a given email template. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "type": "string",
- "status": "approved",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns an email records based on the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns an email records by its id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata of an email asset. Required Permissions: Read-Write Assets
updateEmailRequest
OK
description=string&name=string&preHeader=string&operational=true&published=true&textOnly=true&webView=true
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current draft of an email. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the target email. Required Permissions: Read-Write Assets
cloneEmailRequest
OK
description=string&id=0&type=Folder&name=string&operational=true
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the content of the designated email. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "contentType": "string",
- "htmlId": "string",
- "index": 0,
- "isLocked": true,
- "parentHtmlId": "string",
- "value": { }
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content of an email. Required Permissions: Read-Write Assets
OK
type=string&value=string&type=string&value=string&type=string&value=string&type=string&value=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Rearranges the modules in an email. Required Permissions: Read-Write Assets
OK
string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content in the given section. Required Permissions: Read-Write Assets
request
OK
altText=string&externalUrl=string&height=0&image=string&linkUrl=string&overWrite=true&style=string&textValue=string&type=Text&value=string&videoUrl=string&width=0
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a new module to an email, with the given id. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the given module from the email. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a copy of the designated module in an email. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Renames a module. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discards the current draft of an email. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the dyanmic content record for the given section. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": [
- {
- "content": "string",
- "id": "string",
- "segmentId": "string",
- "segmentName": "string",
- "type": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "segmentation": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates dynamic content in the given section. Required Permissions: Read-Write Assets
Content properties
OK
altText=string&externalUrl=string&height=0&image=string&linkUrl=string&overWrite=true&style=string&type=Text&value=string&videoUrl=string&width=0
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Sends a sample email to the given email address. Leads may be impersonated to populate data for tokens and dynamic content. Required Permissions: Read-Write Assets
sendSampleEmailRequest
OK
emailAddress=string&leadId=string&textOnly=true
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "service": "sendTestEmail",
- "result": true
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the email and reverts it to a draft-only state. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the value of a given variable in an email. Required Permissions: Read-Write Assets
updateVariableRequest
OK
value=string&moduleId=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "name": "string",
- "value": "string",
- "moduleScope": true,
- "moduleId": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a list of the available variables in an email. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "name": "string",
- "value": "string",
- "moduleScope": true,
- "moduleId": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the set of fields enabled for Email CC in the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a list of emails matching the given filter parameters. Required Permissions: Read-Only Assets, Read-Write Assets
status | string Status filter for draft or approved versions |
folder | string JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' |
offset | integer <int32> Integer offset for paging |
maxReturn | integer <int32> Maximum number of emails to return. Max 200, default 20 |
earliestUpdatedAt | string Exclude emails prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude emails after this date. Must be valid ISO-8601 string. See Datetime field type description. |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new email asset. Required Permissions: Read-Write Assets
createEmailRequest
OK
description=string&id=0&type=Folder&fromEmail=string&fromName=string&name=string&operational=true&replyEmail=string&subject=string&template=0&textOnly=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fromEmail": {
- "type": "string",
- "value": "string"
}, - "fromName": {
- "type": "string",
- "value": "string"
}, - "id": 0,
- "name": "string",
- "operational": true,
- "publishToMSI": true,
- "replyEmail": {
- "type": "string",
- "value": "string"
}, - "status": "string",
- "subject": {
- "type": "string",
- "value": "string"
}, - "template": 0,
- "textOnly": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "version": 1,
- "webView": true,
- "workspace": "string",
- "autoCopyToText": true,
- "preHeader": "string",
- "ccFields": [
- {
- "attributeId": "string",
- "objectName": "string",
- "displayName": "string",
- "apiName": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the serialized HTML version of the email. Required Permissions: Read-Only Assets, Read-Write Assets. If leadId is passed in the request: Read-Only Lead, Read-Write Lead.
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": "string",
- "id": 0,
- "status": "approved"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Replaces the HTML of an Email that has had its relationship broken from its template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Replaces the current content of the file with the included payload. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "name": "string",
- "type": "string"
}, - "id": 0,
- "mimeType": "string",
- "name": "string",
- "size": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns files records for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "name": "string",
- "type": "string"
}, - "id": 0,
- "mimeType": "string",
- "name": "string",
- "size": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the file record for the given id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "name": "string",
- "type": "string"
}, - "id": 0,
- "mimeType": "string",
- "name": "string",
- "size": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the files from the given folder. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "name": "string",
- "type": "string"
}, - "id": 0,
- "mimeType": "string",
- "name": "string",
- "size": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new file from the included payload. Required Permissions: Read-Write Assets
createFileRequest
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "name": "string",
- "type": "string"
}, - "id": 0,
- "mimeType": "string",
- "name": "string",
- "size": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a folder record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "accessZoneId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folderId": {
- "id": 0,
- "type": "Folder"
}, - "folderType": "Email",
- "id": 0,
- "isArchive": true,
- "isSystem": true,
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "path": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the folder record with the given id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "accessZoneId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folderId": {
- "id": 0,
- "type": "Folder"
}, - "folderType": "Email",
- "id": 0,
- "isArchive": true,
- "isSystem": true,
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "path": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata for a given folder. Required Permissions: Read-Write Assets
updateFolderRequest
OK
description=string&isArchive=true&name=string&type=Folder
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "accessZoneId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folderId": {
- "id": 0,
- "type": "Folder"
}, - "folderType": "Email",
- "id": 0,
- "isArchive": true,
- "isSystem": true,
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "path": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns records for the contents of a given folder. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "type": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the designated folder. Deletion will fail if the folder has content. Required Permissions: Read-Write Assets
OK
type=Program
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves child folders from within a given root folder. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "accessZoneId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folderId": {
- "id": 0,
- "type": "Folder"
}, - "folderType": "Email",
- "id": 0,
- "isArchive": true,
- "isSystem": true,
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "path": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
description=string&name=string&id=0&type=Folder
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "accessZoneId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folderId": {
- "id": 0,
- "type": "Folder"
}, - "folderType": "Email",
- "id": 0,
- "isArchive": true,
- "isSystem": true,
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "path": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of all valid fields for use in forms. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "dataType": "string",
- "defaultValue": "string",
- "description": "string",
- "fieldMaskValues": "string",
- "fieldWidth": 0,
- "id": "string",
- "initiallyChecked": true,
- "isLabelToRight": true,
- "isMultiselect": true,
- "isRequired": true,
- "isSensitive": true,
- "labelWidth": 0,
- "maxLength": 0,
- "maximumNumber": 0,
- "minimumNumber": 0,
- "picklistValues": "string",
- "placeholderText": "string",
- "validationMessage": "string",
- "visibleRows": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of all valid Program Member fields for use in forms. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "dataType": "string",
- "defaultValue": "string",
- "description": "string",
- "fieldMaskValues": "string",
- "fieldWidth": 0,
- "id": "string",
- "initiallyChecked": true,
- "isLabelToRight": true,
- "isMultiselect": true,
- "isRequired": true,
- "isSensitive": true,
- "labelWidth": 0,
- "maxLength": 0,
- "maximumNumber": 0,
- "minimumNumber": 0,
- "picklistValues": "string",
- "placeholderText": "string",
- "validationMessage": "string",
- "visibleRows": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a visibility rule to the target form field. Required Permissions: Read-Write Assets
OK
ruleType=show&rules=%5Bobject%20Object%5D
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "formFieldId": "string",
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": true,
- "label": "string",
- "selected": true,
- "value": "string"
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the configuration for that target field. Required Permissions: Read-Write Assets
updateFormFieldRequest
OK
blankFields=0&defaultValue=string&fieldType=string&fieldWidth=0&formPrefill=true&isSensitive=true&hintText=string&initiallyChecked=true&instructions=string&label=string&labelToRight=true&labelWidth=0&maskInput=string&maxLength=0&maxValue=0&minValue=0&multiSelect=true&required=true&validationMessage=string&values=string&visibleLines=0
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "blankFields": 0,
- "columnNumber": 0,
- "dataType": "string",
- "defaultValue": "string",
- "fieldMetaData": { },
- "fieldWidth": 0,
- "fields": [
- "string"
], - "formPrefill": true,
- "isSensitive": true,
- "hintText": "string",
- "id": "string",
- "instructions": "string",
- "label": "string",
- "labelWidth": 0,
- "maxLength": 0,
- "required": true,
- "rowNumber": 0,
- "text": "string",
- "validationMessage": { },
- "visibilityRules": {
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": null,
- "label": null,
- "selected": null,
- "value": null
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes a field from a form. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a field set to the target form. Required Permissions: Read-Write Assets
OK
label=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "blankFields": 0,
- "columnNumber": 0,
- "dataType": "string",
- "defaultValue": "string",
- "fieldMetaData": { },
- "fieldWidth": 0,
- "fields": [
- "string"
], - "formPrefill": true,
- "isSensitive": true,
- "hintText": "string",
- "id": "string",
- "instructions": "string",
- "label": "string",
- "labelWidth": 0,
- "maxLength": 0,
- "required": true,
- "rowNumber": 0,
- "text": "string",
- "validationMessage": { },
- "visibilityRules": {
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": null,
- "label": null,
- "selected": null,
- "value": null
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Removes the target field from the fieldset. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the list of fields in the target form. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "blankFields": 0,
- "columnNumber": 0,
- "dataType": "string",
- "defaultValue": "string",
- "fieldMetaData": { },
- "fieldWidth": 0,
- "fields": [
- "string"
], - "formPrefill": true,
- "isSensitive": true,
- "hintText": "string",
- "id": "string",
- "instructions": "string",
- "label": "string",
- "labelWidth": 0,
- "maxLength": 0,
- "required": true,
- "rowNumber": 0,
- "text": "string",
- "validationMessage": { },
- "visibilityRules": {
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": null,
- "label": null,
- "selected": null,
- "value": null
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a field to a form. Required Permissions: Read-Write Assets
addFormFieldSetRequest
OK
blankFields=0&defaultValue=string&fieldId=string&fieldWidth=0&formPrefill=true&isSensitive=true&hintText=string&initiallyChecked=true&instructions=string&label=string&labelToRight=true&labelWidth=0&maskInput=string&maxLength=0&maxValue=0&minValue=0&multiSelect=true&required=true&validationMessage=string&values=string&visibleLines=0
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "blankFields": 0,
- "columnNumber": 0,
- "dataType": "string",
- "defaultValue": "string",
- "fieldMetaData": { },
- "fieldWidth": 0,
- "fields": [
- "string"
], - "formPrefill": true,
- "isSensitive": true,
- "hintText": "string",
- "id": "string",
- "instructions": "string",
- "label": "string",
- "labelWidth": 0,
- "maxLength": 0,
- "required": true,
- "rowNumber": 0,
- "text": "string",
- "validationMessage": { },
- "visibilityRules": {
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": null,
- "label": null,
- "selected": null,
- "value": null
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Reorders the list of fields in a form. Required Permissions: Read-Write Assets
OK
positions=%5Bobject%20Object%5D
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a rich-text type field to the form. Required Permissions: Read-Write Assets
OK
text=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "blankFields": 0,
- "columnNumber": 0,
- "dataType": "string",
- "defaultValue": "string",
- "fieldMetaData": { },
- "fieldWidth": 0,
- "fields": [
- "string"
], - "formPrefill": true,
- "isSensitive": true,
- "hintText": "string",
- "id": "string",
- "instructions": "string",
- "label": "string",
- "labelWidth": 0,
- "maxLength": 0,
- "required": true,
- "rowNumber": 0,
- "text": "string",
- "validationMessage": { },
- "visibilityRules": {
- "ruleType": "string",
- "rules": [
- {
- "altLabel": "string",
- "operator": "string",
- "picklistFilterValues": [
- {
- "isDefault": null,
- "label": null,
- "selected": null,
- "value": null
}
], - "subjectField": "string",
- "values": [
- "string"
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a form record by its name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a form record by its id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata of the target form. Required Permissions: Read-Write Assets
updateFormMetaDataRequest
OK
customCss=string&description=string&fontFamily=string&fontSize=string&template=string&type=string&labelPosition=string&language=string&locale=string&name=string&progressiveProfiling=true&theme=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current draft of the form. This will delete the current approved version of the form. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
name=string&id=0&type=Folder&description=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the target form. Forms which are in use by landing pages may not be deleted until they are removed from all landing pages. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discards the current draft of the form. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the submit button configuration for the target form. Required Permissions: Read-Write Assets
submitButtonRequest
OK
buttonPosition=0&buttonStyle=string&label=string&waitingLabel=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the thank you page configuration for a given form. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the thank you page configuration for a given form. This update is destructive and the resulting draft will not have any memory of the previous configuration. Required Permissions: Read-Only Assets, Read-Write Assets
OK
thankyou=%5Bobject%20Object%5D
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of accessible form records from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new form. Required Permissions: Read-Write Assets
createFormRequest
OK
description=string&id=0&type=Folder&fontFamily=string&fontSize=string&template=string&type=string&labelPosition=string&language=string&locale=string&name=string&progressiveProfiling=true&theme=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "buttonLabel": "string",
- "buttonLocation": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "fontFamily": "string",
- "fontSize": "string",
- "id": 0,
- "knownVisitor": {
- "template": "string",
- "type": "string"
}, - "labelPosition": "string",
- "language": "string",
- "locale": "string",
- "name": "string",
- "progressiveProfiling": true,
- "status": "approved",
- "thankYouList": [
- {
- "default": true,
- "followupType": "string",
- "followupValue": { },
- "operator": "string",
- "subjectField": "string",
- "values": [
- "string"
]
}
], - "theme": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "waitingLabel": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns a list of asset records which depend on a given form. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "type": "string",
- "status": "approved",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the list of content sections in the target landing page. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": { },
- "followupType": "url",
- "followupValue": "string",
- "formattingOptions": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "id": { },
- "index": 0,
- "type": "Image"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Adds a content section to the target landing page. Parameters must be sent as application/x-www-form-urlencoded (not JSON). Required Permissions: Read-Write Assets
request
OK
backgroundColor=string&borderColor=string&borderStyle=string&borderWidth=string&contentId=string&height=string&hideDesktop=true&hideMobile=true&imageOpenNewWindow=string&left=string&linkUrl=string&opacity=string&top=string&type=Image&value=string&width=string&zIndex=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates a content section the landing page. Parameters must be sent as application/x-www-form-urlencoded (not JSON). Required Permissions: Read-Write Assets
Content properties
OK
backgroundColor=string&borderColor=string&borderStyle=string&borderWidth=string&height=string&hideDesktop=true&hideMobile=true&imageOpenNewWindow=string&index=0&left=string&linkUrl=string&opacity=string&top=string&type=Image&value=string&width=string&zIndex=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Removes the target content section from the parent landing page. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the dynamic content from the target section. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": [
- {
- "content": { },
- "followupType": "string",
- "followupValue": "string",
- "segmentId": 0,
- "segmentName": "string",
- "type": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "segmentation": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content of the target dynamic content section. Required Permissions: Read-Write Assets
Dynamic content properties
OK
backgroundColor=string&borderColor=string&borderStyle=string&borderWidth=string&height=string&hideDesktop=true&hideMobile=true&imageOpenNewWindow=string&left=string&linkUrl=string&opacity=string&segment=string&top=string&type=string&value=string&width=string&zIndex=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the landing page record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the landing record for the given id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata for the targe landing page. Required Permissions: Read-Write Assets
updateLandingPageRequest
OK
customHeadHTML=string&description=string&facebookOgTags=string&keywords=string&metaTagsDescription=string&mobileEnabled=true&name=string&robots=string&styleOverRide=string&title=string&urlPageName=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current draft of the landing page. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the target landing page. Required Permissions: Read-Write Assets
cloneLandingPageRequest
OK
description=string&id=0&type=Folder&name=string&template=0
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the target landing page. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discards the current draft of the landing page. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the landing page, reverting it to a draft-only state. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the value of the given variable. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": "string",
- "type": "string",
- "value": { }
}
], - "success": true,
- "warnings": [
- "string"
]
}
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": "string",
- "type": "string",
- "value": { }
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of accessible landing pages from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new landing page. Required Permissions: Read-Write Assets
createLandingPageRequest
OK
customHeadHTML=string&description=string&facebookOgTags=string&id=0&type=Folder&keywords=string&mobileEnabled=true&name=string&prefillForm=true&robots=string&template=0&title=string&urlPageName=string&workspace=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "URL": "string",
- "computedUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "customHeadHTML": "string",
- "description": "string",
- "facebookOgTags": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "formPrefill": true,
- "id": 0,
- "keywords": "string",
- "mobileEnabled": true,
- "name": "string",
- "robots": "string",
- "status": "string",
- "template": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the serialized HTML version of the landing page. Required Permissions: Read-Only Assets, Read-Write Assets. If leadId is passed in the request: Read-Only Lead, Read-Write Lead.
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": "string",
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of landing page redirect rules from the target instance. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules
maxReturn | integer <int32> Maximum number of landing page redirect rules to return. Max 200, default 20 |
offset | integer <int32> Integer offset for paging |
redirectTolandingPageId | string Landing page id of landing page to redirect to |
redirectToPath | string Path of landing page to redirect to |
earliestUpdatedAt | string Exclude landing page redirect rules prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude landing page redirect rules after this date. Must be valid ISO-8601 string. See Datetime field type description. |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "redirectFromUrl": "string",
- "redirectToUrl": "string",
- "hostname": "string",
- "redirectFrom": {
- "type": "landingPageId",
- "value": "string"
}, - "redirectTo": {
- "type": "landingPageId",
- "value": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Create a new landing page redirect rule. Required Permissions: Read Write Redirect Rules
createLandingPageRedirectRuleRequest
OK
hostname=string&type=landingPageId&value=string&type=landingPageId&value=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "redirectFromUrl": "string",
- "redirectToUrl": "string",
- "hostname": "string",
- "redirectFrom": {
- "type": "landingPageId",
- "value": "string"
}, - "redirectTo": {
- "type": "landingPageId",
- "value": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the landing page redirect rule record. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "redirectFromUrl": "string",
- "redirectToUrl": "string",
- "hostname": "string",
- "redirectFrom": {
- "type": "landingPageId",
- "value": "string"
}, - "redirectTo": {
- "type": "landingPageId",
- "value": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Update an existing landing page redirect rule. Required Permissions: Read Write Redirect Rules
updateLandingPageRedirectRuleRequest
OK
hostname=string&type=landingPageId&value=string&type=landingPageId&value=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "redirectFromUrl": "string",
- "redirectToUrl": "string",
- "hostname": "string",
- "redirectFrom": {
- "type": "landingPageId",
- "value": "string"
}, - "redirectTo": {
- "type": "landingPageId",
- "value": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Delete a landing page redirect rule. Required Permissions: Read Write Redirect Rules
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of landing page domain and domain aliases. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "hostname": "string",
- "type": "domain"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the landing page template record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the record for the target landing page template. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata for the target landing page template. Required Permissions: Read-Write Assets
updateLpTemplateRequest
OK
description=string&enableMunchkin=true&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current landing page template draft. This will delete the current approved version of the template if there is one. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the target landing page template. Required Permissions: Read-Write Assets
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the content of the target landing page. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": "string",
- "enableMunchkin": true,
- "id": 0,
- "status": "approved",
- "templateType": "guided"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content for the target landing page template. This update is destructive for the draft version of the template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the target landing page template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discrads the current draft of the landing page template. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the landing page template and reverts it to a draft-only state. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the list of accessible landing page templates from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new landing page template. Required Permissions: Read-Write Assets
createLpTemplateRequest
OK
description=string&enableMunchkin=true&id=0&type=Folder&name=string&templateType=guided
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "enableMunchkin": true,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "templateType": "guided",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the program record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of programs matching the tag type and tag values given. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the program record for the given id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the target program's metadata. Required Permissions: Read-Write Assets
updateProgramRequest
OK
costs=%5Bobject%20Object%5D&costsDestructiveUpdate=true&description=string&endDate=string&name=string&startDate=string&tags=%5Bobject%20Object%5D
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Smart List record by its Email Program id. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "rules": {
- "filterMatchType": "All",
- "triggers": [
- "string"
], - "filters": [
- {
- "id": 0,
- "name": "string",
- "ruleTypeId": 0,
- "ruleType": "string",
- "operator": "string",
- "conditions": [
- {
- "activityAttributeId": null,
- "activityAttributeName": null,
- "operator": null,
- "values": [ ],
- "isPrimary": null
}
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the target program. Only valid for unapproved email programs. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the target program. Required Permissions: Read-Write Assets
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the target program. The program may not contain any assets which are in use outside the program. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the target program. Only valid for approved email programs. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the list of accessible programs from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
maxReturn | integer <int32> Maximum number of channels to return. Max 200, default 20 |
offset | integer <int32> Integer offset for paging |
filterType | string Optional filter. Requires filterValues |
earliestUpdatedAt | string Exclude programs prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude programs after this date. Must be valid ISO-8601 string. See Datetime field type description. |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "status": "locked",
- "type": "program",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new program. Required Permissions: Read-Write Assets
createProgramRequest
OK
channel=string&costs=%5Bobject%20Object%5D&description=string&id=0&type=Folder&name=string&tags=%5Bobject%20Object%5D&type=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "channel": "string",
- "costs": [
- {
- "cost": 0,
- "note": "string",
- "startDate": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "endDate": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "sfdcId": "string",
- "sfdcName": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "status": "locked",
- "tags": [
- {
- "tagType": "string",
- "tagValue": "string"
}
], - "type": "default",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of accessible segmentations for the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of segments inside the target segmentation. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "id": 0,
- "name": "string",
- "segmentationId": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the smart campaign for the given id. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Update the smart campaign for the given id. Required Permissions: Read-Write Assets
OK
{- "description": "string",
- "name": "string"
}
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Returns the smart campaign for the given name. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Smart List record by its Smart Campaign id. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "rules": {
- "filterMatchType": "All",
- "triggers": [
- "string"
], - "filters": [
- {
- "id": 0,
- "name": "string",
- "ruleTypeId": 0,
- "ruleType": "string",
- "operator": "string",
- "conditions": [
- {
- "activityAttributeId": null,
- "activityAttributeName": null,
- "operator": null,
- "values": [ ],
- "isPrimary": null
}
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves all smart campaigns. Required Permissions: Read-Only Assets, Read-Write Assets
maxReturn | integer <int32> Maximum number of smart campaigns to return. Max 200, default 20 |
offset | integer <int32> Integer offset for paging |
folder | string JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' |
earliestUpdatedAt | string Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude smart campaigns after this date. Must be valid ISO-8601 string. See Datetime field type description. |
isActive | boolean Set true to return only active campaigns. Default false |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new smart campaign. Required Permissions: Read-Write Assets
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Activates a trigger smart campaign. Required Permissions: Activate Campaign
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deactivates a trigger smart campaign. Required Permissions: Deactivate Campaign
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones a smart campaign. Required Permissions: Read-Write Assets
cloneSmartCampaignRequest
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "batch",
- "isSystem": true,
- "isActive": true,
- "isRequestable": true,
- "recurrence": {
- "startAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "intervalType": "Daily",
- "interval": 0,
- "weekdayOnly": true,
- "weekdayMask": [
- "string"
], - "dayOfMonth": 0,
- "dayOfWeek": "Monday",
- "weekOfMonth": 0
}, - "qualificationRuleType": "once",
- "qualificationRuleInterval": 0,
- "qualificationRuleUnit": "hour",
- "maxMembers": 0,
- "isCommunicationLimitEnabled": true,
- "smartListId": 0,
- "flowId": 0,
- "parentProgramId": 0,
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "workspace": "string",
- "computedUrl": "string",
- "status": "Inactive"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes a smart campaign. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Smart List record by its id. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "rules": {
- "filterMatchType": "All",
- "triggers": [
- "string"
], - "filters": [
- {
- "id": 0,
- "name": "string",
- "ruleTypeId": 0,
- "ruleType": "string",
- "operator": "string",
- "conditions": [
- {
- "activityAttributeId": null,
- "activityAttributeName": null,
- "operator": null,
- "values": [ ],
- "isPrimary": null
}
]
}
]
}
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Smart List record by its name. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the designated Smart List. Required Permissions: Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of user created Smart List records. Required Permissions: Read-Asset or Read-Write Asset
folder | string JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' |
offset | integer <int32> Integer offset for paging |
maxReturn | integer <int32> Maximum number of smart lists to return. Max 200, default 20. |
earliestUpdatedAt | string Exclude smart lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude smart lists after this date. Must be valid ISO-8601 string. See Datetime field type description. |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the designated Smart List. Required Permissions: Read-Write Asset
cloneSmartListRequest
OK
name=string&id=0&type=Folder&description=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the target snippet record. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata of the snippet. Required Permissions: Read-Write Assets
OK
description=string&isArchive=string&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Approves the current draft of the snippet. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Clones the target snippet. Required Permissions: Read-Write Assets
OK
name=string&id=0&type=Folder&description=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the content of the target snippet. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "content": "string",
- "type": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the content of the target snippet. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the target snippet. The snippet may not be in use by emails or landing pages. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Discards the current draft of the snippet. Required Permissions: Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the target dynamic content section. Required Permissions: Read-Write Assets
OK
type=Typeofcontent.Either%27HTML%27or%27Text%27&value=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Unapproves the current version of the snippet. The snippet may not be in use. The snippet will be reverted to a draft-only state. Required Permissions: Approve Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of accessible snippets from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new snippet. Required Permissions: Read-Write Assets
OK
description=string&id=0&type=Folder&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "folder": {
- "value": 0,
- "type": "Folder",
- "folderName": "string"
}, - "id": 0,
- "name": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "workspace": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Static List record by its id. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "computedUrl": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Updates the metadata of a static list asset. Required Permissions: Read-Write Assets
OK
description=string&name=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "computedUrl": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of Static List records. Required Permissions: Read-Asset or Read-Write Asset
folder | string JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' |
offset | integer <int32> Integer offset for paging |
maxReturn | integer <int32> Maximum number of static lists to return. Max 200, default 20. |
earliestUpdatedAt | string Exclude static lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. |
latestUpdatedAt | string Exclude static lists after this date. Must be valid ISO-8601 string. See Datetime field type description. |
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "computedUrl": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Creates a new Static List. Required Permissions: Read-Write Assets
OK
description=string&name=string&id=0&type=Folder
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "computedUrl": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a Static List record by its name. Required Permissions: Read-Asset or Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "folder": {
- "id": 0,
- "type": "Folder"
}, - "workspace": "string",
- "computedUrl": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes the designated Static List. Required Permissions: Read-Write Asset
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a tag by its name. This will also return the set of valid values for the tag. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "allowableValues": "string",
- "applicableProgramTypes": "string",
- "required": true,
- "tagType": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves a list of available tag types. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "applicableProgramTypes": "string",
- "required": true,
- "tagType": "string"
}
], - "success": true,
- "warnings": [
- "string"
]
}
Retrieves the list of available My Tokens in the target folder. Required Permissions: Read-Only Assets, Read-Write Assets
OK
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "folder": "{\"id\":1001,\"type\":\"Program\"}",
- "tokens": [
- {
- "computedUrl": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Create or update a token in the parent folder. Required Permissions: Read-Write Assets
createTokenRequest
OK
folderType=Program&name=string&type=date&value=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "folder": "{\"id\":1001,\"type\":\"Program\"}",
- "tokens": [
- {
- "computedUrl": "string",
- "name": "string",
- "type": "string",
- "value": "string"
}
]
}
], - "success": true,
- "warnings": [
- "string"
]
}
Deletes a token with the given name from the parent folder. Required Permissions: Read-Write Assets
OK
folderType=Program&name=string&type=string
{- "errors": [
- {
- "code": "string",
- "message": "string"
}
], - "requestId": "string",
- "result": [
- {
- "id": 0
}
], - "success": true,
- "warnings": [
- "string"
]
}