Select
Communication Types
Communication types define the available communications catalog in the product in terms of the purpose of the communication and regardless the different templates implementations (depending on channel, language or organization) that can exist for that type
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
typeCode | path | string | true | The communication type code |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Found communication type | CommunicationTypeResponse |
404 | Not Found | Communication type not found | ResponseErrorDto |
500 | Internal Server Error | Server Error | ResponseErrorDto |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
typeCode | path | string | true | The communication type code |
body | body | CommunicationTypeRequestDto | true | Communication type values |
Request body - instance of 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 |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Communication type successfully updated | CommunicationTypeResponse |
400 | Bad Request | Client error in the request | ResponseErrorDto |
500 | Internal Server Error | Server Error | ResponseErrorDto |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
typeCode | path | string | true | The communication type code |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Communication type deleted successfully | CommunicationTypeResponse |
400 | Bad Request | Client error | ResponseErrorDto |
404 | Not Found | Communication type not found | ResponseErrorDto |
500 | Internal Server Error | Server Error | ResponseErrorDto |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
type | query | string | false | Communication type. Allows EQ (type=password_reset), IN (type[in]=password_reset,portability_ok), and CONTAINS(type[contains]=reset) operations |
description | query | string | false | Description for communication type. Allows CONTAINS (description[contains]=password) operation |
realTimeRequired | query | boolean | false | Realtime sending of communication type. Allows EQ (realTimeRequired=true) operation |
deliveryWindow | query | string | false | Delivery window of communication type. Allows EQ (deliveryWindow=ANYDAY_ANYTIME), and IN (delivery_window[in]=ANYDAY_ANYTIME,ANYDAY_8AM8PM) operations |
sendingType | query | string | false | Sending provider for communication type. Allows EQ (sendingType=DEFAULT) operation |
argument | query | string | false | Argument present in communication type. Allows EQ (argument=name), and CONTAINS (argument[contains]=nam) operations |
limit | query | integer(int64) | false | Limit of results in the response |
offset | query | integer(int64) | false | Offset applied to results for pagination |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Requested types | CommunicationTypeListResponseDto |
500 | Internal Server Error | Server Error | ResponseErrorDto |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | CommunicationTypeRequestDto | true | Communication type values |
Request body - instance of 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 |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Communication type successfully created | CommunicationTypeResponse |
400 | Bad Request | Client error in the request | ResponseErrorDto |
500 | Internal Server Error | Server Error | ResponseErrorDto |
Endpoints
CMS
Communications
Short URLs
Communication Types
Examples
Templates