PUT api/BookingTypes/{bookingTypeIdentity}/LinkAvailabilityPatterns
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": [ "19688150-0f63-4748-b13d-4199667cb2c5", "2bdb8c88-0bc3-4a23-9df2-085976c669ba" ], "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>19688150-0f63-4748-b13d-4199667cb2c5</d2p1:guid> <d2p1:guid>2bdb8c88-0bc3-4a23-9df2-085976c669ba</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. |