POST api/Online?monitor={monitor}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
monitor | boolean |
Required |
Body Parameters
BookingDataModelName | Description | Type | Additional information |
---|---|---|---|
MerchantId | integer |
None. |
|
BookingId | integer |
None. |
|
PhoneNumber | string |
None. |
|
CustomerEmail | string |
None. |
|
PeopleNumber | string |
None. |
|
ReservedDate | string |
None. |
|
TimeStart | string |
None. |
|
FromRemind | boolean |
None. |
|
CustomerName | string |
None. |
|
FromCancel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "MerchantId": 1, "BookingId": 1, "PhoneNumber": "sample string 2", "CustomerEmail": "sample string 3", "PeopleNumber": "sample string 4", "ReservedDate": "sample string 5", "TimeStart": "sample string 6", "FromRemind": true, "CustomerName": "sample string 8", "FromCancel": true }
application/xml, text/xml
Sample:
<BookingDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <BookingId>1</BookingId> <CustomerEmail>sample string 3</CustomerEmail> <CustomerName>sample string 8</CustomerName> <FromCancel>true</FromCancel> <FromRemind>true</FromRemind> <MerchantId>1</MerchantId> <PeopleNumber>sample string 4</PeopleNumber> <PhoneNumber>sample string 2</PhoneNumber> <ReservedDate>sample string 5</ReservedDate> <TimeStart>sample string 6</TimeStart> </BookingDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendBookingDetails_ResultsName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
EoT | EmailOrTextSent |
None. |
|
ErrorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "EoT": { "EmailSent": true, "TextSent": true }, "ErrorMsg": "sample string 2" }
application/xml, text/xml
Sample:
<SendBookingDetails_Results xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <EoT> <EmailSent>true</EmailSent> <TextSent>true</TextSent> </EoT> <ErrorMsg>sample string 2</ErrorMsg> <Success>true</Success> </SendBookingDetails_Results>