PUT api/Gallery/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

GalleryEditModel
NameDescriptionTypeAdditional information
Description

string

None.

Credits

string

None.

SortOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Credits": "sample string 2",
  "SortOrder": 3
}

application/xml, text/xml

Sample:
<GalleryController.GalleryEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cait.Controllers">
  <Credits>sample string 2</Credits>
  <Description>sample string 1</Description>
  <SortOrder>3</SortOrder>
</GalleryController.GalleryEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.