GET api/Booking/GetGroupEstimate?estimateId={estimateId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| estimateId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GroupEstimate| Name | Description | Type | Additional information |
|---|---|---|---|
| EstimateId | string |
None. |
|
| ExtraComments | string |
None. |
|
| HostelCode | string |
None. |
|
| HostelName | string |
None. |
|
| ContactFirstName | string |
None. |
|
| ContactLastName | string |
None. |
|
| ContactEmail | string |
None. |
|
| PhoneNumber | string |
None. |
|
| GroupName | string |
None. |
|
| CheckInDate | date |
None. |
|
| CheckOutDate | date |
None. |
|
| DateOfEstimate | date |
None. |
|
| FlexibleDates | boolean |
None. |
|
| Under18 | boolean |
None. |
|
| Quote | boolean |
None. |
|
| TotalEstimatePrice | decimal number |
None. |
|
| GroupEstimateDetails | Collection of GroupEstimateDetails |
None. |
|
| GroupEstimateExtras | Collection of GroupEstimateExtras |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"EstimateId": "sample string 1",
"ExtraComments": "sample string 2",
"HostelCode": "sample string 3",
"HostelName": "sample string 4",
"ContactFirstName": "sample string 5",
"ContactLastName": "sample string 6",
"ContactEmail": "sample string 7",
"PhoneNumber": "sample string 8",
"GroupName": "sample string 9",
"CheckInDate": "2018-12-23T12:54:07.0127843+13:00",
"CheckOutDate": "2018-12-23T12:54:07.0127843+13:00",
"DateOfEstimate": "2018-12-23T12:54:07.0127843+13:00",
"FlexibleDates": true,
"Under18": true,
"Quote": true,
"TotalEstimatePrice": 16.0,
"GroupEstimateDetails": [
{
"GroupEstimateId": 1,
"RoomTypeCode": "sample string 2",
"RoomType": "sample string 3",
"RatePlanId": "sample string 4",
"RoomName": "sample string 5",
"Pax": 6,
"Price": 7.0
},
{
"GroupEstimateId": 1,
"RoomTypeCode": "sample string 2",
"RoomType": "sample string 3",
"RatePlanId": "sample string 4",
"RoomName": "sample string 5",
"Pax": 6,
"Price": 7.0
}
],
"GroupEstimateExtras": [
{
"GroupEstimateId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Price": 1.0,
"Under18Price": 1.0,
"Quantity": 4
},
{
"GroupEstimateId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Price": 1.0,
"Under18Price": 1.0,
"Quantity": 4
}
],
"Success": true
}
application/xml, text/xml
Sample:
<GroupEstimate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookingEngine.Model.Cms">
<CheckInDate>2018-12-23T12:54:07.0127843+13:00</CheckInDate>
<CheckOutDate>2018-12-23T12:54:07.0127843+13:00</CheckOutDate>
<ContactEmail>sample string 7</ContactEmail>
<ContactFirstName>sample string 5</ContactFirstName>
<ContactLastName>sample string 6</ContactLastName>
<DateOfEstimate>2018-12-23T12:54:07.0127843+13:00</DateOfEstimate>
<EstimateId>sample string 1</EstimateId>
<ExtraComments>sample string 2</ExtraComments>
<FlexibleDates>true</FlexibleDates>
<GroupEstimateDetails>
<GroupEstimateDetails>
<GroupEstimateId>1</GroupEstimateId>
<Pax>6</Pax>
<Price>7</Price>
<RatePlanId>sample string 4</RatePlanId>
<RoomName>sample string 5</RoomName>
<RoomType>sample string 3</RoomType>
<RoomTypeCode>sample string 2</RoomTypeCode>
</GroupEstimateDetails>
<GroupEstimateDetails>
<GroupEstimateId>1</GroupEstimateId>
<Pax>6</Pax>
<Price>7</Price>
<RatePlanId>sample string 4</RatePlanId>
<RoomName>sample string 5</RoomName>
<RoomType>sample string 3</RoomType>
<RoomTypeCode>sample string 2</RoomTypeCode>
</GroupEstimateDetails>
</GroupEstimateDetails>
<GroupEstimateExtras>
<GroupEstimateExtras>
<Description>sample string 3</Description>
<GroupEstimateId>1</GroupEstimateId>
<Name>sample string 2</Name>
<Price>1</Price>
<Quantity>4</Quantity>
<Under18Price>1</Under18Price>
</GroupEstimateExtras>
<GroupEstimateExtras>
<Description>sample string 3</Description>
<GroupEstimateId>1</GroupEstimateId>
<Name>sample string 2</Name>
<Price>1</Price>
<Quantity>4</Quantity>
<Under18Price>1</Under18Price>
</GroupEstimateExtras>
</GroupEstimateExtras>
<GroupName>sample string 9</GroupName>
<HostelCode>sample string 3</HostelCode>
<HostelName>sample string 4</HostelName>
<PhoneNumber>sample string 8</PhoneNumber>
<Quote>true</Quote>
<Success>true</Success>
<TotalEstimatePrice>16</TotalEstimatePrice>
<Under18>true</Under18>
</GroupEstimate>