POST orders/package
Request Information
URI Parameters
None.
Body Parameters
OrderPackageName | Description | Type | Additional information |
---|---|---|---|
PackageTypeId | integer |
None. |
|
Pax | integer |
None. |
|
StartDate | date |
None. |
|
SessionTypeId | integer |
None. |
|
BookingId | integer |
None. |
|
Adventurer | Adventurer |
None. |
|
Addons | Collection of OrderPackage |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderPackageResponseName | Description | Type | Additional information |
---|---|---|---|
BookingId | integer |
None. |
|
OrderHeaderId | integer |
None. |
|
OrderTotal | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "bookingId": 1, "orderHeaderId": 2, "orderTotal": 3.0 }
application/xml, text/xml
Sample:
<OrderPackageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myPortalApi.Models.Orders"> <BookingId>1</BookingId> <OrderHeaderId>2</OrderHeaderId> <OrderTotal>3</OrderTotal> </OrderPackageResponse>