POST api/Content/DeleteContent

Request Information

URI Parameters

None.

Body Parameters

EditContentCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Image

string

None.

ImageName

string

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "d7cb3182-c908-4b82-bb4e-a91399503e52",
  "Image": "sample string 2",
  "ImageName": "sample string 3",
  "UserId": "72ee046e-0291-46d3-877c-2ca485bb2b90"
}

application/xml, text/xml

Sample:
<EditContentCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContentModule.Model">
  <Id>d7cb3182-c908-4b82-bb4e-a91399503e52</Id>
  <Image>sample string 2</Image>
  <ImageName>sample string 3</ImageName>
  <UserId>72ee046e-0291-46d3-877c-2ca485bb2b90</UserId>
</EditContentCommandDto>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>