POST api/site/updateImageGallery

Request Information

URI Parameters

None.

Body Parameters

ImageGalleryDTO
NameDescriptionTypeAdditional information
Id

integer

None.

GalleryTypeId

integer

None.

Title

string

None.

Description

string

None.

Thumbnail

string

None.

ImageFile

string

None.

ImageURL

string

None.

AlbumURL

string

None.

Active

boolean

None.

GalleryType

GalleryTypeDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GalleryTypeId": 2,
  "Title": "sample string 3",
  "Description": "sample string 4",
  "Thumbnail": "sample string 5",
  "ImageFile": "sample string 6",
  "ImageURL": "sample string 7",
  "AlbumURL": "sample string 8",
  "Active": true,
  "GalleryType": {
    "Id": 1,
    "GalleryTypeName": "sample string 2",
    "Active": true
  }
}

application/xml, text/xml

Sample:
<ImageGalleryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTCCLI.API.Models.ViewModel">
  <Active>true</Active>
  <AlbumURL>sample string 8</AlbumURL>
  <Description>sample string 4</Description>
  <GalleryType>
    <Active>true</Active>
    <GalleryTypeName>sample string 2</GalleryTypeName>
    <Id>1</Id>
  </GalleryType>
  <GalleryTypeId>2</GalleryTypeId>
  <Id>1</Id>
  <ImageFile>sample string 6</ImageFile>
  <ImageURL>sample string 7</ImageURL>
  <Thumbnail>sample string 5</Thumbnail>
  <Title>sample string 3</Title>
</ImageGalleryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.