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": "8a1a0522-c78f-4136-b48b-09d858cee5d9",
"ResourceTypeIdentity": "653d27c0-8abe-4d7d-b0f4-5fc246b35722",
"ResourceIdentities": [
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
},
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "3ba9219c-1089-4c8f-8478-01327bf765e3",
"ReadPermissionGroups": [
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
},
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
},
{
"Identity": "774f5a90-9548-45e2-b732-559dcd72e539",
"Name": "sample string 2"
}
],
"Identity": "a1d72412-bf15-4d23-8509-79ba73a94588",
"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">a1d72412-bf15-4d23-8509-79ba73a94588</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>774f5a90-9548-45e2-b732-559dcd72e539</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>774f5a90-9548-45e2-b732-559dcd72e539</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>774f5a90-9548-45e2-b732-559dcd72e539</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>774f5a90-9548-45e2-b732-559dcd72e539</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>8a1a0522-c78f-4136-b48b-09d858cee5d9</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>3ba9219c-1089-4c8f-8478-01327bf765e3</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>774f5a90-9548-45e2-b732-559dcd72e539</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>774f5a90-9548-45e2-b732-559dcd72e539</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>653d27c0-8abe-4d7d-b0f4-5fc246b35722</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": "c2c2e16c-cc23-492e-a17e-8027cf3de6ac",
"ResourceTypeIdentity": "957c5a3e-8c4a-47c3-a3f8-1e6df69c6af9",
"ResourceIdentities": [
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
},
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
}
],
"CanEdit": true,
"ExternalApplicationIdentity": "9b7f92a7-f5e9-468d-ba66-aaea757a2162",
"ReadPermissionGroups": [
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
},
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
},
{
"Identity": "c01861dc-a4fc-40be-8b2e-2d9ff416507f",
"Name": "sample string 2"
}
],
"Identity": "0da98d94-e827-4c2f-babc-e8472f28f9be",
"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">0da98d94-e827-4c2f-babc-e8472f28f9be</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>c01861dc-a4fc-40be-8b2e-2d9ff416507f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c01861dc-a4fc-40be-8b2e-2d9ff416507f</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>c01861dc-a4fc-40be-8b2e-2d9ff416507f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c01861dc-a4fc-40be-8b2e-2d9ff416507f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BookingTypeIdentities>c2c2e16c-cc23-492e-a17e-8027cf3de6ac</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ExternalApplicationIdentity>9b7f92a7-f5e9-468d-ba66-aaea757a2162</ExternalApplicationIdentity>
<ResourceIdentities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>c01861dc-a4fc-40be-8b2e-2d9ff416507f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>c01861dc-a4fc-40be-8b2e-2d9ff416507f</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ResourceIdentities>
<ResourceTypeIdentity>957c5a3e-8c4a-47c3-a3f8-1e6df69c6af9</ResourceTypeIdentity>
</ResourceGroup>