PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{resourceIdentity}/LinkAvailabilityPatterns
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
resourceTypeIdentity | string |
Required |
|
resourceIdentity | 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": [ "e51c438b-5f17-4e7d-84a2-bb13d80ba1b0", "1abb9be9-e073-4100-8f2f-1e7c90eeb1f4" ], "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>e51c438b-5f17-4e7d-84a2-bb13d80ba1b0</d2p1:guid> <d2p1:guid>1abb9be9-e073-4100-8f2f-1e7c90eeb1f4</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. |