GET api/Catering/GetRestaurantResources

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

RestaurantResources
NameDescriptionTypeAdditional information
Cities

Collection of BaseKeyPair

None.

PictureTypes

Collection of BaseKeyPair

None.

SearchTypes

Collection of BaseKeyPair

None.

PackageTypes

Collection of BaseKeyPair

None.

Response Formats

application/json, text/json

Sample:
{
  "cities": [
    {
      "id": 1,
      "value": "sample string 2"
    },
    {
      "id": 1,
      "value": "sample string 2"
    }
  ],
  "pictureTypes": [
    {
      "id": 1,
      "value": "sample string 2"
    },
    {
      "id": 1,
      "value": "sample string 2"
    }
  ],
  "searchTypes": [
    {
      "id": 1,
      "value": "sample string 2"
    },
    {
      "id": 1,
      "value": "sample string 2"
    }
  ],
  "packageTypes": [
    {
      "id": 1,
      "value": "sample string 2"
    },
    {
      "id": 1,
      "value": "sample string 2"
    }
  ]
}

text/html

Sample:
{"cities":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"pictureTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"searchTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"packageTypes":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}]}

application/xml, text/xml

Sample:
<RestaurantResources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <Cities xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
  </Cities>
  <PackageTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
  </PackageTypes>
  <PictureTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
  </PictureTypes>
  <SearchTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
    <d2p1:BaseKeyPair>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:BaseKeyPair>
  </SearchTypes>
</RestaurantResources>