/webconsole - email
Rest API Documentation
REST API Documentation for Group email, application /webconsole Version: 4.2.1.4
Endpoints (DRAFT)
GET /rest/api/mailTemplate/get
Mail Template API Doc, Get mail template by id
Query Params:
- id [{'type': 'string'}]:
Responses:
- Status Code: 200 Success. - Content-type: application/json, - Schema: /components/schemas/MailTemplateDto 
- Status Code: 500 Failure. - Content-type: application/json, - Schema: /components/schemas/MailTemplateDto 
GET /rest/api/mailTemplate/getAll
Mail Template API Doc, Get all mail templates
Responses:
- Status Code: 200 Success. - Content-type: application/json 
- Status Code: 500 Failure. - Content-type: application/json 
GET /rest/api/mailTemplate/getMailTemplateProperties
Mail Template API Doc, Get mail template properties
Query Params:
- mailTemplateId [{'type': 'string'}]:
Responses:
- Status Code: 200 Success. - Content-type: application/json 
- Status Code: 500 Failure. - Content-type: application/json 
POST /rest/api/mailTemplate/save
Mail Template API Doc, Save mail template
Responses:
- Status Code: 200 Success. - Content-type: application/json, - Schema: /components/schemas/BasicAjaxResponse 
- Status Code: 500 Failure. - Content-type: application/json, - Schema: /components/schemas/BasicAjaxResponse## Definitions