GET api/media/hospitalDayLab/{hospitalDayLabId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hospitalDayLabId

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:46:03.6590241+00:00",
  "Data": "sample string 5",
  "FileName": "sample string 6",
  "ConsultationLabId": 1,
  "HospitalDayLabId": 1,
  "PetDataId": 1,
  "PracticeId": 7,
  "Key": "0c834fce-d58e-41a1-8366-8dd5c9dca011",
  "InfoSheetId": 1
}

text/html

Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T05:46:03.6590241+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"0c834fce-d58e-41a1-8366-8dd5c9dca011","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.