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": "3414df46-75b0-4162-a01e-15f2d6eb1a97", "Rank": 2, "BookingType": { "Identity": "5369c367-ddbc-44b6-adc9-b8d87ce301b5", "Name": "sample string 2" }, "ResourceType": { "Identity": "5369c367-ddbc-44b6-adc9-b8d87ce301b5", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "5369c367-ddbc-44b6-adc9-b8d87ce301b5", "Name": "sample string 2" }, "Resource": { "Identity": "5369c367-ddbc-44b6-adc9-b8d87ce301b5", "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>5369c367-ddbc-44b6-adc9-b8d87ce301b5</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </BookingType> <Identity>3414df46-75b0-4162-a01e-15f2d6eb1a97</Identity> <Rank>2</Rank> <Resource xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:Identity>5369c367-ddbc-44b6-adc9-b8d87ce301b5</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>5369c367-ddbc-44b6-adc9-b8d87ce301b5</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>5369c367-ddbc-44b6-adc9-b8d87ce301b5</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": "7d84ebed-39f0-490a-9fe9-44d31d1aa465", "NameIdentifier": "sample string 2", "Favourites": [ { "Identity": "f17cc1b2-4d69-4e01-8a36-9ccbb7062b6e", "Rank": 2, "BookingType": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "ResourceType": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "Resource": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" } }, { "Identity": "f17cc1b2-4d69-4e01-8a36-9ccbb7062b6e", "Rank": 2, "BookingType": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "ResourceType": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "ResourceGroup": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "Name": "sample string 2" }, "Resource": { "Identity": "8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9", "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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>f17cc1b2-4d69-4e01-8a36-9ccbb7062b6e</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </BookingType> <Identity>f17cc1b2-4d69-4e01-8a36-9ccbb7062b6e</Identity> <Rank>2</Rank> <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d4p1:Identity>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</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>8c9cd28c-cfd3-4f2a-bc57-06c6d7ff4fa9</d4p1:Identity> <d4p1:Name>sample string 2</d4p1:Name> </ResourceType> </BookingFavouritesResource> </Favourites> <Identity>7d84ebed-39f0-490a-9fe9-44d31d1aa465</Identity> <NameIdentifier>sample string 2</NameIdentifier> </BookingFavourites>