GET api/BookingRequests/{id}/CheckResourceRestrictions
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingRequestEditRestrictions| Name | Description | Type | Additional information |
|---|---|---|---|
| Identity | globally unique identifier |
None. |
|
| EditRestrictions | Collection of BookingRequestEditRestriction |
None. |
|
| RefittedResources | Collection of BookingResource |
None. |
Response Formats
application/json, text/json
Sample:
{
"Identity": "67880224-7370-46b3-8347-8e3defaff0ac",
"EditRestrictions": [
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "5781092e-a85d-4f26-a12f-f94231fe8111",
"Name": "sample string 2"
},
{
"Identity": "5781092e-a85d-4f26-a12f-f94231fe8111",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
},
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "5781092e-a85d-4f26-a12f-f94231fe8111",
"Name": "sample string 2"
},
{
"Identity": "5781092e-a85d-4f26-a12f-f94231fe8111",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
}
],
"RefittedResources": [
{
"ResourceTypeIdentity": "e03448bf-c6be-40ac-ba4a-f15c04bd3228",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "9d7b88b4-d3a8-41ad-bc80-87a929e5a3bf",
"ResourceRestrictionIdentity": "6e96c808-98df-45a5-b382-18932f7b8b4a",
"IsPrimary": true,
"Identity": "0df0bb46-89c6-4dc8-a85b-cac01bf82d66",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "e03448bf-c6be-40ac-ba4a-f15c04bd3228",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "9d7b88b4-d3a8-41ad-bc80-87a929e5a3bf",
"ResourceRestrictionIdentity": "6e96c808-98df-45a5-b382-18932f7b8b4a",
"IsPrimary": true,
"Identity": "0df0bb46-89c6-4dc8-a85b-cac01bf82d66",
"Name": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<BookingRequestEditRestrictions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<EditRestrictions>
<BookingRequestEditRestriction>
<AffectedResources xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>5781092e-a85d-4f26-a12f-f94231fe8111</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>5781092e-a85d-4f26-a12f-f94231fe8111</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</AffectedResources>
<AllowEdit>true</AllowEdit>
<AppliesToSingleOccurrenceUpdateOnly>true</AppliesToSingleOccurrenceUpdateOnly>
<Message>sample string 2</Message>
<MessageKey>sample string 1</MessageKey>
</BookingRequestEditRestriction>
<BookingRequestEditRestriction>
<AffectedResources xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>5781092e-a85d-4f26-a12f-f94231fe8111</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>5781092e-a85d-4f26-a12f-f94231fe8111</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</AffectedResources>
<AllowEdit>true</AllowEdit>
<AppliesToSingleOccurrenceUpdateOnly>true</AppliesToSingleOccurrenceUpdateOnly>
<Message>sample string 2</Message>
<MessageKey>sample string 1</MessageKey>
</BookingRequestEditRestriction>
</EditRestrictions>
<Identity>67880224-7370-46b3-8347-8e3defaff0ac</Identity>
<RefittedResources>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">0df0bb46-89c6-4dc8-a85b-cac01bf82d66</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>9d7b88b4-d3a8-41ad-bc80-87a929e5a3bf</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>6e96c808-98df-45a5-b382-18932f7b8b4a</ResourceRestrictionIdentity>
<ResourceTypeIdentity>e03448bf-c6be-40ac-ba4a-f15c04bd3228</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">0df0bb46-89c6-4dc8-a85b-cac01bf82d66</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>9d7b88b4-d3a8-41ad-bc80-87a929e5a3bf</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>6e96c808-98df-45a5-b382-18932f7b8b4a</ResourceRestrictionIdentity>
<ResourceTypeIdentity>e03448bf-c6be-40ac-ba4a-f15c04bd3228</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
</RefittedResources>
</BookingRequestEditRestrictions>