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": "017952f7-fc38-46fe-a271-4f8ad826a61a",
"ResourceTypeIdentity": "2abf91ef-22a5-4b18-878b-10c79af55e80",
"ResourceIdentities": [
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
},
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "9bb47b55-bf5f-4ad4-874c-fa926388894a",
"ReadPermissionGroups": [
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
},
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
},
{
"Identity": "49bc518b-159c-4f44-8a74-03310f2cb6eb",
"Name": "sample string 2"
}
],
"Identity": "8def43eb-703c-4eda-b18a-55a6215210c7",
"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">8def43eb-703c-4eda-b18a-55a6215210c7</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>49bc518b-159c-4f44-8a74-03310f2cb6eb</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>49bc518b-159c-4f44-8a74-03310f2cb6eb</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>49bc518b-159c-4f44-8a74-03310f2cb6eb</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>49bc518b-159c-4f44-8a74-03310f2cb6eb</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>017952f7-fc38-46fe-a271-4f8ad826a61a</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>9bb47b55-bf5f-4ad4-874c-fa926388894a</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>49bc518b-159c-4f44-8a74-03310f2cb6eb</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>49bc518b-159c-4f44-8a74-03310f2cb6eb</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>2abf91ef-22a5-4b18-878b-10c79af55e80</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": "53397207-6de6-4a1a-8bff-01eb0e489f46",
"ResourceTypeIdentity": "8d8bb249-05c2-4250-9b65-06374a79eadb",
"ResourceIdentities": [
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
},
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "4d329404-12ff-4477-b9f4-4f6533f8d710",
"ReadPermissionGroups": [
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
},
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
},
{
"Identity": "a56efa0d-a901-4461-b10e-f328f7a05f43",
"Name": "sample string 2"
}
],
"Identity": "8b9fc760-0bbb-40cc-a0b7-a85b60e2b7d9",
"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">8b9fc760-0bbb-40cc-a0b7-a85b60e2b7d9</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>a56efa0d-a901-4461-b10e-f328f7a05f43</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>a56efa0d-a901-4461-b10e-f328f7a05f43</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>a56efa0d-a901-4461-b10e-f328f7a05f43</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>a56efa0d-a901-4461-b10e-f328f7a05f43</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>53397207-6de6-4a1a-8bff-01eb0e489f46</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>4d329404-12ff-4477-b9f4-4f6533f8d710</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>a56efa0d-a901-4461-b10e-f328f7a05f43</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>a56efa0d-a901-4461-b10e-f328f7a05f43</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>8d8bb249-05c2-4250-9b65-06374a79eadb</ResourceTypeIdentity>
</ResourceGroup>