get_email_template

The get_email_template method is used to get an email template (subject and body).

Copied!
svc=resource/get_email_template&params={"resourceId":<long>}

Parameters

Name Description
resourceId Resource ID.

Returned result

Copied!
{
	"subject":"<text>",
	"body":"<text>",
	"flags":<int>
}

Possible error codes:

Code Description
7 The resource doesn’t exist, or the user doesn’t have the View detailed object properties access right to it.
4 Wrong input parameters.

If you find a mistake in the text, please select it and press Ctrl+Enter.