POST api/room

Request Information

URI Parameters

None.

Body Parameters

Room
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Building_Id

integer

None.

RoomType

string

None.

NoneValidateSchedule

boolean

None.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.