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": "a9e0564f-c92d-4b84-9ad4-0a6c12679a3b",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "ef3cfc77-9cb8-46a0-a06e-05b6d09f27ee",
      "Rank": 2,
      "BookingType": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "ef3cfc77-9cb8-46a0-a06e-05b6d09f27ee",
      "Rank": 2,
      "BookingType": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "656e1272-8f14-45eb-9207-7be3c5898eeb",
        "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>656e1272-8f14-45eb-9207-7be3c5898eeb</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>ef3cfc77-9cb8-46a0-a06e-05b6d09f27ee</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>656e1272-8f14-45eb-9207-7be3c5898eeb</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>656e1272-8f14-45eb-9207-7be3c5898eeb</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>656e1272-8f14-45eb-9207-7be3c5898eeb</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>656e1272-8f14-45eb-9207-7be3c5898eeb</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>ef3cfc77-9cb8-46a0-a06e-05b6d09f27ee</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>656e1272-8f14-45eb-9207-7be3c5898eeb</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>656e1272-8f14-45eb-9207-7be3c5898eeb</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>656e1272-8f14-45eb-9207-7be3c5898eeb</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>a9e0564f-c92d-4b84-9ad4-0a6c12679a3b</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": "e02d4420-12f1-48d9-9362-5fe2799a01de",
  "NameIdentifier": "sample string 2",
  "Favourites": [
    {
      "Identity": "abe7d259-aeb8-450a-9980-f03cff8e0dbd",
      "Rank": 2,
      "BookingType": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      }
    },
    {
      "Identity": "abe7d259-aeb8-450a-9980-f03cff8e0dbd",
      "Rank": 2,
      "BookingType": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "ResourceType": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "ResourceGroup": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "Name": "sample string 2"
      },
      "Resource": {
        "Identity": "18b52033-6a20-4954-ac56-02de196a687a",
        "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>18b52033-6a20-4954-ac56-02de196a687a</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>abe7d259-aeb8-450a-9980-f03cff8e0dbd</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>18b52033-6a20-4954-ac56-02de196a687a</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>18b52033-6a20-4954-ac56-02de196a687a</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>18b52033-6a20-4954-ac56-02de196a687a</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>18b52033-6a20-4954-ac56-02de196a687a</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </BookingType>
      <Identity>abe7d259-aeb8-450a-9980-f03cff8e0dbd</Identity>
      <Rank>2</Rank>
      <Resource xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
        <d4p1:Identity>18b52033-6a20-4954-ac56-02de196a687a</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>18b52033-6a20-4954-ac56-02de196a687a</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>18b52033-6a20-4954-ac56-02de196a687a</d4p1:Identity>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ResourceType>
    </BookingFavouritesResource>
  </Favourites>
  <Identity>e02d4420-12f1-48d9-9362-5fe2799a01de</Identity>
  <NameIdentifier>sample string 2</NameIdentifier>
</BookingFavourites>