POST api/BookingFavourites
Request Information
URI Parameters
None.
Body Parameters
BookingFavouritesResource| Name | 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": "a7690a84-1f4e-4dfa-a032-0b1151d9e088",
"Rank": 2,
"BookingType": {
"Identity": "264f164f-2fe9-4142-99f5-529e90cff242",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "264f164f-2fe9-4142-99f5-529e90cff242",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "264f164f-2fe9-4142-99f5-529e90cff242",
"Name": "sample string 2"
},
"Resource": {
"Identity": "264f164f-2fe9-4142-99f5-529e90cff242",
"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>264f164f-2fe9-4142-99f5-529e90cff242</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</BookingType>
<Identity>a7690a84-1f4e-4dfa-a032-0b1151d9e088</Identity>
<Rank>2</Rank>
<Resource xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:Identity>264f164f-2fe9-4142-99f5-529e90cff242</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>264f164f-2fe9-4142-99f5-529e90cff242</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>264f164f-2fe9-4142-99f5-529e90cff242</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</ResourceType>
</BookingFavouritesResource>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingFavourites| Name | 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": "2861a5f9-d470-4d7e-be94-48146f6ecf20",
"NameIdentifier": "sample string 2",
"Favourites": [
{
"Identity": "77f85888-2c98-45d4-8eac-af08ec4f6a55",
"Rank": 2,
"BookingType": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"Resource": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
}
},
{
"Identity": "77f85888-2c98-45d4-8eac-af08ec4f6a55",
"Rank": 2,
"BookingType": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"Name": "sample string 2"
},
"Resource": {
"Identity": "b38187da-3f4c-4a19-8321-0bdf92695c0b",
"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>b38187da-3f4c-4a19-8321-0bdf92695c0b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>77f85888-2c98-45d4-8eac-af08ec4f6a55</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>b38187da-3f4c-4a19-8321-0bdf92695c0b</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>b38187da-3f4c-4a19-8321-0bdf92695c0b</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>b38187da-3f4c-4a19-8321-0bdf92695c0b</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>b38187da-3f4c-4a19-8321-0bdf92695c0b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>77f85888-2c98-45d4-8eac-af08ec4f6a55</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>b38187da-3f4c-4a19-8321-0bdf92695c0b</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>b38187da-3f4c-4a19-8321-0bdf92695c0b</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>b38187da-3f4c-4a19-8321-0bdf92695c0b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</BookingFavouritesResource>
</Favourites>
<Identity>2861a5f9-d470-4d7e-be94-48146f6ecf20</Identity>
<NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>