API ReferenceEmail templates
Get page by page number and size with optional sorting based on field to sortBy and direction
AuthorizationBearer <token>
In: header
Query Parameters
pageNumber?integer
Format
int32pageSize?integer
Format
int32sortBy?string
direction?string
Value in
"ASC" | "DESC"search?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/templates/page"{
"content": [
{
"active": true,
"body": "string",
"category": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"description": "string",
"enabled": true,
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"fixedSenderAddress": "string",
"id": "string",
"includeSignature": true,
"isActive": true,
"isEnabled": true,
"name": "string",
"number": "string",
"reminders": [
{
"body": "string",
"delayUnit": "HOURS",
"delayValue": 0,
"enabled": true,
"id": "string",
"isEnabled": true,
"sendWindow": {
"daysOfWeek": [
"MONDAY"
],
"endHour": 0,
"endMinute": 0,
"startHour": 0,
"startMinute": 0
},
"subject": "string",
"translations": {
"property1": {
"body": "string",
"subject": "string"
},
"property2": {
"body": "string",
"subject": "string"
}
}
}
],
"senderMode": "CURRENT_USER",
"subject": "string",
"tags": [
"string"
],
"templateType": "string",
"tenantId": "string",
"translations": {
"property1": {
"body": "string",
"subject": "string"
},
"property2": {
"body": "string",
"subject": "string"
}
},
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": [
{
"defaultValue": "string",
"description": "string",
"name": "string",
"required": true,
"type": "STRING"
}
],
"version": 0
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}