POST api/CreateReservation
Request Information
URI Parameters
None.
Body Parameters
CreateReservationVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Tenure | string |
None. |
|
| ShiftingDate | string |
None. |
|
| BookingDate | string |
None. |
|
| TenureStart | string |
None. |
|
| TenureEnd | string |
None. |
|
| IsActive | boolean |
None. |
|
| BedId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| BookingReservationId | integer |
None. |
|
| LockInPeriod | integer |
None. |
|
| PaymentByDay | integer |
None. |
|
| GracePeriod | integer |
None. |
|
| Rating | integer |
None. |
|
| PaymentPenalty | decimal number |
None. |
|
| Source | string |
None. |
|
| TokenPayment | CreatePaymentVm |
None. |
|
| Charges | Collection of ReservationChargeVm |
None. |
|
| PaymentId | integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>