GET api/DoctorSchedule

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DoctorSchedule
NameDescriptionTypeAdditional information
Id

integer

None.

DoctorId

integer

None.

DayOfWeek

byte

None.

StartTime

time interval

None.

EndTime

time interval

None.

Doctor

Doctor

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DoctorId": 1,
    "DayOfWeek": 64,
    "StartTime": "00:00:00.1234567",
    "EndTime": "00:00:00.1234567",
    "Doctor": {
      "Id": 1,
      "Name": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Speciality": "sample string 4",
      "Active": true,
      "Appointments": [
        {
          "Id": 1,
          "AnimalId": 1,
          "DoctorId": 1,
          "RoomId": 1,
          "Motive": "sample string 5",
          "Treatment": "sample string 6",
          "Canceled": true,
          "Date": "2026-08-25T00:16:17.241702-05:00",
          "StartTime": "00:00:00.1234567",
          "EndTime": "00:00:00.1234567",
          "Animal": {
            "Id": 1,
            "Name": "sample string 2",
            "Species": "sample string 3",
            "Breed": "sample string 4",
            "Age": 1,
            "Weight": 1.0,
            "Color": "sample string 5",
            "Sex": "sample string 6",
            "ClientId": 1,
            "Appointments": [],
            "Client": {
              "Id": 1,
              "Name": "sample string 2",
              "Address": "sample string 3",
              "Nif": "sample string 4",
              "PhoneNumber": "sample string 5",
              "Email": "sample string 6",
              "Animals": []
            }
          },
          "Room": {
            "Id": 1,
            "Type": "sample string 2",
            "UnderMaintenance": true,
            "Appointments": []
          }
        }
      ],
      "DoctorSchedules": []
    }
  },
  {
    "Id": 1,
    "DoctorId": 1,
    "DayOfWeek": 64,
    "StartTime": "00:00:00.1234567",
    "EndTime": "00:00:00.1234567",
    "Doctor": {
      "Id": 1,
      "Name": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Speciality": "sample string 4",
      "Active": true,
      "Appointments": [
        {
          "Id": 1,
          "AnimalId": 1,
          "DoctorId": 1,
          "RoomId": 1,
          "Motive": "sample string 5",
          "Treatment": "sample string 6",
          "Canceled": true,
          "Date": "2026-08-25T00:16:17.241702-05:00",
          "StartTime": "00:00:00.1234567",
          "EndTime": "00:00:00.1234567",
          "Animal": {
            "Id": 1,
            "Name": "sample string 2",
            "Species": "sample string 3",
            "Breed": "sample string 4",
            "Age": 1,
            "Weight": 1.0,
            "Color": "sample string 5",
            "Sex": "sample string 6",
            "ClientId": 1,
            "Appointments": [],
            "Client": {
              "Id": 1,
              "Name": "sample string 2",
              "Address": "sample string 3",
              "Nif": "sample string 4",
              "PhoneNumber": "sample string 5",
              "Email": "sample string 6",
              "Animals": []
            }
          },
          "Room": {
            "Id": 1,
            "Type": "sample string 2",
            "UnderMaintenance": true,
            "Appointments": []
          }
        }
      ],
      "DoctorSchedules": []
    }
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.