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": [ "f102b2c6-4078-4503-81b8-a2c52a98262d", "ddc03c05-666d-4ca7-b39a-fbbd0dcdc132" ], "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>f102b2c6-4078-4503-81b8-a2c52a98262d</d2p1:guid> <d2p1:guid>ddc03c05-666d-4ca7-b39a-fbbd0dcdc132</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. |