POST api/Admin/SaveAppointmentImage

Request Information

URI Parameters

None.

Body Parameters

Gallery
NameDescriptionTypeAdditional information
GalleryID

integer

None.

OriginalName

string

None.

EncryptedName

string

None.

ImageDataUrl

string

None.

Heading

string

None.

VideoDescription

string

None.

IsVideo

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "GalleryID": 1,
  "OriginalName": "sample string 2",
  "EncryptedName": "sample string 3",
  "ImageDataUrl": "sample string 4",
  "Heading": "sample string 5",
  "VideoDescription": "sample string 6",
  "IsVideo": true
}

application/xml, text/xml

Sample:
<Gallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <EncryptedName>sample string 3</EncryptedName>
  <GalleryID>1</GalleryID>
  <Heading>sample string 5</Heading>
  <ImageDataUrl>sample string 4</ImageDataUrl>
  <IsVideo>true</IsVideo>
  <OriginalName>sample string 2</OriginalName>
  <VideoDescription>sample string 6</VideoDescription>
</Gallery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Gallery'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.