PUT api/TRoom/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request 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:31:27.7691739-08:00",
  "LastEditDate": "2024-12-22T09:31:27.7691739-08:00"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.