DELETE Api/Notes/{id}

Usuwa asynchronicznie obiekt Note z bazy danych

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

NoteDto
NameDescriptionTypeAdditional information
NoteId

integer

Required

ParentNoteId

integer

None.

CompanyInfoId

integer

Required

ProfileId

string

None.

Title

string

Required

Content

string

None.

LinkedFile

string

None.

CreationDate

date

None.

NoteType

NoteType

None.

Location

string

None.

DurationInMinutes

integer

None.

ProfileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "noteId": 1,
  "parentNoteId": 1,
  "companyInfoId": 2,
  "profileId": "sample string 3",
  "title": "sample string 4",
  "content": "sample string 5",
  "linkedFile": "sample string 6",
  "creationDate": "2024-05-18T03:52:31.8823937+00:00",
  "noteType": 0,
  "location": "sample string 8",
  "durationInMinutes": 9,
  "profileName": "sample string 10"
}

multipart/form-data

Sample:
{"noteId":1,"parentNoteId":1,"companyInfoId":2,"profileId":"sample string 3","title":"sample string 4","content":"sample string 5","linkedFile":"sample string 6","creationDate":"2024-05-18T03:52:31.8823937+00:00","noteType":0,"location":"sample string 8","durationInMinutes":9,"profileName":"sample string 10"}

application/xml, text/xml

Sample:
<NoteDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NoteId>1</NoteId>
  <ParentNoteId>1</ParentNoteId>
  <CompanyInfoId>2</CompanyInfoId>
  <ProfileId>sample string 3</ProfileId>
  <Title>sample string 4</Title>
  <Content>sample string 5</Content>
  <LinkedFile>sample string 6</LinkedFile>
  <CreationDate />
  <NoteType>Info</NoteType>
  <Location>sample string 8</Location>
  <DurationInMinutes>9</DurationInMinutes>
  <ProfileName>sample string 10</ProfileName>
</NoteDto>