POST api/admin/ride/default/photo

Request Information

URI Parameters

None.

Body Parameters

PhotoDefaultEntity
NameDescriptionTypeAdditional information
Id

integer

None.

LinkId

integer

None.

ImageName

string

None.

MediaFolderId

integer

None.

ImageType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LinkId": 2,
  "ImageName": "sample string 3",
  "MediaFolderId": 4,
  "ImageType": "sample string 5"
}

application/xml, text/xml

Sample:
<PhotoDefaultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThemeParkEntities.Global">
  <Id>1</Id>
  <ImageName>sample string 3</ImageName>
  <ImageType>sample string 5</ImageType>
  <LinkId>2</LinkId>
  <MediaFolderId>4</MediaFolderId>
</PhotoDefaultEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.