GET api/TRoom

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TRoom
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

String length: inclusive between 0 and 60

Description

string

Required

String length: inclusive between 0 and 120

Capacity

integer

None.

NumericSeats

boolean

None.

Status

string

Required

String length: inclusive between 0 and 30

RegisterDate

date

None.

LastEditDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Capacity": 4,
    "NumericSeats": true,
    "Status": "sample string 6",
    "RegisterDate": "2024-12-22T09:32:48.4887345-08:00",
    "LastEditDate": "2024-12-22T09:32:48.4887345-08:00"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Capacity": 4,
    "NumericSeats": true,
    "Status": "sample string 6",
    "RegisterDate": "2024-12-22T09:32:48.4887345-08:00",
    "LastEditDate": "2024-12-22T09:32:48.4887345-08:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniqueness.Store.Ticket.API.Models">
  <TRoom>
    <Capacity>4</Capacity>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <LastEditDate>2024-12-22T09:32:48.4887345-08:00</LastEditDate>
    <Name>sample string 2</Name>
    <NumericSeats>true</NumericSeats>
    <RegisterDate>2024-12-22T09:32:48.4887345-08:00</RegisterDate>
    <Status>sample string 6</Status>
  </TRoom>
  <TRoom>
    <Capacity>4</Capacity>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <LastEditDate>2024-12-22T09:32:48.4887345-08:00</LastEditDate>
    <Name>sample string 2</Name>
    <NumericSeats>true</NumericSeats>
    <RegisterDate>2024-12-22T09:32:48.4887345-08:00</RegisterDate>
    <Status>sample string 6</Status>
  </TRoom>
</ArrayOfTRoom>