POST api/ResourceTypes/{resourceTypeIdentity}/ResourceGroups
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| resourceTypeIdentity | 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": "49ac1bb5-b95c-45c1-aedc-070982535fab",
"ResourceTypeIdentity": "b2ced42c-3bb3-4dad-9dd6-734f1095f98a",
"ResourceIdentities": [
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
},
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "03f3ae37-fa68-4774-987c-b00a70a33767",
"ReadPermissionGroups": [
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
},
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
},
{
"Identity": "e9f1a53b-dc38-4efb-884e-cf402ccbe010",
"Name": "sample string 2"
}
],
"Identity": "717a14b9-6fa5-4ed4-b18d-0a8cd7a318b9",
"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">717a14b9-6fa5-4ed4-b18d-0a8cd7a318b9</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>e9f1a53b-dc38-4efb-884e-cf402ccbe010</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>e9f1a53b-dc38-4efb-884e-cf402ccbe010</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>e9f1a53b-dc38-4efb-884e-cf402ccbe010</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>e9f1a53b-dc38-4efb-884e-cf402ccbe010</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>49ac1bb5-b95c-45c1-aedc-070982535fab</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>03f3ae37-fa68-4774-987c-b00a70a33767</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>e9f1a53b-dc38-4efb-884e-cf402ccbe010</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>e9f1a53b-dc38-4efb-884e-cf402ccbe010</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>b2ced42c-3bb3-4dad-9dd6-734f1095f98a</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": "5905b28f-e135-402f-b610-ea1e043a631f",
"ResourceTypeIdentity": "ea99b38d-f125-47d0-aa47-64d20443b764",
"ResourceIdentities": [
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
},
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "5f897a4c-6538-45be-8788-9f8dadc6f712",
"ReadPermissionGroups": [
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
},
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
},
{
"Identity": "226ac81f-9b40-406e-865a-2bec5cddb631",
"Name": "sample string 2"
}
],
"Identity": "1b057a2e-b548-4cd7-8a3f-331676b24aa0",
"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">1b057a2e-b548-4cd7-8a3f-331676b24aa0</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>226ac81f-9b40-406e-865a-2bec5cddb631</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>226ac81f-9b40-406e-865a-2bec5cddb631</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>226ac81f-9b40-406e-865a-2bec5cddb631</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>226ac81f-9b40-406e-865a-2bec5cddb631</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>5905b28f-e135-402f-b610-ea1e043a631f</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>5f897a4c-6538-45be-8788-9f8dadc6f712</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>226ac81f-9b40-406e-865a-2bec5cddb631</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>226ac81f-9b40-406e-865a-2bec5cddb631</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>ea99b38d-f125-47d0-aa47-64d20443b764</ResourceTypeIdentity>
</ResourceGroup>