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": "b926761c-54ea-4f52-8dc5-9ad0827a4c3d",
"EditRestrictions": [
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "aba85bd3-2df9-4757-8beb-ac264f7c9ad8",
"Name": "sample string 2"
},
{
"Identity": "aba85bd3-2df9-4757-8beb-ac264f7c9ad8",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
},
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "aba85bd3-2df9-4757-8beb-ac264f7c9ad8",
"Name": "sample string 2"
},
{
"Identity": "aba85bd3-2df9-4757-8beb-ac264f7c9ad8",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
}
],
"RefittedResources": [
{
"ResourceTypeIdentity": "4d5c071e-de0c-438c-bc83-72187b0fa96a",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "9e222a56-b3c4-4626-8b5e-0280b3db1569",
"ResourceRestrictionIdentity": "c503d141-f5d7-49f6-8596-2aacb13a4b82",
"IsPrimary": true,
"Identity": "53ffb188-9476-497a-b089-33d43e9458b6",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "4d5c071e-de0c-438c-bc83-72187b0fa96a",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "9e222a56-b3c4-4626-8b5e-0280b3db1569",
"ResourceRestrictionIdentity": "c503d141-f5d7-49f6-8596-2aacb13a4b82",
"IsPrimary": true,
"Identity": "53ffb188-9476-497a-b089-33d43e9458b6",
"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>aba85bd3-2df9-4757-8beb-ac264f7c9ad8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>aba85bd3-2df9-4757-8beb-ac264f7c9ad8</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>aba85bd3-2df9-4757-8beb-ac264f7c9ad8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>aba85bd3-2df9-4757-8beb-ac264f7c9ad8</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>b926761c-54ea-4f52-8dc5-9ad0827a4c3d</Identity>
<RefittedResources>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">53ffb188-9476-497a-b089-33d43e9458b6</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>9e222a56-b3c4-4626-8b5e-0280b3db1569</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>c503d141-f5d7-49f6-8596-2aacb13a4b82</ResourceRestrictionIdentity>
<ResourceTypeIdentity>4d5c071e-de0c-438c-bc83-72187b0fa96a</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">53ffb188-9476-497a-b089-33d43e9458b6</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>9e222a56-b3c4-4626-8b5e-0280b3db1569</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>c503d141-f5d7-49f6-8596-2aacb13a4b82</ResourceRestrictionIdentity>
<ResourceTypeIdentity>4d5c071e-de0c-438c-bc83-72187b0fa96a</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
</RefittedResources>
</BookingRequestEditRestrictions>