GET api/DBA/GetGalleryItems/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

GalleryModel
NameDescriptionTypeAdditional information
interiorGallery

Collection of GalleryListModel

None.

exteriorGallery

Collection of GalleryListModel

None.

Response Formats

application/json, text/json

Sample:
{
  "interiorGallery": [
    {
      "galleryTypeId": 1,
      "dbaId": 1,
      "imageLocation": "sample string 1",
      "thumbnailLocation": "sample string 2",
      "tagHeaderText": "sample string 3",
      "tagContentText": "sample string 4"
    },
    {
      "galleryTypeId": 1,
      "dbaId": 1,
      "imageLocation": "sample string 1",
      "thumbnailLocation": "sample string 2",
      "tagHeaderText": "sample string 3",
      "tagContentText": "sample string 4"
    }
  ],
  "exteriorGallery": [
    {
      "galleryTypeId": 1,
      "dbaId": 1,
      "imageLocation": "sample string 1",
      "thumbnailLocation": "sample string 2",
      "tagHeaderText": "sample string 3",
      "tagContentText": "sample string 4"
    },
    {
      "galleryTypeId": 1,
      "dbaId": 1,
      "imageLocation": "sample string 1",
      "thumbnailLocation": "sample string 2",
      "tagHeaderText": "sample string 3",
      "tagContentText": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<GalleryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.YottaResident.WebAPIs.Models">
  <exteriorGallery>
    <GalleryListModel>
      <dbaId>1</dbaId>
      <galleryTypeId>1</galleryTypeId>
      <imageLocation>sample string 1</imageLocation>
      <tagContentText>sample string 4</tagContentText>
      <tagHeaderText>sample string 3</tagHeaderText>
      <thumbnailLocation>sample string 2</thumbnailLocation>
    </GalleryListModel>
    <GalleryListModel>
      <dbaId>1</dbaId>
      <galleryTypeId>1</galleryTypeId>
      <imageLocation>sample string 1</imageLocation>
      <tagContentText>sample string 4</tagContentText>
      <tagHeaderText>sample string 3</tagHeaderText>
      <thumbnailLocation>sample string 2</thumbnailLocation>
    </GalleryListModel>
  </exteriorGallery>
  <interiorGallery>
    <GalleryListModel>
      <dbaId>1</dbaId>
      <galleryTypeId>1</galleryTypeId>
      <imageLocation>sample string 1</imageLocation>
      <tagContentText>sample string 4</tagContentText>
      <tagHeaderText>sample string 3</tagHeaderText>
      <thumbnailLocation>sample string 2</thumbnailLocation>
    </GalleryListModel>
    <GalleryListModel>
      <dbaId>1</dbaId>
      <galleryTypeId>1</galleryTypeId>
      <imageLocation>sample string 1</imageLocation>
      <tagContentText>sample string 4</tagContentText>
      <tagHeaderText>sample string 3</tagHeaderText>
      <thumbnailLocation>sample string 2</thumbnailLocation>
    </GalleryListModel>
  </interiorGallery>
</GalleryModel>