POST api/admin/ride/create/photo

Request Information

URI Parameters

None.

Body Parameters

PhotoCreateEntity
NameDescriptionTypeAdditional information
MediaFolderId

integer

None.

LinkId

integer

None.

ParentLinkId

integer

None.

UserId

string

None.

ImageName

string

None.

ImageBase64

string

None.

Description

string

None.

PhotoDateTime

date

None.

CreatorId

integer

None.

ImageType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MediaFolderId": 1,
  "LinkId": 2,
  "ParentLinkId": 1,
  "UserId": "sample string 3",
  "ImageName": "sample string 4",
  "ImageBase64": "sample string 5",
  "Description": "sample string 6",
  "PhotoDateTime": "2026-01-09T03:49:21.3317957+00:00",
  "CreatorId": 1,
  "ImageType": "sample string 8"
}

application/xml, text/xml

Sample:
<PhotoCreateEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThemeParkEntities.Global">
  <CreatorId>1</CreatorId>
  <Description>sample string 6</Description>
  <ImageBase64>sample string 5</ImageBase64>
  <ImageName>sample string 4</ImageName>
  <ImageType>sample string 8</ImageType>
  <LinkId>2</LinkId>
  <MediaFolderId>1</MediaFolderId>
  <ParentLinkId>1</ParentLinkId>
  <PhotoDateTime>2026-01-09T03:49:21.3317957+00:00</PhotoDateTime>
  <UserId>sample string 3</UserId>
</PhotoCreateEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.