GET api/NotificationTemplate/BookingType/{bookingTypeId}/TemplateInfos
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationTemplateInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Identity | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| SendEmail | boolean |
None. |
|
| RecipientType | string |
None. |
|
| NotificationType | string |
None. |
|
| BookingTypeIdentity | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Identity": "e0f0f9a7-bcc7-44e8-bfeb-6b5591baf1a4",
"Name": "sample string 2",
"SendEmail": true,
"RecipientType": "sample string 4",
"NotificationType": "sample string 5",
"BookingTypeIdentity": "c4ab62f8-be28-45c9-ab41-fc5381a3ed3d"
},
{
"Identity": "e0f0f9a7-bcc7-44e8-bfeb-6b5591baf1a4",
"Name": "sample string 2",
"SendEmail": true,
"RecipientType": "sample string 4",
"NotificationType": "sample string 5",
"BookingTypeIdentity": "c4ab62f8-be28-45c9-ab41-fc5381a3ed3d"
}
]
application/xml, text/xml
Sample:
<ArrayOfNotificationTemplateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<NotificationTemplateInfo>
<BookingTypeIdentity>c4ab62f8-be28-45c9-ab41-fc5381a3ed3d</BookingTypeIdentity>
<Identity>e0f0f9a7-bcc7-44e8-bfeb-6b5591baf1a4</Identity>
<Name>sample string 2</Name>
<NotificationType>sample string 5</NotificationType>
<RecipientType>sample string 4</RecipientType>
<SendEmail>true</SendEmail>
</NotificationTemplateInfo>
<NotificationTemplateInfo>
<BookingTypeIdentity>c4ab62f8-be28-45c9-ab41-fc5381a3ed3d</BookingTypeIdentity>
<Identity>e0f0f9a7-bcc7-44e8-bfeb-6b5591baf1a4</Identity>
<Name>sample string 2</Name>
<NotificationType>sample string 5</NotificationType>
<RecipientType>sample string 4</RecipientType>
<SendEmail>true</SendEmail>
</NotificationTemplateInfo>
</ArrayOfNotificationTemplateInfo>