DELETE api/Pictures

Request Information

URI Parameters

None.

Body Parameters

Picture
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Url

string

None.

Comment

string

None.

NoteId

globally unique identifier

None.

Title

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "8dbeba3f-2406-4e92-ac23-ed7920f9b2a4",
  "Url": "sample string 2",
  "Comment": "sample string 3",
  "NoteId": "00e94451-1881-4179-ad93-813ecc48bb10",
  "Title": "sample string 5"
}

application/xml, text/xml

Sample:
<Picture xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fagtorget.DTO.Notes">
  <Comment>sample string 3</Comment>
  <Id>8dbeba3f-2406-4e92-ac23-ed7920f9b2a4</Id>
  <NoteId>00e94451-1881-4179-ad93-813ecc48bb10</NoteId>
  <Title>sample string 5</Title>
  <Url>sample string 2</Url>
</Picture>

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

Response Information

Resource Description

None.