GET api/Gallery/GetGallery?Page={Page}&ItemsPerPage={ItemsPerPage}&SortBy={SortBy}&Reverse={Reverse}&Search={Search}&Date={Date}&Day={Day}&FilterType={FilterType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

ItemsPerPage

integer

None.

SortBy

string

None.

Reverse

boolean

None.

Search

string

None.

Date

date

None.

Day

string

None.

FilterType

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GalleryModel
NameDescriptionTypeAdditional information
GalleryType

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

ModifiedBy

string

None.

List

Collection of GalleryDetailModel

None.

CreatedOn

date

None.

Id

integer

None.

Type

byte

None.

Title

string

None.

CoverPhotoPath

string

None.

ThumbnailPath

string

None.

List

Collection of GalleryDetailViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GalleryType": "sample string 1",
    "IsActive": true,
    "IsDeleted": true,
    "CreatedBy": "sample string 4",
    "ModifiedBy": "sample string 5",
    "List": [
      {
        "IsDeleted": true,
        "ModifiedBy": "sample string 2",
        "CreatedBy": "sample string 3",
        "Id": 4,
        "GalleryId": 5,
        "Caption": "sample string 6",
        "Path": "sample string 7",
        "ThumbnailPath": "sample string 8"
      },
      {
        "IsDeleted": true,
        "ModifiedBy": "sample string 2",
        "CreatedBy": "sample string 3",
        "Id": 4,
        "GalleryId": 5,
        "Caption": "sample string 6",
        "Path": "sample string 7",
        "ThumbnailPath": "sample string 8"
      }
    ],
    "CreatedOn": "2019-11-14T04:08:41.5118665+05:00",
    "Id": 7,
    "Type": 64,
    "Title": "sample string 9",
    "CoverPhotoPath": "sample string 10",
    "ThumbnailPath": "sample string 11"
  },
  {
    "GalleryType": "sample string 1",
    "IsActive": true,
    "IsDeleted": true,
    "CreatedBy": "sample string 4",
    "ModifiedBy": "sample string 5",
    "List": [
      {
        "IsDeleted": true,
        "ModifiedBy": "sample string 2",
        "CreatedBy": "sample string 3",
        "Id": 4,
        "GalleryId": 5,
        "Caption": "sample string 6",
        "Path": "sample string 7",
        "ThumbnailPath": "sample string 8"
      },
      {
        "IsDeleted": true,
        "ModifiedBy": "sample string 2",
        "CreatedBy": "sample string 3",
        "Id": 4,
        "GalleryId": 5,
        "Caption": "sample string 6",
        "Path": "sample string 7",
        "ThumbnailPath": "sample string 8"
      }
    ],
    "CreatedOn": "2019-11-14T04:08:41.5118665+05:00",
    "Id": 7,
    "Type": 64,
    "Title": "sample string 9",
    "CoverPhotoPath": "sample string 10",
    "ThumbnailPath": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGalleryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Gallery">
  <GalleryModel>
    <CoverPhotoPath>sample string 10</CoverPhotoPath>
    <Id>7</Id>
    <List>
      <GalleryDetailViewModel>
        <Caption>sample string 3</Caption>
        <GalleryId>2</GalleryId>
        <Id>1</Id>
        <Path>sample string 4</Path>
        <ThumbnailPath>sample string 5</ThumbnailPath>
      </GalleryDetailViewModel>
      <GalleryDetailViewModel>
        <Caption>sample string 3</Caption>
        <GalleryId>2</GalleryId>
        <Id>1</Id>
        <Path>sample string 4</Path>
        <ThumbnailPath>sample string 5</ThumbnailPath>
      </GalleryDetailViewModel>
    </List>
    <ThumbnailPath>sample string 11</ThumbnailPath>
    <Title>sample string 9</Title>
    <Type>64</Type>
    <CreatedBy>sample string 4</CreatedBy>
    <CreatedOn>2019-11-14T04:08:41.5118665+05:00</CreatedOn>
    <GalleryType>sample string 1</GalleryType>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <List>
      <GalleryDetailModel>
        <Caption>sample string 6</Caption>
        <GalleryId>5</GalleryId>
        <Id>4</Id>
        <Path>sample string 7</Path>
        <ThumbnailPath>sample string 8</ThumbnailPath>
        <CreatedBy>sample string 3</CreatedBy>
        <IsDeleted>true</IsDeleted>
        <ModifiedBy>sample string 2</ModifiedBy>
      </GalleryDetailModel>
      <GalleryDetailModel>
        <Caption>sample string 6</Caption>
        <GalleryId>5</GalleryId>
        <Id>4</Id>
        <Path>sample string 7</Path>
        <ThumbnailPath>sample string 8</ThumbnailPath>
        <CreatedBy>sample string 3</CreatedBy>
        <IsDeleted>true</IsDeleted>
        <ModifiedBy>sample string 2</ModifiedBy>
      </GalleryDetailModel>
    </List>
    <ModifiedBy>sample string 5</ModifiedBy>
  </GalleryModel>
  <GalleryModel>
    <CoverPhotoPath>sample string 10</CoverPhotoPath>
    <Id>7</Id>
    <List>
      <GalleryDetailViewModel>
        <Caption>sample string 3</Caption>
        <GalleryId>2</GalleryId>
        <Id>1</Id>
        <Path>sample string 4</Path>
        <ThumbnailPath>sample string 5</ThumbnailPath>
      </GalleryDetailViewModel>
      <GalleryDetailViewModel>
        <Caption>sample string 3</Caption>
        <GalleryId>2</GalleryId>
        <Id>1</Id>
        <Path>sample string 4</Path>
        <ThumbnailPath>sample string 5</ThumbnailPath>
      </GalleryDetailViewModel>
    </List>
    <ThumbnailPath>sample string 11</ThumbnailPath>
    <Title>sample string 9</Title>
    <Type>64</Type>
    <CreatedBy>sample string 4</CreatedBy>
    <CreatedOn>2019-11-14T04:08:41.5118665+05:00</CreatedOn>
    <GalleryType>sample string 1</GalleryType>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <List>
      <GalleryDetailModel>
        <Caption>sample string 6</Caption>
        <GalleryId>5</GalleryId>
        <Id>4</Id>
        <Path>sample string 7</Path>
        <ThumbnailPath>sample string 8</ThumbnailPath>
        <CreatedBy>sample string 3</CreatedBy>
        <IsDeleted>true</IsDeleted>
        <ModifiedBy>sample string 2</ModifiedBy>
      </GalleryDetailModel>
      <GalleryDetailModel>
        <Caption>sample string 6</Caption>
        <GalleryId>5</GalleryId>
        <Id>4</Id>
        <Path>sample string 7</Path>
        <ThumbnailPath>sample string 8</ThumbnailPath>
        <CreatedBy>sample string 3</CreatedBy>
        <IsDeleted>true</IsDeleted>
        <ModifiedBy>sample string 2</ModifiedBy>
      </GalleryDetailModel>
    </List>
    <ModifiedBy>sample string 5</ModifiedBy>
  </GalleryModel>
</ArrayOfGalleryModel>