PUT api/v1/hostel_Booking/{bookingId}/bookingId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingId | integer |
Required |
Body Parameters
Hostel_BookingVMName | Description | Type | Additional information |
---|---|---|---|
bookingId | integer |
None. |
|
academicSessionId | integer |
None. |
|
academicSemesterId | integer |
None. |
|
intakedId | integer |
None. |
|
studentReference | string |
None. |
|
isContinueStudent | boolean |
None. |
|
studentId | integer |
None. |
|
roomId | integer |
None. |
|
bedId | integer |
None. |
|
dateBooked | date |
None. |
|
roomCategoryId | integer |
None. |
|
isPaymentEvidenceUploaded | boolean |
None. |
|
paymentStatusId | integer |
None. |
|
datePaid | date |
None. |
|
paymentApprovedBy | integer |
None. |
|
createdBy | integer |
None. |
|
tenantId | integer |
None. |
|
dateCreated | date |
None. |
|
academicSessionName | string |
None. |
|
academicSemesterName | string |
None. |
|
studentName | string |
None. |
|
bedName | string |
None. |
|
roomName | string |
None. |
|
paymentStatusName | string |
None. |
|
roomCategoryName | string |
None. |
|
fee | decimal number |
None. |
|
currencySymbol | string |
None. |
|
isBedAllotted | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "bookingId": 1, "academicSessionId": 1, "academicSemesterId": 1, "intakedId": 1, "studentReference": "sample string 2", "isContinueStudent": true, "studentId": 1, "roomId": 1, "bedId": 1, "dateBooked": "2024-11-24T09:26:45.5826245-08:00", "roomCategoryId": 1, "isPaymentEvidenceUploaded": true, "paymentStatusId": 1, "datePaid": "2024-11-24T09:26:45.5826245-08:00", "paymentApprovedBy": 1, "createdBy": 1, "tenantId": 1, "dateCreated": "2024-11-24T09:26:45.5826245-08:00", "academicSessionName": "sample string 3", "academicSemesterName": "sample string 4", "studentName": "sample string 5", "bedName": "sample string 6", "roomName": "sample string 7", "paymentStatusName": "sample string 8", "roomCategoryName": "sample string 9", "fee": 1.0, "currencySymbol": "sample string 10", "isBedAllotted": "sample string 11" }
application/xml, text/xml
Sample:
<Hostel_BookingVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <academicSemesterId>1</academicSemesterId> <academicSemesterName>sample string 4</academicSemesterName> <academicSessionId>1</academicSessionId> <academicSessionName>sample string 3</academicSessionName> <bedId>1</bedId> <bedName>sample string 6</bedName> <bookingId>1</bookingId> <createdBy>1</createdBy> <currencySymbol>sample string 10</currencySymbol> <dateBooked>2024-11-24T09:26:45.5826245-08:00</dateBooked> <dateCreated>2024-11-24T09:26:45.5826245-08:00</dateCreated> <datePaid>2024-11-24T09:26:45.5826245-08:00</datePaid> <fee>1</fee> <intakedId>1</intakedId> <isBedAllotted>sample string 11</isBedAllotted> <isContinueStudent>true</isContinueStudent> <isPaymentEvidenceUploaded>true</isPaymentEvidenceUploaded> <paymentApprovedBy>1</paymentApprovedBy> <paymentStatusId>1</paymentStatusId> <paymentStatusName>sample string 8</paymentStatusName> <roomCategoryId>1</roomCategoryId> <roomCategoryName>sample string 9</roomCategoryName> <roomId>1</roomId> <roomName>sample string 7</roomName> <studentId>1</studentId> <studentName>sample string 5</studentName> <studentReference>sample string 2</studentReference> <tenantId>1</tenantId> </Hostel_BookingVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.