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": "d79f1fd3-31f7-491d-9280-a39e6e59486f",
"EditRestrictions": [
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0",
"Name": "sample string 2"
},
{
"Identity": "23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
},
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0",
"Name": "sample string 2"
},
{
"Identity": "23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
}
],
"RefittedResources": [
{
"ResourceTypeIdentity": "44bcd931-4008-4b65-b2a9-8e7aa9105521",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "98f348f1-284d-4375-8e67-35ffb4c3f682",
"ResourceRestrictionIdentity": "0efe720a-8f59-4ee8-97dc-f3f1fb9352b6",
"IsPrimary": true,
"Identity": "99e2ad91-5545-42d6-960e-d0b8ed1efccc",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "44bcd931-4008-4b65-b2a9-8e7aa9105521",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "98f348f1-284d-4375-8e67-35ffb4c3f682",
"ResourceRestrictionIdentity": "0efe720a-8f59-4ee8-97dc-f3f1fb9352b6",
"IsPrimary": true,
"Identity": "99e2ad91-5545-42d6-960e-d0b8ed1efccc",
"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>23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0</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>23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>23e12ac6-40e6-4bc1-9c4d-4cc8fd9c0bb0</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>d79f1fd3-31f7-491d-9280-a39e6e59486f</Identity>
<RefittedResources>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">99e2ad91-5545-42d6-960e-d0b8ed1efccc</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>98f348f1-284d-4375-8e67-35ffb4c3f682</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>0efe720a-8f59-4ee8-97dc-f3f1fb9352b6</ResourceRestrictionIdentity>
<ResourceTypeIdentity>44bcd931-4008-4b65-b2a9-8e7aa9105521</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">99e2ad91-5545-42d6-960e-d0b8ed1efccc</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>98f348f1-284d-4375-8e67-35ffb4c3f682</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>0efe720a-8f59-4ee8-97dc-f3f1fb9352b6</ResourceRestrictionIdentity>
<ResourceTypeIdentity>44bcd931-4008-4b65-b2a9-8e7aa9105521</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
</RefittedResources>
</BookingRequestEditRestrictions>