PUT api/ResourceTypes/{resourceTypeIdentity}/ResourceGroups/{identity}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| resourceTypeIdentity | string |
Required |
|
| identity | string |
Required |
Body Parameters
ResourceGroup| Name | Description | Type | Additional 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": "2a0eb5d6-aa56-4afb-8261-2eb79d0f9f52",
"ResourceTypeIdentity": "0c78b2cb-7a8f-4d48-a46b-0c257e04d1e4",
"ResourceIdentities": [
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
},
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "f85170e5-4e1d-41ac-b46b-d461a6b5f43c",
"ReadPermissionGroups": [
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
},
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
},
{
"Identity": "04a3a67c-f314-4e89-9725-d7c0ccde24e3",
"Name": "sample string 2"
}
],
"Identity": "be3ef79b-db2f-4580-84c8-c12d330ffc0d",
"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">be3ef79b-db2f-4580-84c8-c12d330ffc0d</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>04a3a67c-f314-4e89-9725-d7c0ccde24e3</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>04a3a67c-f314-4e89-9725-d7c0ccde24e3</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>04a3a67c-f314-4e89-9725-d7c0ccde24e3</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>04a3a67c-f314-4e89-9725-d7c0ccde24e3</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>2a0eb5d6-aa56-4afb-8261-2eb79d0f9f52</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>f85170e5-4e1d-41ac-b46b-d461a6b5f43c</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>04a3a67c-f314-4e89-9725-d7c0ccde24e3</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>04a3a67c-f314-4e89-9725-d7c0ccde24e3</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>0c78b2cb-7a8f-4d48-a46b-0c257e04d1e4</ResourceTypeIdentity>
</ResourceGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResourceGroup| Name | Description | Type | Additional 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": "b186109e-2ae0-445f-93fc-151943b4dc1d",
"ResourceTypeIdentity": "44c20e4c-9405-4847-83f7-c38b2a8328b7",
"ResourceIdentities": [
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
},
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "b42700f6-6709-4317-90c6-4f1f6e758d76",
"ReadPermissionGroups": [
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
},
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
},
{
"Identity": "c5760094-0ae6-450f-a79c-b5a84bc5026b",
"Name": "sample string 2"
}
],
"Identity": "ca2bde52-89d6-4e2e-9eb5-83c106ec5fae",
"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">ca2bde52-89d6-4e2e-9eb5-83c106ec5fae</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>c5760094-0ae6-450f-a79c-b5a84bc5026b</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c5760094-0ae6-450f-a79c-b5a84bc5026b</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>c5760094-0ae6-450f-a79c-b5a84bc5026b</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c5760094-0ae6-450f-a79c-b5a84bc5026b</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>b186109e-2ae0-445f-93fc-151943b4dc1d</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>b42700f6-6709-4317-90c6-4f1f6e758d76</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>c5760094-0ae6-450f-a79c-b5a84bc5026b</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c5760094-0ae6-450f-a79c-b5a84bc5026b</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>44c20e4c-9405-4847-83f7-c38b2a8328b7</ResourceTypeIdentity>
</ResourceGroup>