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": "217b089b-0350-442d-b03b-815d394ecc0e",
"ResourceTypeIdentity": "07466577-8056-47fd-9e69-fecba925a206",
"ResourceIdentities": [
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
},
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "49782fa3-67ed-4253-800e-536c975f75f7",
"ReadPermissionGroups": [
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
},
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
},
{
"Identity": "ec75196c-cfb1-4858-81a6-362bd44cf222",
"Name": "sample string 2"
}
],
"Identity": "850b3a6f-644e-404e-8902-6ad924e97460",
"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">850b3a6f-644e-404e-8902-6ad924e97460</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>ec75196c-cfb1-4858-81a6-362bd44cf222</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ec75196c-cfb1-4858-81a6-362bd44cf222</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>ec75196c-cfb1-4858-81a6-362bd44cf222</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ec75196c-cfb1-4858-81a6-362bd44cf222</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>217b089b-0350-442d-b03b-815d394ecc0e</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>49782fa3-67ed-4253-800e-536c975f75f7</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>ec75196c-cfb1-4858-81a6-362bd44cf222</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ec75196c-cfb1-4858-81a6-362bd44cf222</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>07466577-8056-47fd-9e69-fecba925a206</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": "6e1ad24a-b19d-420a-beb1-7ae03acf044b",
"ResourceTypeIdentity": "3f831acb-b451-4076-9425-3611ac7a1e9f",
"ResourceIdentities": [
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
},
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "7c1580df-d503-4e4e-88cb-82df95766769",
"ReadPermissionGroups": [
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
},
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
},
{
"Identity": "b953ff6c-97cb-4bfc-8131-711f1b80df8f",
"Name": "sample string 2"
}
],
"Identity": "0f3941d5-9d99-4411-ab4d-05a8b430ade8",
"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">0f3941d5-9d99-4411-ab4d-05a8b430ade8</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>b953ff6c-97cb-4bfc-8131-711f1b80df8f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>b953ff6c-97cb-4bfc-8131-711f1b80df8f</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>b953ff6c-97cb-4bfc-8131-711f1b80df8f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>b953ff6c-97cb-4bfc-8131-711f1b80df8f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>6e1ad24a-b19d-420a-beb1-7ae03acf044b</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>7c1580df-d503-4e4e-88cb-82df95766769</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>b953ff6c-97cb-4bfc-8131-711f1b80df8f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>b953ff6c-97cb-4bfc-8131-711f1b80df8f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>3f831acb-b451-4076-9425-3611ac7a1e9f</ResourceTypeIdentity>
</ResourceGroup>