Method DeleteMailTemplate
DeleteMailTemplate(String, String)
Delete a mail template
Declaration
void DeleteMailTemplate(string connectionId, string mailTemplateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | mailTemplateId | The mail template id. See also Id |
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteMailTemplate
Example for delete a mail template.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"mailTemplateId": "6dab65c0-eee0-e911-a94b-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Can not delete {ObjectType} {ObjectName} {ObjectId} because it is still in use in {ObjectType} {ObjectName} {ObjectId}. (10233) |