PUT api/BookingTypes/{bookingTypeIdentity}/CopyAvailabilityPatterns
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingTypeIdentity | string |
Required |
Body Parameters
AvailabilityPatternAssignmentName | Description | Type | Additional information |
---|---|---|---|
AvailabilityPatternIdentities | Collection of globally unique identifier |
None. |
|
EntityType | integer |
None. |
|
CopyFunction | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AvailabilityPatternIdentities": [ "54dc2ed1-01fa-4b55-936a-8a6933eca03a", "8068a2c5-497c-452c-b747-c898cde15b19" ], "EntityType": 1, "CopyFunction": 2 }
application/xml, text/xml
Sample:
<AvailabilityPatternAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <AvailabilityPatternIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>54dc2ed1-01fa-4b55-936a-8a6933eca03a</d2p1:guid> <d2p1:guid>8068a2c5-497c-452c-b747-c898cde15b19</d2p1:guid> </AvailabilityPatternIdentities> <CopyFunction>2</CopyFunction> <EntityType>1</EntityType> </AvailabilityPatternAssignment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |