| Required role: | Admin |
| All Verbs | /room |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RoomId | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | RoomDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RoomId | form | int | No | |
| WingId | form | int | No | |
| Room | form | string | No | |
| Code | form | string | No | |
| Gender | form | string | No | |
| Assignable | form | short | No | |
| Rate | form | decimal? | No | |
| Comments | form | string | No | |
| DiagramId | form | int? | No | |
| RoomType | form | string | No | |
| RoomTypeId | form | int? | No | |
| BuildingId | form | int | No | |
| BuildingName | form | string | No | |
| WingName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //room HTTP/1.1
Host: api.lsu.abodehms.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"roomId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":{"roomId":0,"wingId":0,"room":"String","code":"String","gender":"String","assignable":0,"rate":0,"comments":"String","diagramId":0,"roomType":"String","roomTypeId":0,"buildingId":0,"buildingName":"String","wingName":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}