GET api/room/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RoomName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
Building_Id | integer |
None. |
|
RoomType | string |
None. |
|
NoneValidateSchedule | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "code": "sample string 2", "name": "sample string 3", "building_Id": 4, "roomType": "sample string 5", "noneValidateSchedule": true }
text/html
Sample:
{"id":1,"code":"sample string 2","name":"sample string 3","building_Id":4,"roomType":"sample string 5","noneValidateSchedule":true}
application/xml, text/xml
Sample:
<Room xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models"> <Building_Id>4</Building_Id> <Code>sample string 2</Code> <Id>1</Id> <Name>sample string 3</Name> <NoneValidateSchedule>true</NoneValidateSchedule> <RoomType>sample string 5</RoomType> </Room>