Get active notification template

Gets the active notification template by nameKey and locale. This method will update the template content/subject

Request
Security:
vc-security
path Parameters
name-key
required
string
locale
required
string
Responses
200

A notification template object

401

Unauthorized request

404

Not Found. The specified resource (or resource referred to by id) was not found

get/notification-service/v1/templates/{name-key}/locales/{locale}
Request samples
curl -i -X GET \
  'http://notification-service:8080/notification-service/v1/templates/{name-key}/locales/{locale}' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "id": 0,
  • "name": "string",
  • "nameKey": "string",
  • "active": false,
  • "templateVersion": "string",
  • "provider": "INTERNAL",
  • "providerTemplateId": "string",
  • "providerVersionId": "string",
  • "locale": "string",
  • "subject": "string",
  • "content": "string",
  • "shortSubject": "string",
  • "shortDescription": "string",
  • "relatedProductName": "string",
  • "createdBy": "string",
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "lastUpdatedBy": "string",
  • "lastUpdatedInstant": "2019-08-24T14:15:22Z"
}