GET api/NotificationTemplate/BookingType/{bookingTypeId}/Template/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingTypeId | string |
Required |
|
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": "0f906db0-2ba5-4ed9-824f-856dac5c4b5e", "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": "da9dc7e3-f55c-4007-865f-2d42794c389c" }
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>da9dc7e3-f55c-4007-865f-2d42794c389c</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>0f906db0-2ba5-4ed9-824f-856dac5c4b5e</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>