Save notification template

Add or update a notification template

Request
Security:
vc-security
Request Body schema: application/json
id
integer <int64>
name
string
nameKey
string

A unique name of this template

active
boolean
Default: false
templateVersion
string
provider
string (TemplateProvider)

The template provider

Enum: "INTERNAL" "SENDGRID" "TWILIO"
providerTemplateId
string
providerVersionId
string
locale
string
subject
string
content
string
shortSubject
string
shortDescription
string
relatedProductName
string
createdBy
string
createdInstant
string <date-time>
lastUpdatedBy
string
lastUpdatedInstant
string <date-time>
Responses
200

OK

401

Unauthorized request

post/notification-service/v1/template
Request 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"
}
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"
}