GET api/MedicationfollowUps/ByMedicationHistoryId?Id={Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MedicationfollowUpListView
NameDescriptionTypeAdditional information
Id

integer

None.

MedicationHistoryId

integer

None.

DateAt

date

None.

Comment

string

None.

FileName

string

None.

CreatedAt

date

None.

UpdatedAt

date

None.

DeletedAt

date

None.

DeletedBy

integer

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

DeletedStatus

boolean

None.

IsDoctorFeedback

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "MedicationHistoryId": 2,
    "DateAt": "2025-12-06T10:23:44.3924118+06:00",
    "Comment": "sample string 4",
    "FileName": "sample string 5",
    "CreatedAt": "2025-12-06T10:23:44.3924118+06:00",
    "UpdatedAt": "2025-12-06T10:23:44.3924118+06:00",
    "DeletedAt": "2025-12-06T10:23:44.3924118+06:00",
    "DeletedBy": 8,
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "DeletedStatus": true,
    "IsDoctorFeedback": true
  },
  {
    "Id": 1,
    "MedicationHistoryId": 2,
    "DateAt": "2025-12-06T10:23:44.3924118+06:00",
    "Comment": "sample string 4",
    "FileName": "sample string 5",
    "CreatedAt": "2025-12-06T10:23:44.3924118+06:00",
    "UpdatedAt": "2025-12-06T10:23:44.3924118+06:00",
    "DeletedAt": "2025-12-06T10:23:44.3924118+06:00",
    "DeletedBy": 8,
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "DeletedStatus": true,
    "IsDoctorFeedback": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMedicationfollowUpListView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
  <MedicationfollowUpListView>
    <Comment>sample string 4</Comment>
    <CreatedAt>2025-12-06T10:23:44.3924118+06:00</CreatedAt>
    <CreatedBy>9</CreatedBy>
    <DateAt>2025-12-06T10:23:44.3924118+06:00</DateAt>
    <DeletedAt>2025-12-06T10:23:44.3924118+06:00</DeletedAt>
    <DeletedBy>8</DeletedBy>
    <DeletedStatus>true</DeletedStatus>
    <FileName>sample string 5</FileName>
    <Id>1</Id>
    <IsDoctorFeedback>true</IsDoctorFeedback>
    <MedicationHistoryId>2</MedicationHistoryId>
    <UpdatedAt>2025-12-06T10:23:44.3924118+06:00</UpdatedAt>
    <UpdatedBy>10</UpdatedBy>
  </MedicationfollowUpListView>
  <MedicationfollowUpListView>
    <Comment>sample string 4</Comment>
    <CreatedAt>2025-12-06T10:23:44.3924118+06:00</CreatedAt>
    <CreatedBy>9</CreatedBy>
    <DateAt>2025-12-06T10:23:44.3924118+06:00</DateAt>
    <DeletedAt>2025-12-06T10:23:44.3924118+06:00</DeletedAt>
    <DeletedBy>8</DeletedBy>
    <DeletedStatus>true</DeletedStatus>
    <FileName>sample string 5</FileName>
    <Id>1</Id>
    <IsDoctorFeedback>true</IsDoctorFeedback>
    <MedicationHistoryId>2</MedicationHistoryId>
    <UpdatedAt>2025-12-06T10:23:44.3924118+06:00</UpdatedAt>
    <UpdatedBy>10</UpdatedBy>
  </MedicationfollowUpListView>
</ArrayOfMedicationfollowUpListView>