List templates
Get /settings/templates/list
Parameters:
Name | Description | Type | Mandatory |
---|---|---|---|
page | Page number | Int | No |
pageSize | Number of item returned | Int | No |
Response:
Node of templates composed by:
Name | Description | Type | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
templates |
|
Struct |
Programming language:
Request exemple:
1 2 3 4 5 | { "page" : 1, "pageSize" : 10 } |
Response exemple:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | { "templates" : [ { "id" : "g65r4g64h65tr47h678th11d" , "templateName" : "description-du-template" , "description" : "description du template" , "from" : { "address" : "from@example.com" "personalName" : "Sender name" }, "subject" : "Message subject" , "htmlContent" : "html content" , "textContent" : "text content" , "createdAt" : 1447938089, "updatedAt" : 1447938089 }, { "id" : "h4tr65h4t65h46h54t6h5trd" , "templateName" : "description-du-template-2" , "description" : "description du template 2" , "from" : { "address" : "from@example.com" "personalName" : "Sender name" }, "subject" : "Message subject 2" , "htmlContent" : "html content 2" , "textContent" : "text content 2" , "createdAt" : 1447938189, "updatedAt" : 1447938189 } ] } |