| All Verbs | /reserve_bed |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RoomId | query | int? | No | |
| StudentId | query | int | No | |
| BedId | query | int | No | |
| TermId | query | int | No | |
| ReserveDt | query | DateTime? | No | |
| isSingle | query | bool | No | |
| MealPlanId | query | int? | No | |
| RoomRateId | query | int? | No | |
| IsLocked | query | bool | No | |
| Comments | query | string | No | |
| OverrideWarnings | query | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | ReservationDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReservationId | form | int | No | |
| StudentId | form | int | No | |
| BedId | form | int | No | |
| TermId | form | int | No | |
| AppId | form | int? | No | |
| MealPlanId | form | int? | No | |
| RoomRateId | form | int? | No | |
| ReserveStatus | form | string | No | |
| SelfReserved | form | bool | No | |
| ExpectedArrivalDt | form | DateTime? | No | |
| ReserveAsSingle | form | bool | No | |
| Locked | form | bool | No | |
| RequiresApproval | form | bool | No | |
| Approved | form | bool | No | |
| ApprovalReason | form | string | No | |
| ApprovedBy | form | string | No | |
| ApprovedDt | form | DateTime? | No | |
| RequiresConfirm | form | bool | No | |
| Confirmed | form | bool | No | |
| ConfirmedBy | form | string | No | |
| ConfirmedDt | form | DateTime? | No | |
| Comments | form | string | No | |
| CreatedDt | form | DateTime? | No | |
| CreatedBy | form | string | No | |
| LastModifiedDt | form | DateTime? | No | |
| LastModifiedBy | 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 //reserve_bed HTTP/1.1
Host: api.lsu.abodehms.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"roomId":0,"studentId":0,"bedId":0,"termId":0,"reserveDt":"0001-01-01T00:00:00.0000000","isSingle":false,"mealPlanId":0,"roomRateId":0,"isLocked":false,"comments":"String","overrideWarnings":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":{"reservationId":0,"studentId":0,"bedId":0,"termId":0,"appId":0,"mealPlanId":0,"roomRateId":0,"reserveStatus":"String","selfReserved":false,"expectedArrivalDt":"0001-01-01T00:00:00.0000000","reserveAsSingle":false,"locked":false,"requiresApproval":false,"approved":false,"approvalReason":"String","approvedBy":"String","approvedDt":"0001-01-01T00:00:00.0000000","requiresConfirm":false,"confirmed":false,"confirmedBy":"String","confirmedDt":"0001-01-01T00:00:00.0000000","comments":"String","createdDt":"0001-01-01T00:00:00.0000000","createdBy":"String","lastModifiedDt":"0001-01-01T00:00:00.0000000","lastModifiedBy":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}