PUT api/ResourceTypes/{resourceTypeIdentity}/ResourceGroups/{identity}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceTypeIdentity

string

Required

identity

string

Required

Body Parameters

ResourceGroup
NameDescriptionTypeAdditional information
Description

string

None.

BookingTypeIdentities

globally unique identifier

None.

ResourceTypeIdentity

globally unique identifier

None.

ResourceIdentities

Collection of NamedObject

None.

CanEdit

boolean

None.

ExternalApplicationIdentity

globally unique identifier

None.

ReadPermissionGroups

Collection of NamedObject

None.

WritePermissionGroups

Collection of NamedObject

None.

Identity

globally unique identifier

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "BookingTypeIdentities": "87cdb088-acba-4f25-8e03-6292532b206c",
  "ResourceTypeIdentity": "6835f123-5794-4431-9471-48c85f21440d",
  "ResourceIdentities": [
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    },
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    }
  ],
  "CanEdit": true,
  "ExternalApplicationIdentity": "7438c593-dd3a-44ed-bfef-8b2964e37822",
  "ReadPermissionGroups": [
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    },
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    }
  ],
  "WritePermissionGroups": [
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    },
    {
      "Identity": "aa6828e8-c85e-4fed-9f1b-cd375e3a3284",
      "Name": "sample string 2"
    }
  ],
  "Identity": "5c85ed81-b02d-4b00-80a1-a7a5802c719c",
  "Name": "sample string 6"
}

application/xml, text/xml

Sample:
<ResourceGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">5c85ed81-b02d-4b00-80a1-a7a5802c719c</Identity>
  <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 6</Name>
  <ReadPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </ReadPermissionGroups>
  <WritePermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </WritePermissionGroups>
  <BookingTypeIdentities>87cdb088-acba-4f25-8e03-6292532b206c</BookingTypeIdentities>
  <CanEdit>true</CanEdit>
  <Description>sample string 1</Description>
  <ExternalApplicationIdentity>7438c593-dd3a-44ed-bfef-8b2964e37822</ExternalApplicationIdentity>
  <ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>aa6828e8-c85e-4fed-9f1b-cd375e3a3284</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </ResourceIdentities>
  <ResourceTypeIdentity>6835f123-5794-4431-9471-48c85f21440d</ResourceTypeIdentity>
</ResourceGroup>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResourceGroup
NameDescriptionTypeAdditional information
Description

string

None.

BookingTypeIdentities

globally unique identifier

None.

ResourceTypeIdentity

globally unique identifier

None.

ResourceIdentities

Collection of NamedObject

None.

CanEdit

boolean

None.

ExternalApplicationIdentity

globally unique identifier

None.

ReadPermissionGroups

Collection of NamedObject

None.

WritePermissionGroups

Collection of NamedObject

None.

Identity

globally unique identifier

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "BookingTypeIdentities": "61894e6b-0327-4e86-a7f4-09b765ba0f06",
  "ResourceTypeIdentity": "025f5cd8-dcc0-4212-a010-92c5b4704305",
  "ResourceIdentities": [
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    },
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    }
  ],
  "CanEdit": true,
  "ExternalApplicationIdentity": "0cb2b2a6-d013-46f7-9abe-3e1b6508b89d",
  "ReadPermissionGroups": [
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    },
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    }
  ],
  "WritePermissionGroups": [
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    },
    {
      "Identity": "be2beb6d-dcc7-40ee-a2e0-e557f81285e9",
      "Name": "sample string 2"
    }
  ],
  "Identity": "4f31248b-42e4-4409-8e87-cea2d2b63ed7",
  "Name": "sample string 6"
}

application/xml, text/xml

Sample:
<ResourceGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">4f31248b-42e4-4409-8e87-cea2d2b63ed7</Identity>
  <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 6</Name>
  <ReadPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </ReadPermissionGroups>
  <WritePermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </WritePermissionGroups>
  <BookingTypeIdentities>61894e6b-0327-4e86-a7f4-09b765ba0f06</BookingTypeIdentities>
  <CanEdit>true</CanEdit>
  <Description>sample string 1</Description>
  <ExternalApplicationIdentity>0cb2b2a6-d013-46f7-9abe-3e1b6508b89d</ExternalApplicationIdentity>
  <ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
    <d2p1:NamedObject>
      <d2p1:Identity>be2beb6d-dcc7-40ee-a2e0-e557f81285e9</d2p1:Identity>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:NamedObject>
  </ResourceIdentities>
  <ResourceTypeIdentity>025f5cd8-dcc0-4212-a010-92c5b4704305</ResourceTypeIdentity>
</ResourceGroup>