GET api/Room

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Room
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

None.

UnderMaintenance

boolean

None.

Appointments

Collection of Appointment

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Type": "sample string 2",
    "UnderMaintenance": true,
    "Appointments": [
      {
        "Id": 1,
        "AnimalId": 1,
        "DoctorId": 1,
        "RoomId": 1,
        "Motive": "sample string 5",
        "Treatment": "sample string 6",
        "Canceled": true,
        "Date": "2026-08-25T08:10:25.2329853-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": []
          }
        },
        "Doctor": {
          "Id": 1,
          "Name": "sample string 2",
          "PhoneNumber": "sample string 3",
          "Speciality": "sample string 4",
          "Active": true,
          "Appointments": [],
          "DoctorSchedules": [
            {
              "Id": 1,
              "DoctorId": 1,
              "DayOfWeek": 64,
              "StartTime": "00:00:00.1234567",
              "EndTime": "00:00:00.1234567"
            }
          ]
        }
      }
    ]
  },
  {
    "Id": 1,
    "Type": "sample string 2",
    "UnderMaintenance": true,
    "Appointments": [
      {
        "Id": 1,
        "AnimalId": 1,
        "DoctorId": 1,
        "RoomId": 1,
        "Motive": "sample string 5",
        "Treatment": "sample string 6",
        "Canceled": true,
        "Date": "2026-08-25T08:10:25.2329853-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": []
          }
        },
        "Doctor": {
          "Id": 1,
          "Name": "sample string 2",
          "PhoneNumber": "sample string 3",
          "Speciality": "sample string 4",
          "Active": true,
          "Appointments": [],
          "DoctorSchedules": [
            {
              "Id": 1,
              "DoctorId": 1,
              "DayOfWeek": 64,
              "StartTime": "00:00:00.1234567",
              "EndTime": "00:00:00.1234567"
            }
          ]
        }
      }
    ]
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.