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": "0cdbf463-1652-405a-8ed4-973f1da7f465",
"EditRestrictions": [
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "84b73285-0990-49dc-819f-17daea8fb8fc",
"Name": "sample string 2"
},
{
"Identity": "84b73285-0990-49dc-819f-17daea8fb8fc",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
},
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "84b73285-0990-49dc-819f-17daea8fb8fc",
"Name": "sample string 2"
},
{
"Identity": "84b73285-0990-49dc-819f-17daea8fb8fc",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
}
],
"RefittedResources": [
{
"ResourceTypeIdentity": "6bd8fefe-dafa-4339-8c12-6c3e727d176c",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "7df0d6b8-1874-48d3-96cc-03573b0de964",
"ResourceRestrictionIdentity": "293ef283-d552-46bf-bc4f-c4696f957ef2",
"IsPrimary": true,
"Identity": "f1e7b343-5c9f-4fdf-bb97-2c84999160ab",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "6bd8fefe-dafa-4339-8c12-6c3e727d176c",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "7df0d6b8-1874-48d3-96cc-03573b0de964",
"ResourceRestrictionIdentity": "293ef283-d552-46bf-bc4f-c4696f957ef2",
"IsPrimary": true,
"Identity": "f1e7b343-5c9f-4fdf-bb97-2c84999160ab",
"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>84b73285-0990-49dc-819f-17daea8fb8fc</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>84b73285-0990-49dc-819f-17daea8fb8fc</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>84b73285-0990-49dc-819f-17daea8fb8fc</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>84b73285-0990-49dc-819f-17daea8fb8fc</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>0cdbf463-1652-405a-8ed4-973f1da7f465</Identity>
<RefittedResources>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">f1e7b343-5c9f-4fdf-bb97-2c84999160ab</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>7df0d6b8-1874-48d3-96cc-03573b0de964</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>293ef283-d552-46bf-bc4f-c4696f957ef2</ResourceRestrictionIdentity>
<ResourceTypeIdentity>6bd8fefe-dafa-4339-8c12-6c3e727d176c</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">f1e7b343-5c9f-4fdf-bb97-2c84999160ab</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>7df0d6b8-1874-48d3-96cc-03573b0de964</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>293ef283-d552-46bf-bc4f-c4696f957ef2</ResourceRestrictionIdentity>
<ResourceTypeIdentity>6bd8fefe-dafa-4339-8c12-6c3e727d176c</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
</RefittedResources>
</BookingRequestEditRestrictions>