Select
Schemas
ManagedFolderResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ManagedFolderResponseDto | false | Data content |
ManagedFolderResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | true | GCS folder id |
name | string | true | Name of folder |
bucket | string | true | Name of the bucket |
metadata | object | false | Metadata associated with the resource |
ยป additionalProperties | string | false | Metadata associated with the resource |
createdTime | string(date-time) | true | Creation date and time |
updatedTime | string(date-time) | true | Update date and time |
ErrorDto
|
|
Name | Type | Required | Description |
---|---|---|---|
message | string | false | Error message |
ResponseErrorDto
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
error | ErrorDto | false | Error info |
ObjectResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ResourceObjectResponseDto | false | Data content |
ResourceObjectResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | false | Unique identifier of the resource |
selfLink | string | false | Link to the resource |
bucket | string | false | Name of the bucket containing the resource |
name | string | false | Name of the resource |
size | string | false | Size of the resource in bytes |
createdTime | string | false | Time the resource was created |
updatedTime | string | false | Time the resource was last updated |
metadata | object | false | Metadata associated with the resource |
ยป additionalProperties | string | false | Metadata associated with the resource |
mediaLink | string | false | Media link to access the resource content |
contentType | string | false | Content type of the resource |
CmsContentTreeResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Name of the bucket |
creationDate | string(date-time) | false | Creation date of the bucket |
items | [CmsItemDto] | false | none |
size | string | false | Size of the resource in bytes |
CmsItemDto
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | false | The name of the item. |
publicUrl | string | false | The public URL of the item. |
size | string | false | The size of the item in bytes. |
type | string | false | The type of the item. |
creationDate | string | false | The creation date of the item. |
updatedDate | string | false | The last updated date of the item. |
metadata | object | false | The user who created or last updated the item. |
ยป additionalProperties | string | false | The user who created or last updated the item. |
ContentTreeResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | CmsContentTreeResponseDto | false | Data content |
ManagedFolderRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
folderPath | string | true | Path of the managed folder |
user | string | true | Email address of the user |
ResourceObjectRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
user | string | true | Email address of the user |
objectName | string | true | Object name |
fileContent | string | true | File path |
UpdateObjectRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
sourceObjectName | string | true | Name of the source object to be updated |
updatedObjectName | string | true | Name of the object after the update |
user | string | true | Email address of the user |
CommunicationListResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | CommunicationListResponseDto | false | Data content |
CommunicationListResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
items | [CommunicationResponseDto] | false | Communications matching the provided criteria |
type | string | false | Communication’s type used to filter |
clientId | string | false | Communication’s client id used to filter |
countryCode | string | false | Communication’s SMS country code used to filter |
terminatingNumber | string | false | Communication’s terminating number used to filter |
destinationEmail | string | false | Communication’s email destination address used to filter |
limit | integer(int32) | false | Max number of communications retrieved |
offset | integer(int32) | false | Offset used to paginate in conjunction with limit |
CommunicationResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Unique ID assigned to the communication |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Template language |
clientId | string | false | Entity that requested the communication sending |
agentId | string | false | Agent that requested the communication sending |
externalId | string | false | Internal reference provided by the client system that could be used in later queries |
sms | CommunicationResponseSmsDto | false | Information of the sent SMS |
CommunicationResponseEmailDto | false | Information of the sent email | |
requestTime | string | false | Time and date when the communication was originally requested by its origin system. Format according to ISO 8601 |
warning | string | false | When the communication was processed but another unexpected error occurred this field contains a message about what happened |
scheduledTime | string | false | Time and date when the communication was originally scheduled by its origin system. Format according to ISO 8601 |
CommunicationResponseEmailDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Unique ID assigned to the processed email |
from | CommunicationResponseEmailFromDto | false | none |
to | CommunicationResponseEmailToDto | false | none |
subject | string | false | Processed email’s subject |
externalId | string | false | Internal reference provided by the client system that could be used in later queries |
deliveryStatus | string | false | Processed email’s status, see https://developers.masstack.com/en/guides/communications/delivery_info for details. Possible values are: SUBMITTED, DROPPED, DEFERRED, REJECTED, DELIVERED, UNDELIVERABLE, OPEN, CLICKED |
mimeType | string | false | Processed email’s content mimeType. This field is only present when sending a communication |
content | string | false | Processed email’s content. This field is only present when sending a communication |
scheduledTime | string | false | Scheduled delivery date and time for the email. Format according to ISO 8601 |
updatedTime | string | false | Last time when the email info has been updated. Format according to ISO 8601 |
attachments | [string] | false | Processed email attachments' file names. This field is only present when sending communications |
code | integer(int32) | false | Response code of email provider |
warning | string | false | When the email was submitted but another unexpected error occurred in email’s provider, this field contains a message about what happened |
error | string | false | Error message explaining why the email could not be submitted |
CommunicationResponseEmailFromDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Email address used to deliver the message | |
name | string | false | A name or title associated with the sending email address |
CommunicationResponseEmailToDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | The intended recipient’s email address | |
name | string | false | The intended recipient’s name |
CommunicationResponseSmsDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Unique ID assigned to the sent SMS. |
senderInfo | string | false | Sender info to be shown in SMS, it can be text up to 11 characters or a phone number up to 15 digits |
countryCode | string | false | International prefix without ‘+’. When not introduced, the application takes the Spanish prefix (34) as default |
terminatingNumber | string | false | Destination phone number without international prefix |
content | string | false | Sms content text |
realTimeRequired | boolean | false | SMS delivery time criticality indicator. SMS with real time requirement are handled with higher priority than the others in case of overload |
scheduledTime | string | false | Scheduled delivery date and time for the SMS. Format according to ISO 8601 |
updatedTime | string | false | Last time when the SMS stored info has been updated. Format according to ISO 8601 |
deliveryStatus | string | false | Sms status description, see https://developers.masstack.com/en/guides/communications/delivery_info for details. Possible values are: FAILED, REGISTERED, SUBMITTED, DELIVERED, EXPIRED, UNDELIVERABLE, REJECTED, ACCEPTED, DELETED |
sendingType | string | false | Provider used to send the SMS |
code | integer(int32) | false | Response code of SMS provider |
externalId | string | false | Internal reference provided by the client system that could be used in later queries |
warning | string | false | When the SMS was processed but another unexpected error occurred in SMS’s provider, this field contains a message about what happened |
error | string | false | Error message explaining why the SMS could not be processed |
CommunicationResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | CommunicationResponseDto | false | Data content |
CommunicationRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | true | Communication type code according to the ones previously defined in the system |
language | string | true | Communication language(ISO 639-1) |
channels | [string] | false | Channels list through which the communication will be sent, allowed values are: “sms”, “email”. If not specified, all channels with a defined template are used |
scheduledTime | string | false | Programmed time for the communication to be sent that can be reprogrammed to fit delivery window. |
smsInput | CommunicationRequestSmsDto | false | Specific parameters needed for SMS channel, mandatory if SMS channel requested. No need to provide it when previewing a communication |
emailInput | CommunicationRequestEmailDto | false | Specific parameters needed for email channel, mandatory if email channel requested. No need to provide it when previewing a communication |
externalId | string | false | Client internal reference |
arguments | object | false | Parameters and assigned values that are required to render the specified template. Depending on the argument type they can be a string, a number, a boolean or an array |
ยป additionalProperties | object | false | Parameters and assigned values that are required to render the specified template. Depending on the argument type they can be a string, a number, a boolean or an array |
CommunicationRequestEmailDto
|
|
Name | Type | Required | Description |
---|---|---|---|
destinationEmail | string | true | The intended recipient’s email address |
destinationName | string | false | The intended recipient’s name |
CommunicationRequestSmsDto
|
|
Name | Type | Required | Description |
---|---|---|---|
countryCode | string | false | International prefix without ‘+’. When not introduced, the application takes the Spanish prefix (34) as default |
terminatingNumber | string | true | Destination phone number without international prefix |
CommunicationEmailPreviewDto
|
|
Name | Type | Required | Description |
---|---|---|---|
from | CommunicationEmailPreviewFromDto | false | none |
subject | string | false | Email’s subject |
mimeType | string | false | Email’s content mimeType |
content | string | false | Email’s content |
CommunicationEmailPreviewFromDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Email address used to deliver the message | |
name | string | false | A name or title associated with the sending email address |
CommunicationPreviewResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | CommunicationPreviewResponseDto | false | Data content |
CommunicationPreviewResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Template language |
sms | CommunicationSmsPreviewDto | false | Preview information of the SMS |
CommunicationEmailPreviewDto | false | Preview information of the email | |
warning | string | false | Communication can be processed using the default language since the template with the one provided could not be found |
CommunicationSmsPreviewDto
|
|
Name | Type | Required | Description |
---|---|---|---|
senderInfo | string | false | Sender info to be shown in SMS, it can be text up to 11 characters or a phone number up to 15 digits |
content | string | false | Sms content text |
realTimeRequired | boolean | false | SMS delivery time criticality indicator. SMS with real time requirement are handled with higher priority than the others in case of overload |
ShortUrlResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ShortUrlResponseDto | false | Data content |
ShortUrlResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | false | Unique id for the short URL, usable to do queries about its metadata |
longUrl | string | false | Long URL the created link redirects to |
link | string | false | Shortened link |
createdTime | string | false | Short URL creation timestamp according to ISO 8601 |
updatedTime | string | false | Short URL update timestamp according to ISO 8601 |
createdClientId | string | false | Client who created the shortened link |
createdAgentId | string | false | Author who created the shortened link |
updatedClientId | string | false | Client who last updated the shortened link |
updatedAgentId | string | false | Author who last updated the shortened link |
customSuffix | boolean | false | Flag to indicate whether the shortened link has a custom suffix |
CreateShortUrlRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
longUrl | string | false | Long URL that is required to be shortened |
customSuffix | string | false | Custom suffix to use instead of generating a random string |
ArgumentDefinitionDto
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Argument name that could be used in communication templates |
type | string | true | Data type of the argument. Possible values are: String, StringList, StringMap, Number, Link,LocaleRegion, Date, Boolean, Attachment, EmbeddedImage or QrInfo |
sensitive | boolean | false | Whether the argument is sensitive or not. Sensitive arguments are not persisted |
CommunicationTypeResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | CommunicationTypeResponseDto | false | Data content |
CommunicationTypeResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | Unique identification code for the communication type |
description | string | false | Long text description of the communication purpose |
realTimeRequired | boolean | false | Flag indicating if the communication early delivery is critical. Communications with real time requirement are handled with higher priority than the others in case of overload |
deliveryWindow | string | false | Communication’s delivery window. If another scheduled time is defined, this value will be ignored. Possible values are: ANYDAY_ANYTIME, ANYDAY_8AM8PM |
sendingType | string | false | Provider that will be used to send SMS communications. Possible values are: DEFAULT, EXTERNAL |
createdTime | string | false | Communication type’s creation date and time. Format according to ISO 8601 |
updatedTime | string | false | Last time the communication type was modified. Format according to ISO 8601 |
arguments | [ArgumentDefinitionDto] | false | Variable arguments that can be used in the communication and its type |
CommunicationTypeListResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
items | [CommunicationTypeResponseDto] | false | All types available in database |
type | string | false | Type used for search |
description | string | false | Description used for search |
realTimeRequired | string | false | Search based on real time required |
deliveryWindow | string | false | Delivery window used for search |
sendingType | string | false | Sending type used for search |
argument | string | false | Argument used for search |
limit | integer(int32) | false | Max number of communication types retrieved |
offset | integer(int32) | false | Offset used to paginate in conjunction with limit |
total | integer(int32) | false | Total number of records |
CommunicationTypeRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | true | Unique identification code for the communication type. It can only contain alphanumeric characters separated with underscores. It is validated under this regular expression: ^[a-z0-9][a-z0-9_]{0,38}[a-z0-9]$ |
description | string | true | Long text description of the communication purpose |
realTimeRequired | boolean | false | Flag indicating if the communication early delivery is critical. Communications with real time requirement are handled with higher priority than the others in case of overload |
deliveryWindow | string | false | Communication’s delivery window. It is used to define the time slot in which the communication can be sent. Possible values are always preceded by ANYDAY_ and any valid window within the same day. For example: ANYDAY_ANYTIME, ANYDAY_8AM8PM, ANYDAY_8AM12PM, ANYDAY_12PM4PM or ANYDAY_4PM8PM. |
sendingType | string | false | If set to EXTERNAL, an external provider will be used to send the communication SMS. Possible values are: DEFAULT, EXTERNAL |
arguments | [ArgumentDefinitionDto] | true | Variable arguments that can be used in the communication and its type: String, StringList, StringMap, Number, Link,LocaleRegion, Date, Boolean, Attachment, EmbeddedImage or QrInfo |
EmailExampleExpectedOutputResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
from | EmailExampleResponseFromExpectedOutputDto | false | none |
subject | string | false | Processed email’s subject |
EmailExampleResponseFromExpectedOutputDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Email address that will be use to deliver the message | |
name | string | false | A name or title associated with the sending email address |
ExampleResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ExampleResponseDto | false | Data content |
ExampleResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | UUID of the registered example as generated by database |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Example’s language(ISO 639-1) |
channel | string | false | Channel of example |
requestRef | string | false | Reference of issue where example was requested |
description | string | false | Comprehensive description of the purpose of the example |
arguments | object | false | Input arguments used in the example |
ยป additionalProperties | object | false | Input arguments used in the example |
expectedOutput | ExampleResponseExpectedOutput | false | Expected content of example for set of provided arguments. It is different depending on the channel |
createdTime | string | false | Example’s creation date and time according to ISO 8601 format |
updatedTime | string | false | Last time the example was modified. Format according to ISO 8601 |
createdClientId | string | false | System or frontend that created the example identified by its audience. |
updatedClientId | string | false | System or frontend that requested the last example update identified by its audience. |
createdAgentId | string | false | Id of the agent that made the request if available, otherwise N/A. |
updatedAgentId | string | false | AgentId that requested example update if available, otherwise N/A. |
ExampleResponseExpectedOutput
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | SmsExampleExpectedOutputResponseDto | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | EmailExampleExpectedOutputResponseDto | false | none |
SmsExampleExpectedOutputResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
senderInfo | string | false | Sender info to be shown in SMS, it can be text up to 11 characters or a phone number up to 15 digits |
content | string | false | Sms example content |
ExampleListResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ExampleListResponseDto | false | Data content |
ExampleListResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
items | [ExampleResponseDto] | false | Examples matching the provided criteria |
limit | integer(int32) | false | Max number of examples retrieved |
offset | integer(int32) | false | Offset used to paginate in conjunction with limit |
total | integer(int32) | false | Total number of records |
type | string | false | Communication type filter |
language | string | false | Language filter |
channel | string | false | Channel filter |
description | string | false | Description filter |
requestRef | string | false | Request reference filter |
content | string | false | Content filter |
subject | string | false | Email subject filter |
ExampleRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | UUID to be used as identifier of the example. It must be unique in the system |
type | string | true | Communication type code according to the ones previously defined in the system |
language | string | true | Example’s language(ISO 639-1) |
channel | string | true | Channel of example |
requestRef | string | false | Reference of issue where example was requested |
description | string | false | Comprehensive description of the purpose of the example |
expectedOutput | object | true | Expected output required for the example definition. It is different depending on the channel |
arguments | object | false | Input arguments used in the example. Name and value of arguments must be coherent with registered type’s arguments. |
ยป additionalProperties | object | false | Input arguments used in the example. Name and value of arguments must be coherent with registered type’s arguments. |
EmailOutput
|
|
Name | Type | Required | Description |
---|---|---|---|
from | EmailOutputFrom | false | none |
subject | string | false | Actual subject output |
content | string | false | Actual email content output |
EmailOutputFrom
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Processed template’s from email address | |
name | string | false | Processed template’s from name |
Error
|
|
Name | Type | Required | Description |
---|---|---|---|
field | string | false | Mismatching field name |
expected | string | false | Expected field’s value |
returned | string | false | Actual field’s value |
ExampleValidateResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
pass | boolean | false | Indicates whether the template output matches the example expected data |
errors | [Error] | false | List of errors when example and template output does not match |
id | string(uuid) | false | UUID of the registered example |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Example’s language (ISO 639-1) |
channel | string | false | Channel of example |
description | string | false | Comprehensive description of the purpose of the example |
output | Output | false | Example’s output data |
ExampleValidationResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | ExampleValidateResponseDto | false | Report of validated examples against the template |
Output
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | SmsOutput | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | EmailOutput | false | none |
SmsOutput
|
|
Name | Type | Required | Description |
---|---|---|---|
senderInfo | string | false | Actual sender info output |
content | string | false | Actual sms content output |
EmailTemplateDataResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
from | EmailTemplateResponseFromDataDto | false | none |
subject | string | false | Processed email’s subject |
mimeType | string | true | The MIME type of the content to be included in the email |
content | string | false | Email’s template content based on the specified MIME type |
attachments | [string] | false | This field is only available when previewing templates. It shows what attachment would be added when sending the communication |
EmailTemplateResponseFromDataDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Email address that will be use to deliver the message | |
name | string | false | A name or title associated with the sending email address |
SmsTemplateDataResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
senderInfo | string | false | Sender info to be shown in SMS, it can be text up to 11 characters or a phone number up to 15 digits |
content | string | false | Sms template content |
TemplateResponseData
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | SmsTemplateDataResponseDto | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | EmailTemplateDataResponseDto | false | none |
TemplateResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Template language |
channel | string | false | Channel where the template is applicable |
data | TemplateResponseData | false | Data required for the template definition. It is different depending on the channel |
createdTime | string | false | Template’s creation date and time according to ISO 8601 format |
updatedTime | string | false | Last time the template was modified. Format according to ISO 8601 |
TemplatesResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
items | [TemplateResponseDto] | false | Templates matching the provided criteria |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Template language |
channel | string | false | Channel through which the communication will be sent |
subject | string | false | Subject of the email template |
limit | integer(int32) | false | Max number of templates retrieved |
offset | integer(int32) | false | Offset used to paginate in conjunction with limit |
total | integer(int32) | false | Total number of records |
EmailTemplateRequestDataDto
|
|
Name | Type | Required | Description |
---|---|---|---|
from | EmailTemplateRequestFromDataDto | false | none |
subject | string | false | Email’s subject Base64 encoded |
mimeType | string | true | The MIME type of the content to be included in the email |
content | string | true | Base64 encoded content for the email template |
EmailTemplateRequestFromDataDto
|
|
Name | Type | Required | Description |
---|---|---|---|
string | true | Email address used to deliver the message Base64 encoded | |
name | string | false | A name or title associated with the sending email address Base64 encoded |
SmsTemplateRequestDataDto
|
|
Name | Type | Required | Description |
---|---|---|---|
senderInfo | string | false | Sender info to be shown in SMS, it can be text up to 11 characters or a phone number up to 15 digits |
content | string | true | Template content encoded in base64 , multiple alphabets are supported, see https://developers.masstack.com/en/guides/communications/supported for details |
TemplateRequestData
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | SmsTemplateRequestDataDto | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | EmailTemplateRequestDataDto | false | none |
TemplateRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | true | Communication type code according to the ones previously defined in the system |
language | string | true | Template language |
channel | string | true | Template channel |
data | TemplateRequestData | true | Data required for the template definition. It is different depending on the channel |
arguments | object | false | Parameters and assigned values that are required to render the specified template. Depending on the argument type they can be a string, a number, a boolean or an array. This field is only required when previewing templates |
ยป additionalProperties | object | false | Parameters and assigned values that are required to render the specified template. Depending on the argument type they can be a string, a number, a boolean or an array. This field is only required when previewing templates |
TemplateValidateResponseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
pass | boolean | false | Indicates whether the template output matches the example expected data |
errors | [Error] | false | List of errors when example and template output does not match |
type | string | false | Communication type code according to the ones previously defined in the system |
language | string | false | Template’s language (ISO 639-1) |
channel | string | false | Template’s channel |
report | [ExampleValidateResponseDto] | false | Report of validated examples against the template |
TemplateValidationResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
commit | string | false | Service version handling the request |
id | string | false | Specific resource identifier |
data | TemplateValidateResponseDto | false | Data content |
TemplateValidateRequestDto
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | true | Communication type code according to the ones previously defined in the system |
language | string | true | Template’s language (ISO 639-1) |
channel | string | true | Template’s channel |