PUT api/BookingFavourites
Request Information
URI Parameters
None.
Body Parameters
BookingFavouritesName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
NameIdentifier | string |
None. |
|
Favourites | Collection of BookingFavouritesResource |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": "df551197-438a-472c-8152-6b0e858e55e5", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "01c4588f-e8cc-4a32-a10a-3623e490a697", "Rank": 2, "BookingType": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "ResourceType": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "Resource": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" } }, { "Identity": "01c4588f-e8cc-4a32-a10a-3623e490a697", "Rank": 2, "BookingType": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "ResourceType": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" }, "Resource": { "Identity": "a4f453c1-f1cd-4a56-920b-602947162633", "Name": "sample string 2" } } ] }
application/xml, text/xml
Sample:
<BookingFavourites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <Favourites> <BookingFavouritesResource> <BookingType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>01c4588f-e8cc-4a32-a10a-3623e490a697</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </Resource> <ResourceGroup xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceGroup> <ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> <BookingFavouritesResource> <BookingType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>01c4588f-e8cc-4a32-a10a-3623e490a697</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </Resource> <ResourceGroup xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceGroup> <ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>a4f453c1-f1cd-4a56-920b-602947162633</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>df551197-438a-472c-8152-6b0e858e55e5</Identity> <NameIdentifier>sample string 2</NameIdentifier> </BookingFavourites>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingFavouritesName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
NameIdentifier | string |
None. |
|
Favourites | Collection of BookingFavouritesResource |
None. |
Response Formats
application/json, text/json
Sample:
{ "Identity": "794b1db7-37bf-4788-a17c-47d3caf9f1d3", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "a25e9027-c27d-48f0-afac-61feccffa717", "Rank": 2, "BookingType": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "ResourceType": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "Resource": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" } }, { "Identity": "a25e9027-c27d-48f0-afac-61feccffa717", "Rank": 2, "BookingType": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "ResourceType": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" }, "Resource": { "Identity": "f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d", "Name": "sample string 2" } } ] }
application/xml, text/xml
Sample:
<BookingFavourites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <Favourites> <BookingFavouritesResource> <BookingType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>a25e9027-c27d-48f0-afac-61feccffa717</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </Resource> <ResourceGroup xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceGroup> <ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> <BookingFavouritesResource> <BookingType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>a25e9027-c27d-48f0-afac-61feccffa717</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </Resource> <ResourceGroup xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceGroup> <ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f56a7dfd-4992-4f6b-9c65-9d6e6c5eef6d</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>794b1db7-37bf-4788-a17c-47d3caf9f1d3</Identity> <NameIdentifier>sample string 2</NameIdentifier> </BookingFavourites>