POST api/BookingFavourites
Request Information
URI Parameters
None.
Body Parameters
BookingFavouritesResourceName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
Rank | integer |
None. |
|
BookingType | NamedObject |
None. |
|
ResourceType | NamedObject |
None. |
|
ResourceGroup | NamedObject |
None. |
|
Resource | NamedObject |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": "26385e30-2c2d-47cc-9082-305f9e082bbb", "Rank": 2, "BookingType": { "Identity": "4cb9f958-0334-4388-b26c-e35b6d5bdb96", "Name": "sample string 2" }, "ResourceType": { "Identity": "4cb9f958-0334-4388-b26c-e35b6d5bdb96", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "4cb9f958-0334-4388-b26c-e35b6d5bdb96", "Name": "sample string 2" }, "Resource": { "Identity": "4cb9f958-0334-4388-b26c-e35b6d5bdb96", "Name": "sample string 2" } }
application/xml, text/xml
Sample:
<BookingFavouritesResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <BookingType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:Identity>4cb9f958-0334-4388-b26c-e35b6d5bdb96</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </BookingType> <Identity>26385e30-2c2d-47cc-9082-305f9e082bbb</Identity> <Rank>2</Rank> <Resource xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:Identity>4cb9f958-0334-4388-b26c-e35b6d5bdb96</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </Resource> <ResourceGroup xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:Identity>4cb9f958-0334-4388-b26c-e35b6d5bdb96</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </ResourceGroup> <ResourceType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:Identity>4cb9f958-0334-4388-b26c-e35b6d5bdb96</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </ResourceType> </BookingFavouritesResource>
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": "5a07d31a-e44a-4ba0-ae76-f91ea7a00ac3", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "b6abd8b7-0119-4ca3-90e2-42fe9b8428a0", "Rank": 2, "BookingType": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "ResourceType": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "Resource": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" } }, { "Identity": "b6abd8b7-0119-4ca3-90e2-42fe9b8428a0", "Rank": 2, "BookingType": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "ResourceType": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "Name": "sample string 2" }, "Resource": { "Identity": "5bb40412-e3b8-4773-84e8-858f4c458bd2", "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>5bb40412-e3b8-4773-84e8-858f4c458bd2</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>b6abd8b7-0119-4ca3-90e2-42fe9b8428a0</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>5bb40412-e3b8-4773-84e8-858f4c458bd2</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>5bb40412-e3b8-4773-84e8-858f4c458bd2</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>5bb40412-e3b8-4773-84e8-858f4c458bd2</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>5bb40412-e3b8-4773-84e8-858f4c458bd2</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>b6abd8b7-0119-4ca3-90e2-42fe9b8428a0</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>5bb40412-e3b8-4773-84e8-858f4c458bd2</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>5bb40412-e3b8-4773-84e8-858f4c458bd2</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>5bb40412-e3b8-4773-84e8-858f4c458bd2</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>5a07d31a-e44a-4ba0-ae76-f91ea7a00ac3</Identity> <NameIdentifier>sample string 2</NameIdentifier> </BookingFavourites>