diff --git a/client/src/account/API.js b/client/src/account/API.js index a9d1ac9e..b57c04d4 100644 --- a/client/src/account/API.js +++ b/client/src/account/API.js @@ -368,6 +368,35 @@ export default class API extends Component {
curl -XGET '{getUrl(`api/rss/fetch/5OOnZKrp0?access_token=${accessToken}`)}'
+
+ + {t('sendSingleEmailByTemplateId')} +
+ ++ GET {t('arguments')} +
++ POST {t('arguments')} +
++ {t('example')} +
+ +curl -XPOST '{getUrl(`api/templates/1/send?access_token={accessToken}`)}' \
+--data 'EMAIL=test@example.com&SUBJECT=Test&VARIABLES[FOO]=bar&VARIABLES[TEST]=example'
);
}
diff --git a/locales/en-US/common.json b/locales/en-US/common.json
index ee60a4de..a5a10b28 100644
--- a/locales/en-US/common.json
+++ b/locales/en-US/common.json
@@ -964,5 +964,8 @@
"thePasswordMustContainAtLeastOne": "The password must contain at least one lowercase letter",
"thePasswordMustContainAtLeastOne-1": "The password must contain at least one uppercase letter",
"thePasswordMustContainAtLeastOneNumber": "The password must contain at least one number",
- "thePasswordMustContainAtLeastOneSpecial": "The password must contain at least one special character"
+ "thePasswordMustContainAtLeastOneSpecial": "The password must contain at least one special character",
+ "templateVariables": "Map of template variables to replace",
+ "sendTransactionalEmail": "Send transactional email",
+ "sendSingleEmailByTemplateId": "Send single template by :templateId"
}
\ No newline at end of file
diff --git a/locales/es-ES/common.json b/locales/es-ES/common.json
index 980002e1..4a83ea90 100644
--- a/locales/es-ES/common.json
+++ b/locales/es-ES/common.json
@@ -964,6 +964,9 @@
"thePasswordMustContainAtLeastOne": "The password must contain at least one lowercase letter",
"thePasswordMustContainAtLeastOne-1": "The password must contain at least one uppercase letter",
"thePasswordMustContainAtLeastOneNumber": "The password must contain at least one number",
- "thePasswordMustContainAtLeastOneSpecial": "The password must contain at least one special character"
+ "thePasswordMustContainAtLeastOneSpecial": "The password must contain at least one special character",
+ "templateVariables": "Map of template variables to replace",
+ "sendTransactionalEmail": "Send transactional email",
+ "sendSingleEmailByTemplateId": "Send single template by :templateId"
}
\ No newline at end of file