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": "763d95f4-e512-4332-8a5c-ea3633ba590e",
"EditRestrictions": [
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "98ec2cb5-5dd6-441d-b10d-e33b8e318dc7",
"Name": "sample string 2"
},
{
"Identity": "98ec2cb5-5dd6-441d-b10d-e33b8e318dc7",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
},
{
"MessageKey": "sample string 1",
"Message": "sample string 2",
"AffectedResources": [
{
"Identity": "98ec2cb5-5dd6-441d-b10d-e33b8e318dc7",
"Name": "sample string 2"
},
{
"Identity": "98ec2cb5-5dd6-441d-b10d-e33b8e318dc7",
"Name": "sample string 2"
}
],
"AllowEdit": true,
"AppliesToSingleOccurrenceUpdateOnly": true
}
],
"RefittedResources": [
{
"ResourceTypeIdentity": "12f726e7-f4b7-4649-8d78-a682eba9c3b9",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "083625cd-cc95-42d5-b144-d3a82f50dd0c",
"ResourceRestrictionIdentity": "9b7d5b40-31cb-463f-92e8-da53132aabc6",
"IsPrimary": true,
"Identity": "e67a2b94-dfe8-4e2b-9e93-ff0746c620cf",
"Name": "sample string 7"
},
{
"ResourceTypeIdentity": "12f726e7-f4b7-4649-8d78-a682eba9c3b9",
"ResourceTypeName": "sample string 2",
"ExternalApplicationIdentity": "083625cd-cc95-42d5-b144-d3a82f50dd0c",
"ResourceRestrictionIdentity": "9b7d5b40-31cb-463f-92e8-da53132aabc6",
"IsPrimary": true,
"Identity": "e67a2b94-dfe8-4e2b-9e93-ff0746c620cf",
"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>98ec2cb5-5dd6-441d-b10d-e33b8e318dc7</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>98ec2cb5-5dd6-441d-b10d-e33b8e318dc7</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>98ec2cb5-5dd6-441d-b10d-e33b8e318dc7</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>98ec2cb5-5dd6-441d-b10d-e33b8e318dc7</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>763d95f4-e512-4332-8a5c-ea3633ba590e</Identity>
<RefittedResources>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e67a2b94-dfe8-4e2b-9e93-ff0746c620cf</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>083625cd-cc95-42d5-b144-d3a82f50dd0c</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>9b7d5b40-31cb-463f-92e8-da53132aabc6</ResourceRestrictionIdentity>
<ResourceTypeIdentity>12f726e7-f4b7-4649-8d78-a682eba9c3b9</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
<BookingResource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e67a2b94-dfe8-4e2b-9e93-ff0746c620cf</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ExternalApplicationIdentity>083625cd-cc95-42d5-b144-d3a82f50dd0c</ExternalApplicationIdentity>
<IsPrimary>true</IsPrimary>
<ResourceRestrictionIdentity>9b7d5b40-31cb-463f-92e8-da53132aabc6</ResourceRestrictionIdentity>
<ResourceTypeIdentity>12f726e7-f4b7-4649-8d78-a682eba9c3b9</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</BookingResource>
</RefittedResources>
</BookingRequestEditRestrictions>