V2
Templates Commit Beta
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | CommitRequestDto | true | Template commit filters |
Request body - instance of CommitRequestDto
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| commitItems | [CommitItemDto] | true | List of items to be committed and marked as stable |
| deletedItems | [CommitItemDto] | true | List of items deleted that will be removed from delete list |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | Template commit successfully | TemplateCommitResponseDto |
| 404 | Not Found | Template not found | ResponseErrorDto |
| 500 | Internal Server Error | Server Error | ResponseErrorDto |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name as it is registered in Mas-Stack |
| body | body | CommitValidationRequestDTO | false | Validation values not mandatory |
Request body - instance of CommitValidationRequestDTO
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| type | string | false | Communication type code according to the ones previously defined in the system |
| language | string | false | Template language |
| channel | ChannelTypeDTO | false | Tipul canalului pentru comunicare. Valorile acceptate sunt ‘sms’ sau ‘email’. |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Returned a list of elements validated | CommitValidationResponseDTO |
| 400 | Bad Request | Client error | ResponseErrorDto |
| 500 | Internal Server Error | Server Error | ResponseErrorDto |
Endpoints
CMS
Communications
Short URLs
Communication Types
Examples
Templates
Communication Types Beta
Examples Beta
Templates Beta
Templates Commit Beta