POST api/admin/park/delete/photo

Request Information

URI Parameters

None.

Body Parameters

PhotoDeleteEntity
NameDescriptionTypeAdditional information
Id

integer

None.

LinkId

integer

None.

ParentLinkId

integer

None.

ImageName

string

None.

ImageType

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<PhotoDeleteEntity 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 4</ImageType>
  <LinkId>2</LinkId>
  <ParentLinkId>1</ParentLinkId>
</PhotoDeleteEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.