GET api/VenueSetting/GetVenueGallery/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

VenueGallery
NameDescriptionTypeAdditional information
VenueId

integer

None.

VenueName

string

None.

Photos

Collection of VenuePictureView

None.

Response Formats

application/json, text/json

Sample:
{
  "venueId": 1,
  "venueName": "sample string 2",
  "photos": [
    {
      "id": 1,
      "type": "sample string 2",
      "fileName": "sample string 3",
      "format": "sample string 4",
      "cloudinaryPublicId": "sample string 5",
      "cloudinaryUrl": "sample string 6",
      "sortOrder": 1
    },
    {
      "id": 1,
      "type": "sample string 2",
      "fileName": "sample string 3",
      "format": "sample string 4",
      "cloudinaryPublicId": "sample string 5",
      "cloudinaryUrl": "sample string 6",
      "sortOrder": 1
    }
  ]
}

text/html

Sample:
{"venueId":1,"venueName":"sample string 2","photos":[{"id":1,"type":"sample string 2","fileName":"sample string 3","format":"sample string 4","cloudinaryPublicId":"sample string 5","cloudinaryUrl":"sample string 6","sortOrder":1},{"id":1,"type":"sample string 2","fileName":"sample string 3","format":"sample string 4","cloudinaryPublicId":"sample string 5","cloudinaryUrl":"sample string 6","sortOrder":1}]}

application/xml, text/xml

Sample:
<VenueGallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <Photos>
    <VenuePictureView>
      <CloudinaryPublicId>sample string 5</CloudinaryPublicId>
      <CloudinaryUrl>sample string 6</CloudinaryUrl>
      <FileName>sample string 3</FileName>
      <Format>sample string 4</Format>
      <Id>1</Id>
      <SortOrder>1</SortOrder>
      <Type>sample string 2</Type>
    </VenuePictureView>
    <VenuePictureView>
      <CloudinaryPublicId>sample string 5</CloudinaryPublicId>
      <CloudinaryUrl>sample string 6</CloudinaryUrl>
      <FileName>sample string 3</FileName>
      <Format>sample string 4</Format>
      <Id>1</Id>
      <SortOrder>1</SortOrder>
      <Type>sample string 2</Type>
    </VenuePictureView>
  </Photos>
  <VenueId>1</VenueId>
  <VenueName>sample string 2</VenueName>
</VenueGallery>