POST api/v1/GalleryCategorySave

Request Information

URI Parameters

None.

Body Parameters

GalleryCatInput
NameDescriptionTypeAdditional information
Mode

string

None.

GalleryCatID

integer

None.

GalleryCatName

string

None.

GalleryCatText

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "GalleryCatID": 2,
  "GalleryCatName": "sample string 3",
  "GalleryCatText": "sample string 4",
  "UserID": 5
}

application/xml, text/xml

Sample:
<GalleryCatInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <GalleryCatID>2</GalleryCatID>
  <GalleryCatName>sample string 3</GalleryCatName>
  <GalleryCatText>sample string 4</GalleryCatText>
  <Mode>sample string 1</Mode>
  <UserID>5</UserID>
</GalleryCatInput>

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

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.