Methods / Methods for Email Templates |
REST
POST
Removes an email template from the AgilePoint database.
https://[domain]:[port]/AgilePointServer/Admin/UpdateEMailTemplate/[mailTemplateID]
https://[domain]:[port]/AgilePointService/Admin/UpdateEMailTemplate/[mailTemplateID]
Name | Description |
---|---|
mailTemplateID |
|
$("#btnRemoveEMailTemplate").click(function () { $.ajax({ url: "https://mydomain:9011/AgilePointServer/Admin/ RemoveEMailTemplate/C769BA234EFD421B8B95A525B972E511" }); });
public String RemoveEMailTemplate(String mailTemplateID) { String URI = "http://mydomain:9011/AgilePointServer/Admin/RemoveEMailTemplate/" + mailTemplateID; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); JSONObject postData = new JSONObject(); return ops.POSTMethod(URI, postData.toString()); }
public string RemoveEMailTemplate() { string URI = "http://mydomain:9011/AgilePointServer/Admin/ RemoveEMailTemplate/C769BA234EFD421B8B95A525B972E511"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.POSTMethod(URI, ""); }
A Boolean value: True or False.
True
AgilePoint BPMS v5.0 R2 and higher