POST api/NotificationTemplate/BookingType/CopySystemTemplates
Request Information
URI Parameters
None.
Body Parameters
NotificationTemplateCopySettingsName | 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": "16c4e03e-ecc6-44d6-871b-129c504696e4", "DestinationBookingTypeIdentities": [ "92e61004-8c71-4eb9-bcc4-d9b60b30af1c", "e838c16f-ad90-4855-b8f2-073c54d762b6" ], "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>92e61004-8c71-4eb9-bcc4-d9b60b30af1c</d2p1:guid> <d2p1:guid>e838c16f-ad90-4855-b8f2-073c54d762b6</d2p1:guid> </DestinationBookingTypeIdentities> <ExcludeContent>true</ExcludeContent> <NotificationType>sample string 3</NotificationType> <OnlyCreateMissingMetadata>true</OnlyCreateMissingMetadata> <RecipientType>sample string 2</RecipientType> <SourceBookingTypeIdentity>16c4e03e-ecc6-44d6-871b-129c504696e4</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>