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": "eb15126b-a8c7-4167-a36d-42c34183eb13",
"ResourceTypeIdentity": "5495cbd1-6ca7-46e1-b90a-3241346af1b1",
"ResourceIdentities": [
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
},
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "02aed554-fff8-4250-bb4d-626f1c1cbdc3",
"ReadPermissionGroups": [
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
},
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
},
{
"Identity": "60d4060a-d14e-4c79-8a0f-0f5f477646fa",
"Name": "sample string 2"
}
],
"Identity": "98b4bd19-fdc4-4e40-b83f-96efa21931e0",
"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">98b4bd19-fdc4-4e40-b83f-96efa21931e0</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>60d4060a-d14e-4c79-8a0f-0f5f477646fa</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>60d4060a-d14e-4c79-8a0f-0f5f477646fa</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>60d4060a-d14e-4c79-8a0f-0f5f477646fa</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>60d4060a-d14e-4c79-8a0f-0f5f477646fa</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>eb15126b-a8c7-4167-a36d-42c34183eb13</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>02aed554-fff8-4250-bb4d-626f1c1cbdc3</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>60d4060a-d14e-4c79-8a0f-0f5f477646fa</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>60d4060a-d14e-4c79-8a0f-0f5f477646fa</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>5495cbd1-6ca7-46e1-b90a-3241346af1b1</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": "db78047c-e7b4-4060-bdd6-8e525ec5c745",
"ResourceTypeIdentity": "0aaf3978-53e8-4cfb-a436-6e686cdadef6",
"ResourceIdentities": [
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
},
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "cd972b21-72ca-4483-8de2-9a354989ccdc",
"ReadPermissionGroups": [
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
},
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
},
{
"Identity": "9661f392-ecbe-4158-b549-5ecffa9f97a7",
"Name": "sample string 2"
}
],
"Identity": "a04abeae-00f9-4f7c-b4ec-7537c7b580dd",
"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">a04abeae-00f9-4f7c-b4ec-7537c7b580dd</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>9661f392-ecbe-4158-b549-5ecffa9f97a7</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>9661f392-ecbe-4158-b549-5ecffa9f97a7</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>9661f392-ecbe-4158-b549-5ecffa9f97a7</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>9661f392-ecbe-4158-b549-5ecffa9f97a7</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>db78047c-e7b4-4060-bdd6-8e525ec5c745</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>cd972b21-72ca-4483-8de2-9a354989ccdc</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>9661f392-ecbe-4158-b549-5ecffa9f97a7</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>9661f392-ecbe-4158-b549-5ecffa9f97a7</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>0aaf3978-53e8-4cfb-a436-6e686cdadef6</ResourceTypeIdentity>
</ResourceGroup>