PUT api/BookingFavourites

Request Information

URI Parameters

None.

Body Parameters

BookingFavourites
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

NameIdentifier

string

None.

Favourites

Collection of BookingFavouritesResource

None.

Request Formats

application/json, text/json

Sample:
{
  "Identity": "cf62fcbe-41ba-45e7-bf7a-17fb3b15ffcf",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "08a43208-17e9-423c-8d9f-98421af7dd1c",
      "Rank": 2,
      "BookingType": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "08a43208-17e9-423c-8d9f-98421af7dd1c",
      "Rank": 2,
      "BookingType": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "a03a7ab4-99ac-41c8-8670-7e2e880e3ff3",
        "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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>08a43208-17e9-423c-8d9f-98421af7dd1c</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>08a43208-17e9-423c-8d9f-98421af7dd1c</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</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>a03a7ab4-99ac-41c8-8670-7e2e880e3ff3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>cf62fcbe-41ba-45e7-bf7a-17fb3b15ffcf</Identity>
  <NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BookingFavourites
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

NameIdentifier

string

None.

Favourites

Collection of BookingFavouritesResource

None.

Response Formats

application/json, text/json

Sample:
{
  "Identity": "05687638-efa6-40b7-9703-2423a9a08745",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "ec80e199-4fda-49b1-b029-6775ddf42a01",
      "Rank": 2,
      "BookingType": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "ec80e199-4fda-49b1-b029-6775ddf42a01",
      "Rank": 2,
      "BookingType": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "37fb36e2-3067-445c-b3b7-43b9612634e3",
        "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>37fb36e2-3067-445c-b3b7-43b9612634e3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>ec80e199-4fda-49b1-b029-6775ddf42a01</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>37fb36e2-3067-445c-b3b7-43b9612634e3</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>37fb36e2-3067-445c-b3b7-43b9612634e3</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>37fb36e2-3067-445c-b3b7-43b9612634e3</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>37fb36e2-3067-445c-b3b7-43b9612634e3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>ec80e199-4fda-49b1-b029-6775ddf42a01</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>37fb36e2-3067-445c-b3b7-43b9612634e3</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>37fb36e2-3067-445c-b3b7-43b9612634e3</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>37fb36e2-3067-445c-b3b7-43b9612634e3</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>05687638-efa6-40b7-9703-2423a9a08745</Identity>
  <NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>