POST api/CreateReservationBooking
Request Information
URI Parameters
None.
Body Parameters
SaveReservationBookingVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BookingDate | string |
None. |
|
| ShiftingDate | string |
None. |
|
| Source | string |
None. |
|
| PaymentId | integer |
None. |
|
| BedId | integer |
None. |
|
| CustomerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BookingDate": "sample string 2",
"ShiftingDate": "sample string 3",
"Source": "sample string 4",
"PaymentId": 1,
"BedId": 1,
"CustomerId": 1
}
application/xml, text/xml
Sample:
<SaveReservationBookingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.PgModels"> <BedId>1</BedId> <BookingDate>sample string 2</BookingDate> <CustomerId>1</CustomerId> <Id>1</Id> <PaymentId>1</PaymentId> <ShiftingDate>sample string 3</ShiftingDate> <Source>sample string 4</Source> </SaveReservationBookingVm>
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>