GET api/NotificationTemplate/Template/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
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": "1db2fcba-7e9e-47f9-ab50-12b8314bd01f", "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": "ae782d76-c38a-4316-bef5-9e116c8a4562" }
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>ae782d76-c38a-4316-bef5-9e116c8a4562</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>1db2fcba-7e9e-47f9-ab50-12b8314bd01f</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>