PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{resourceIdentity}/LinkAvailabilityPatterns

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceTypeIdentity

string

Required

resourceIdentity

string

Required

Body Parameters

AvailabilityPatternAssignment
NameDescriptionTypeAdditional information
AvailabilityPatternIdentities

Collection of globally unique identifier

None.

EntityType

integer

None.

CopyFunction

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AvailabilityPatternIdentities": [
    "a8cbe5f7-e432-4384-895c-db21e82fc31b",
    "1c29eac1-7708-4c0c-842a-db7fe6d85a3e"
  ],
  "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>a8cbe5f7-e432-4384-895c-db21e82fc31b</d2p1:guid>
    <d2p1:guid>1c29eac1-7708-4c0c-842a-db7fe6d85a3e</d2p1:guid>
  </AvailabilityPatternIdentities>
  <CopyFunction>2</CopyFunction>
  <EntityType>1</EntityType>
</AvailabilityPatternAssignment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.