POST api/Gallery/Put

Request Information

URI Parameters

None.

Body Parameters

GalleryVM
NameDescriptionTypeAdditional information
GalleryId

integer

None.

GalleryName

string

None.

Description

string

None.

Status

boolean

None.

CreatedOn

date

None.

ParentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GalleryId": 1,
  "GalleryName": "sample string 2",
  "Description": "sample string 3",
  "Status": true,
  "CreatedOn": "2018-11-16T20:51:57.6499654+00:00",
  "ParentId": 6
}

application/xml, text/xml

Sample:
<GalleryVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstantAppAPI.ViewModels">
  <CreatedOn>2018-11-16T20:51:57.6499654+00:00</CreatedOn>
  <Description>sample string 3</Description>
  <GalleryId>1</GalleryId>
  <GalleryName>sample string 2</GalleryName>
  <ParentId>6</ParentId>
  <Status>true</Status>
</GalleryVM>

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 'GalleryVM'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.