POST api/Reservation
Request Information
URI Parameters
None.
Body Parameters
ReservationRequestName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ContactNumber | string |
None. |
|
string |
None. |
||
ReservationDateTime | date |
None. |
|
NoOfPersons | integer |
None. |
|
Notes | string |
None. |
|
CustomerCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "ContactNumber": "sample string 3", "Email": "sample string 4", "ReservationDateTime": "2025-03-30T19:52:56.8311841+00:00", "NoOfPersons": 1, "Notes": "sample string 5", "CustomerCode": "sample string 6" }
application/xml, text/xml
Sample:
<ReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DolphinOrderManagement.ViewModels"> <ContactNumber>sample string 3</ContactNumber> <CustomerCode>sample string 6</CustomerCode> <Email>sample string 4</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <NoOfPersons>1</NoOfPersons> <Notes>sample string 5</Notes> <ReservationDateTime>2025-03-30T19:52:56.8311841+00:00</ReservationDateTime> </ReservationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReservationResponseName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
ErrorMessage | string |
None. |
|
ReferenceNo | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "ErrorMessage": "sample string 2", "ReferenceNo": "sample string 3" }
application/xml, text/xml
Sample:
<ReservationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DolphinOrderManagement.ViewModels"> <ErrorMessage>sample string 2</ErrorMessage> <ReferenceNo>sample string 3</ReferenceNo> <Status>sample string 1</Status> </ReservationResponse>