Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get Details of an Email Template

 

Use this API to retrieve details of an e-mail template.

URI

https://[host]/api/juniper/servicenow/emailTemplate-management/emailTemplates/{id} (HTTP method = GET)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the e-mail template whose details are to be retireved

Consumes

None

Produces

  • application/vnd.juniper.servicenow.emailTemplate-management.emailTemplate +xml;version=1

  • application/vnd.juniper.servicenow.emailTemplate-management.emailTemplate +json;version=1

Response Elements

Element

Type

Description

uri

String

URI of the e-mail template

id

Integer

ID of the e-mail template

tempalateName

String

Name of the e-mail template

description

String

Description of the e-mail template

createdBy

String

Username of the user who created the e-mail template

lastUpdateTime

String

Date and time the e-mail template was last modified

subject

String

Subject of the e-mail template

templateContents

String

Contents of the e-mail template

templateVariables

String

Variables in the e-mail template

method

String

Method applicable to the e-mail template

Sample Output

Sample XML Output

Sample JSON Output