PUT api/NotificationTemplate/Template/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
NotificationTemplateName | Description | Type | Additional 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": "b014205a-0240-4125-bf75-63c212d23890", "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": "f2c92723-98df-4124-abe8-319e647225b3" }
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>f2c92723-98df-4124-abe8-319e647225b3</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>b014205a-0240-4125-bf75-63c212d23890</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
NotificationTemplateName | Description | Type | Additional 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": "b97f52de-d9d3-4dcd-8557-a43f86246dbe", "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": "b4840b86-898c-4d9b-b5c1-818bdf763c8e" }
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>b4840b86-898c-4d9b-b5c1-818bdf763c8e</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>b97f52de-d9d3-4dcd-8557-a43f86246dbe</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>