POST api/NotificationTemplate/BookingType/CopySystemTemplate
Request Information
URI Parameters
None.
Body Parameters
NotificationTemplateCopySettings| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceBookingTypeIdentity | globally unique identifier |
None. |
|
| DestinationBookingTypeIdentities | Collection of globally unique identifier |
None. |
|
| RecipientType | string |
None. |
|
| NotificationType | string |
None. |
|
| ExcludeContent | boolean |
None. |
|
| CopySchemaOnly | boolean |
None. |
|
| BypassExistingMetadata | boolean |
None. |
|
| OnlyCreateMissingMetadata | boolean |
None. |
|
| IsSystemCopy | boolean |
None. |
|
| AllRecipientCopyIsValid | boolean |
None. |
|
| SingleTemplateCopyIsValid | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SourceBookingTypeIdentity": "f3a5571a-8f71-4fea-82a6-a0ba92b6fae3",
"DestinationBookingTypeIdentities": [
"71d73589-5b83-4a25-9b7c-e341ebf63e0f",
"bb907ea5-9757-41c7-b8dd-c11775341ae9"
],
"RecipientType": "sample string 2",
"NotificationType": "sample string 3",
"ExcludeContent": true,
"CopySchemaOnly": true,
"BypassExistingMetadata": true,
"OnlyCreateMissingMetadata": true,
"IsSystemCopy": false,
"AllRecipientCopyIsValid": true,
"SingleTemplateCopyIsValid": true
}
application/xml, text/xml
Sample:
<NotificationTemplateCopySettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<BypassExistingMetadata>true</BypassExistingMetadata>
<CopySchemaOnly>true</CopySchemaOnly>
<DestinationBookingTypeIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>71d73589-5b83-4a25-9b7c-e341ebf63e0f</d2p1:guid>
<d2p1:guid>bb907ea5-9757-41c7-b8dd-c11775341ae9</d2p1:guid>
</DestinationBookingTypeIdentities>
<ExcludeContent>true</ExcludeContent>
<NotificationType>sample string 3</NotificationType>
<OnlyCreateMissingMetadata>true</OnlyCreateMissingMetadata>
<RecipientType>sample string 2</RecipientType>
<SourceBookingTypeIdentity>f3a5571a-8f71-4fea-82a6-a0ba92b6fae3</SourceBookingTypeIdentity>
</NotificationTemplateCopySettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>