PUT api/NotificationTemplate/Template/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

NotificationTemplate
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

Name

string

None.

SubjectLine

string

None.

Options

Collection of string

None.

Conditionals

Collection of string

None.

ToEmailList

Collection of string

None.

CcEmailList

Collection of string

None.

BccEmailList

Collection of string

None.

Content

string

None.

FromEmail

string

None.

IsSystemTemplate

boolean

None.

RecipientType

string

None.

SendEmail

boolean

None.

BookingTypeIdentity

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Identity": "19ebe116-97e9-4e69-8f90-98148765e891",
  "Name": "sample string 2",
  "SubjectLine": "sample string 3",
  "Options": [
    "sample string 1",
    "sample string 2"
  ],
  "Conditionals": [
    "sample string 1",
    "sample string 2"
  ],
  "ToEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "CcEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "BccEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "Content": "sample string 4",
  "FromEmail": "sample string 5",
  "IsSystemTemplate": true,
  "RecipientType": "sample string 7",
  "SendEmail": true,
  "BookingTypeIdentity": "65f2f84d-9f6b-4395-b135-b7391182f97b"
}

application/xml, text/xml

Sample:
<NotificationTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <BccEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BccEmailList>
  <BookingTypeIdentity>65f2f84d-9f6b-4395-b135-b7391182f97b</BookingTypeIdentity>
  <CcEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CcEmailList>
  <Conditionals xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Conditionals>
  <Content>sample string 4</Content>
  <FromEmail>sample string 5</FromEmail>
  <Identity>19ebe116-97e9-4e69-8f90-98148765e891</Identity>
  <IsSystemTemplate>true</IsSystemTemplate>
  <Name>sample string 2</Name>
  <Options xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Options>
  <RecipientType>sample string 7</RecipientType>
  <SendEmail>true</SendEmail>
  <SubjectLine>sample string 3</SubjectLine>
  <ToEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ToEmailList>
</NotificationTemplate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificationTemplate
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

Name

string

None.

SubjectLine

string

None.

Options

Collection of string

None.

Conditionals

Collection of string

None.

ToEmailList

Collection of string

None.

CcEmailList

Collection of string

None.

BccEmailList

Collection of string

None.

Content

string

None.

FromEmail

string

None.

IsSystemTemplate

boolean

None.

RecipientType

string

None.

SendEmail

boolean

None.

BookingTypeIdentity

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Identity": "3ffe1f1b-1492-4d8d-87ea-f4a09cb0e1cb",
  "Name": "sample string 2",
  "SubjectLine": "sample string 3",
  "Options": [
    "sample string 1",
    "sample string 2"
  ],
  "Conditionals": [
    "sample string 1",
    "sample string 2"
  ],
  "ToEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "CcEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "BccEmailList": [
    "sample string 1",
    "sample string 2"
  ],
  "Content": "sample string 4",
  "FromEmail": "sample string 5",
  "IsSystemTemplate": true,
  "RecipientType": "sample string 7",
  "SendEmail": true,
  "BookingTypeIdentity": "6adb415f-b10c-4927-8da2-6c268c1484ba"
}

application/xml, text/xml

Sample:
<NotificationTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <BccEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BccEmailList>
  <BookingTypeIdentity>6adb415f-b10c-4927-8da2-6c268c1484ba</BookingTypeIdentity>
  <CcEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CcEmailList>
  <Conditionals xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Conditionals>
  <Content>sample string 4</Content>
  <FromEmail>sample string 5</FromEmail>
  <Identity>3ffe1f1b-1492-4d8d-87ea-f4a09cb0e1cb</Identity>
  <IsSystemTemplate>true</IsSystemTemplate>
  <Name>sample string 2</Name>
  <Options xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Options>
  <RecipientType>sample string 7</RecipientType>
  <SendEmail>true</SendEmail>
  <SubjectLine>sample string 3</SubjectLine>
  <ToEmailList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ToEmailList>
</NotificationTemplate>