POST api/Mobapi/DiningBooking
Request Information
URI Parameters
None.
Body Parameters
DiningDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| HotleID | integer |
None. |
|
| NoofAdult | integer |
None. |
|
| Noofchild | integer |
None. |
|
| BookingDate | date |
None. |
|
| Time | string |
None. |
|
| GooglepayNo | string |
None. |
|
| PhonePayNo | string |
None. |
|
| LocationID | integer |
None. |
|
| Contactno | string |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"HotleID": 1,
"NoofAdult": 2,
"Noofchild": 3,
"BookingDate": "2025-12-06T09:52:15.406023+05:30",
"Time": "sample string 5",
"GooglepayNo": "sample string 6",
"PhonePayNo": "sample string 7",
"LocationID": 8,
"Contactno": "sample string 9",
"Notes": "sample string 10"
}
application/xml, text/xml
Sample:
<DiningDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity"> <BookingDate>2025-12-06T09:52:15.406023+05:30</BookingDate> <Contactno>sample string 9</Contactno> <GooglepayNo>sample string 6</GooglepayNo> <HotleID>1</HotleID> <LocationID>8</LocationID> <NoofAdult>2</NoofAdult> <Noofchild>3</Noofchild> <Notes>sample string 10</Notes> <PhonePayNo>sample string 7</PhonePayNo> <Time>sample string 5</Time> </DiningDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |