GET api/BookingRequests/{id}/CheckResourceRestrictions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingRequestEditRestrictionsName | 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": "9f716c07-2b89-42f6-97e4-e627fcb3a5ef", "EditRestrictions": [ { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "75941b89-506c-43f7-becd-ec6c753f8144", "Name": "sample string 2" }, { "Identity": "75941b89-506c-43f7-becd-ec6c753f8144", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true }, { "MessageKey": "sample string 1", "Message": "sample string 2", "AffectedResources": [ { "Identity": "75941b89-506c-43f7-becd-ec6c753f8144", "Name": "sample string 2" }, { "Identity": "75941b89-506c-43f7-becd-ec6c753f8144", "Name": "sample string 2" } ], "AllowEdit": true, "AppliesToSingleOccurrenceUpdateOnly": true } ], "RefittedResources": [ { "ResourceTypeIdentity": "d5fe5aef-34c0-4c56-87db-37fd18367a2e", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "5a5326bb-701e-44d6-b247-b406cc2b3a9f", "ResourceRestrictionIdentity": "bfdeadee-3a5d-4e61-a710-a3de14dac2c7", "IsPrimary": true, "Identity": "2c2a8d83-b1ce-4de2-99d1-e62a25e8e544", "Name": "sample string 7" }, { "ResourceTypeIdentity": "d5fe5aef-34c0-4c56-87db-37fd18367a2e", "ResourceTypeName": "sample string 2", "ExternalApplicationIdentity": "5a5326bb-701e-44d6-b247-b406cc2b3a9f", "ResourceRestrictionIdentity": "bfdeadee-3a5d-4e61-a710-a3de14dac2c7", "IsPrimary": true, "Identity": "2c2a8d83-b1ce-4de2-99d1-e62a25e8e544", "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>75941b89-506c-43f7-becd-ec6c753f8144</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>75941b89-506c-43f7-becd-ec6c753f8144</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>75941b89-506c-43f7-becd-ec6c753f8144</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:NamedObject> <d4p1:NamedObject> <d4p1:Identity>75941b89-506c-43f7-becd-ec6c753f8144</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>9f716c07-2b89-42f6-97e4-e627fcb3a5ef</Identity> <RefittedResources> <BookingResource> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">2c2a8d83-b1ce-4de2-99d1-e62a25e8e544</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <ExternalApplicationIdentity>5a5326bb-701e-44d6-b247-b406cc2b3a9f</ExternalApplicationIdentity> <IsPrimary>true</IsPrimary> <ResourceRestrictionIdentity>bfdeadee-3a5d-4e61-a710-a3de14dac2c7</ResourceRestrictionIdentity> <ResourceTypeIdentity>d5fe5aef-34c0-4c56-87db-37fd18367a2e</ResourceTypeIdentity> <ResourceTypeName>sample string 2</ResourceTypeName> </BookingResource> <BookingResource> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">2c2a8d83-b1ce-4de2-99d1-e62a25e8e544</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <ExternalApplicationIdentity>5a5326bb-701e-44d6-b247-b406cc2b3a9f</ExternalApplicationIdentity> <IsPrimary>true</IsPrimary> <ResourceRestrictionIdentity>bfdeadee-3a5d-4e61-a710-a3de14dac2c7</ResourceRestrictionIdentity> <ResourceTypeIdentity>d5fe5aef-34c0-4c56-87db-37fd18367a2e</ResourceTypeIdentity> <ResourceTypeName>sample string 2</ResourceTypeName> </BookingResource> </RefittedResources> </BookingRequestEditRestrictions>