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": "77052f9b-38b5-40ec-8819-d55a6bb24176", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "d8f8faca-a2b8-4e77-a4d8-9c5345ebaab8", "Rank": 2, "BookingType": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "ResourceType": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "Resource": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" } }, { "Identity": "d8f8faca-a2b8-4e77-a4d8-9c5345ebaab8", "Rank": 2, "BookingType": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "ResourceType": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "Name": "sample string 2" }, "Resource": { "Identity": "f57f2513-741f-46f5-af92-fdc33ae9d862", "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>f57f2513-741f-46f5-af92-fdc33ae9d862</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>d8f8faca-a2b8-4e77-a4d8-9c5345ebaab8</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f57f2513-741f-46f5-af92-fdc33ae9d862</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>f57f2513-741f-46f5-af92-fdc33ae9d862</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>f57f2513-741f-46f5-af92-fdc33ae9d862</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>f57f2513-741f-46f5-af92-fdc33ae9d862</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>d8f8faca-a2b8-4e77-a4d8-9c5345ebaab8</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>f57f2513-741f-46f5-af92-fdc33ae9d862</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>f57f2513-741f-46f5-af92-fdc33ae9d862</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>f57f2513-741f-46f5-af92-fdc33ae9d862</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>77052f9b-38b5-40ec-8819-d55a6bb24176</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": "ccaca8c9-a245-4b51-a32f-436c9efcfb21", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "e6bce0b4-7cf9-4069-9937-a7d45cdf0521", "Rank": 2, "BookingType": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "ResourceType": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "Resource": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" } }, { "Identity": "e6bce0b4-7cf9-4069-9937-a7d45cdf0521", "Rank": 2, "BookingType": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "ResourceType": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "Name": "sample string 2" }, "Resource": { "Identity": "73aae97f-8df7-45d1-88bb-9526621d94e8", "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>73aae97f-8df7-45d1-88bb-9526621d94e8</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>e6bce0b4-7cf9-4069-9937-a7d45cdf0521</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>73aae97f-8df7-45d1-88bb-9526621d94e8</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>73aae97f-8df7-45d1-88bb-9526621d94e8</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>73aae97f-8df7-45d1-88bb-9526621d94e8</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>73aae97f-8df7-45d1-88bb-9526621d94e8</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>e6bce0b4-7cf9-4069-9937-a7d45cdf0521</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>73aae97f-8df7-45d1-88bb-9526621d94e8</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>73aae97f-8df7-45d1-88bb-9526621d94e8</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>73aae97f-8df7-45d1-88bb-9526621d94e8</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>ccaca8c9-a245-4b51-a32f-436c9efcfb21</Identity> <NameIdentifier>sample string 2</NameIdentifier> </BookingFavourites>