POST api/admin/mediafolder/edit

Request Information

URI Parameters

None.

Body Parameters

MediaFolderEditEntity
NameDescriptionTypeAdditional information
MediaFolderId

integer

None.

FolderName

string

None.

FolderDirectoryName

string

None.

MediaType

integer

None.

IsLive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MediaFolderId": 1,
  "FolderName": "sample string 2",
  "FolderDirectoryName": "sample string 3",
  "MediaType": 4,
  "IsLive": true
}

application/xml, text/xml

Sample:
<MediaFolderEditEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThemeParkEntities.MediaFolder">
  <FolderDirectoryName>sample string 3</FolderDirectoryName>
  <FolderName>sample string 2</FolderName>
  <IsLive>true</IsLive>
  <MediaFolderId>1</MediaFolderId>
  <MediaType>4</MediaType>
</MediaFolderEditEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.