POST api/Online/UpdateBooking
Request Information
URI Parameters
None.
Body Parameters
BookingName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UserId | string |
None. |
|
MerchantId | integer |
None. |
|
BookingDate | date |
None. |
|
BookingTime | string |
None. |
|
Guests | integer |
None. |
|
SpecialRequest | string |
None. |
|
Status | integer |
None. |
|
string |
None. |
||
Name | string |
None. |
|
ContactNumber | string |
None. |
|
CreatedDate | date |
None. |
|
Token | string |
None. |
|
StartSec | decimal number |
None. |
|
DurationSec | integer |
None. |
|
Modified | integer |
None. |
|
Source | integer |
None. |
|
TableId | string |
None. |
|
Note | string |
None. |
|
MergedTableId | string |
None. |
|
DepositAmount | decimal number |
None. |
|
DepositStatus | integer |
None. |
|
DepositPaymentId | integer |
None. |
|
Reminder | integer |
None. |
|
NoShow | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "UserId": "sample string 2", "MerchantId": 3, "BookingDate": "2024-11-06T15:31:21.6737504+00:00", "BookingTime": "sample string 4", "Guests": 1, "SpecialRequest": "sample string 5", "Status": 1, "Email": "sample string 6", "Name": "sample string 7", "ContactNumber": "sample string 8", "CreatedDate": "2024-11-06T15:31:21.6737504+00:00", "Token": "sample string 9", "StartSec": 1.1, "DurationSec": 1, "Modified": 1, "Source": 1, "TableId": "sample string 10", "Note": "sample string 11", "MergedTableId": "sample string 12", "DepositAmount": 1.1, "DepositStatus": 1, "DepositPaymentId": 1, "Reminder": 1, "NoShow": 1 }
application/xml, text/xml
Sample:
<Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <BookingDate>2024-11-06T15:31:21.6737504+00:00</BookingDate> <BookingTime>sample string 4</BookingTime> <ContactNumber>sample string 8</ContactNumber> <CreatedDate>2024-11-06T15:31:21.6737504+00:00</CreatedDate> <DepositAmount>1.1</DepositAmount> <DepositPaymentId>1</DepositPaymentId> <DepositStatus>1</DepositStatus> <DurationSec>1</DurationSec> <Email>sample string 6</Email> <Guests>1</Guests> <ID>1</ID> <MerchantId>3</MerchantId> <MergedTableId>sample string 12</MergedTableId> <Modified>1</Modified> <Name>sample string 7</Name> <NoShow>1</NoShow> <Note>sample string 11</Note> <Reminder>1</Reminder> <Source>1</Source> <SpecialRequest>sample string 5</SpecialRequest> <StartSec>1.1</StartSec> <Status>1</Status> <TableId>sample string 10</TableId> <Token>sample string 9</Token> <UserId>sample string 2</UserId> </Booking>
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.