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": "87c4f52a-843f-4aad-83b6-a0bf9a3716ee",
  "Image": "sample string 2",
  "ImageName": "sample string 3",
  "UserId": "bab98db4-c2d4-45ca-bbbe-89bf3f739264"
}

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>87c4f52a-843f-4aad-83b6-a0bf9a3716ee</Id>
  <Image>sample string 2</Image>
  <ImageName>sample string 3</ImageName>
  <UserId>bab98db4-c2d4-45ca-bbbe-89bf3f739264</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>