POST api/media/delete/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Medium
NameDescriptionTypeAdditional information
MediaId

integer

None.

AddedBy

string

None.

Comment

string

None.

AddedDate

date

None.

Data

string

None.

FileName

string

None.

ConsultationLabId

integer

None.

HospitalDayLabId

integer

None.

PetDataId

integer

None.

PracticeId

integer

None.

Key

globally unique identifier

None.

InfoSheetId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "MediaId": 1,
  "AddedBy": "sample string 2",
  "Comment": "sample string 3",
  "AddedDate": "2024-12-21T05:54:55.1092068+00:00",
  "Data": "sample string 5",
  "FileName": "sample string 6",
  "ConsultationLabId": 1,
  "HospitalDayLabId": 1,
  "PetDataId": 1,
  "PracticeId": 7,
  "Key": "5b37b264-d1be-46fe-95d3-397627baf52c",
  "InfoSheetId": 1
}

text/html

Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T05:54:55.1092068+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"5b37b264-d1be-46fe-95d3-397627baf52c","InfoSheetId":1}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'FleetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'FleetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.