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": "fdf15326-ec94-469e-b278-e51653b6bf3c",
"ResourceTypeIdentity": "fb7f2b8d-0808-4b07-b147-1970189c000f",
"ResourceIdentities": [
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
},
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "8f2a865b-e401-4610-9ad5-b588f63e678b",
"ReadPermissionGroups": [
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
},
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
},
{
"Identity": "012158dc-38be-49af-a165-e0b0129df76f",
"Name": "sample string 2"
}
],
"Identity": "5dbdc049-b4c6-4361-a3e1-5af9b38d8d23",
"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">5dbdc049-b4c6-4361-a3e1-5af9b38d8d23</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>012158dc-38be-49af-a165-e0b0129df76f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>012158dc-38be-49af-a165-e0b0129df76f</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>012158dc-38be-49af-a165-e0b0129df76f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>012158dc-38be-49af-a165-e0b0129df76f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>fdf15326-ec94-469e-b278-e51653b6bf3c</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>8f2a865b-e401-4610-9ad5-b588f63e678b</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>012158dc-38be-49af-a165-e0b0129df76f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>012158dc-38be-49af-a165-e0b0129df76f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>fb7f2b8d-0808-4b07-b147-1970189c000f</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": "811664b2-7255-4212-bed8-e8e495238877",
"ResourceTypeIdentity": "1e594609-daf0-457e-bb51-993f2602eead",
"ResourceIdentities": [
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
},
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "0ce6f040-64c6-4fec-a9db-d60bc6e7b5a2",
"ReadPermissionGroups": [
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
},
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
},
{
"Identity": "1d22b348-6369-4a8f-8394-45c1c372614d",
"Name": "sample string 2"
}
],
"Identity": "fadcb068-ae52-4a24-ad2c-90d9cf0ade0c",
"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">fadcb068-ae52-4a24-ad2c-90d9cf0ade0c</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>1d22b348-6369-4a8f-8394-45c1c372614d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>1d22b348-6369-4a8f-8394-45c1c372614d</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>1d22b348-6369-4a8f-8394-45c1c372614d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>1d22b348-6369-4a8f-8394-45c1c372614d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>811664b2-7255-4212-bed8-e8e495238877</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>0ce6f040-64c6-4fec-a9db-d60bc6e7b5a2</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>1d22b348-6369-4a8f-8394-45c1c372614d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>1d22b348-6369-4a8f-8394-45c1c372614d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>1e594609-daf0-457e-bb51-993f2602eead</ResourceTypeIdentity>
</ResourceGroup>