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": "d4757816-eb0e-4789-b0db-deaa1176214f",
"NameIdentifier": "sample string 2",
"Favourites": [
{
"Identity": "67712d02-a050-4da5-b966-58e2de5a8cc6",
"Rank": 2,
"BookingType": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"Resource": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
}
},
{
"Identity": "67712d02-a050-4da5-b966-58e2de5a8cc6",
"Rank": 2,
"BookingType": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"Name": "sample string 2"
},
"Resource": {
"Identity": "564aed24-8a09-4a25-88f8-fdf0fc9f4946",
"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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>67712d02-a050-4da5-b966-58e2de5a8cc6</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>564aed24-8a09-4a25-88f8-fdf0fc9f4946</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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>67712d02-a050-4da5-b966-58e2de5a8cc6</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>564aed24-8a09-4a25-88f8-fdf0fc9f4946</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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</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>564aed24-8a09-4a25-88f8-fdf0fc9f4946</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</BookingFavouritesResource>
</Favourites>
<Identity>d4757816-eb0e-4789-b0db-deaa1176214f</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": "0ffc5eef-969c-42b9-82fa-c1abcf630fdc",
"NameIdentifier": "sample string 2",
"Favourites": [
{
"Identity": "588db1c2-8e7d-4db3-97a8-d9ae3d0dc640",
"Rank": 2,
"BookingType": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"Resource": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
}
},
{
"Identity": "588db1c2-8e7d-4db3-97a8-d9ae3d0dc640",
"Rank": 2,
"BookingType": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"ResourceType": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"ResourceGroup": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"Name": "sample string 2"
},
"Resource": {
"Identity": "83f11e41-2f6a-4a92-9756-81d9dba27de8",
"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>83f11e41-2f6a-4a92-9756-81d9dba27de8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>588db1c2-8e7d-4db3-97a8-d9ae3d0dc640</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>83f11e41-2f6a-4a92-9756-81d9dba27de8</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>83f11e41-2f6a-4a92-9756-81d9dba27de8</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>83f11e41-2f6a-4a92-9756-81d9dba27de8</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>83f11e41-2f6a-4a92-9756-81d9dba27de8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</BookingType>
<Identity>588db1c2-8e7d-4db3-97a8-d9ae3d0dc640</Identity>
<Rank>2</Rank>
<Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>83f11e41-2f6a-4a92-9756-81d9dba27de8</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>83f11e41-2f6a-4a92-9756-81d9dba27de8</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>83f11e41-2f6a-4a92-9756-81d9dba27de8</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</BookingFavouritesResource>
</Favourites>
<Identity>0ffc5eef-969c-42b9-82fa-c1abcf630fdc</Identity>
<NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>