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": "cc9c3c9a-542f-4f1f-9291-dd4d4b27a56b",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "02387b25-b3b3-4af7-9ac1-7634f5c06601",
      "Rank": 2,
      "BookingType": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "02387b25-b3b3-4af7-9ac1-7634f5c06601",
      "Rank": 2,
      "BookingType": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "d05518e4-7065-4d66-b092-2fb51432aa09",
        "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>d05518e4-7065-4d66-b092-2fb51432aa09</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>02387b25-b3b3-4af7-9ac1-7634f5c06601</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>d05518e4-7065-4d66-b092-2fb51432aa09</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>d05518e4-7065-4d66-b092-2fb51432aa09</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>d05518e4-7065-4d66-b092-2fb51432aa09</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>d05518e4-7065-4d66-b092-2fb51432aa09</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>02387b25-b3b3-4af7-9ac1-7634f5c06601</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>d05518e4-7065-4d66-b092-2fb51432aa09</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>d05518e4-7065-4d66-b092-2fb51432aa09</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>d05518e4-7065-4d66-b092-2fb51432aa09</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>cc9c3c9a-542f-4f1f-9291-dd4d4b27a56b</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": "4def771a-6fcf-4688-8961-78d9c9f967a2",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "e2fb1227-17e2-4d4c-bf9c-fb798807f9bf",
      "Rank": 2,
      "BookingType": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "e2fb1227-17e2-4d4c-bf9c-fb798807f9bf",
      "Rank": 2,
      "BookingType": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "ea547ade-b5a7-407b-9d4b-06e8ab504b91",
        "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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>e2fb1227-17e2-4d4c-bf9c-fb798807f9bf</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>ea547ade-b5a7-407b-9d4b-06e8ab504b91</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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>e2fb1227-17e2-4d4c-bf9c-fb798807f9bf</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>ea547ade-b5a7-407b-9d4b-06e8ab504b91</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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</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>ea547ade-b5a7-407b-9d4b-06e8ab504b91</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>4def771a-6fcf-4688-8961-78d9c9f967a2</Identity>
  <NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>