PUT api/BookingFavourites
Request Information
URI Parameters
None.
Body Parameters
BookingFavourites| Name | 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": "3062d304-c0d1-4973-9cd8-3b1dc5e2a2f7",
"NameIdentifier": "sample string 2",
"Favourites": [
{
"Identity": "7350f83e-38b7-46a0-a1be-ddb15d8d52c3",
"Rank": 2,
"BookingType": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"Resource": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
}
},
{
"Identity": "7350f83e-38b7-46a0-a1be-ddb15d8d52c3",
"Rank": 2,
"BookingType": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"Name": "sample string 2"
},
"Resource": {
"Identity": "906e4cd9-39a1-4e0f-a211-cdf4fb107127",
"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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>7350f83e-38b7-46a0-a1be-ddb15d8d52c3</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>906e4cd9-39a1-4e0f-a211-cdf4fb107127</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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>7350f83e-38b7-46a0-a1be-ddb15d8d52c3</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>906e4cd9-39a1-4e0f-a211-cdf4fb107127</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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</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>906e4cd9-39a1-4e0f-a211-cdf4fb107127</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</BookingFavouritesResource>
</Favourites>
<Identity>3062d304-c0d1-4973-9cd8-3b1dc5e2a2f7</Identity>
<NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>
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": "29c88c9d-a5b6-474f-95f6-50a734b9339e",
"NameIdentifier": "sample string 2",
"Favourites": [
{
"Identity": "196e153c-5946-4d07-a793-669550585b0f",
"Rank": 2,
"BookingType": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"Resource": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
}
},
{
"Identity": "196e153c-5946-4d07-a793-669550585b0f",
"Rank": 2,
"BookingType": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"Name": "sample string 2"
},
"Resource": {
"Identity": "52722814-f418-4530-9f19-d2baa8f447f9",
"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>52722814-f418-4530-9f19-d2baa8f447f9</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>196e153c-5946-4d07-a793-669550585b0f</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>52722814-f418-4530-9f19-d2baa8f447f9</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>52722814-f418-4530-9f19-d2baa8f447f9</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>52722814-f418-4530-9f19-d2baa8f447f9</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>52722814-f418-4530-9f19-d2baa8f447f9</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>196e153c-5946-4d07-a793-669550585b0f</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>52722814-f418-4530-9f19-d2baa8f447f9</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>52722814-f418-4530-9f19-d2baa8f447f9</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>52722814-f418-4530-9f19-d2baa8f447f9</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</BookingFavouritesResource>
</Favourites>
<Identity>29c88c9d-a5b6-474f-95f6-50a734b9339e</Identity>
<NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>