POST eco/packages
Request Information
URI Parameters
None.
Body Parameters
OrderPackagePOST| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageTypeId | integer |
None. |
|
| Pax | integer |
None. |
|
| StartDate | date |
None. |
|
| SessionTypeId | integer |
None. |
|
| BookingId | integer |
None. |
|
| AdventurerId | integer |
None. |
|
| AdventurerUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"packageTypeId": 1,
"pax": 2,
"startDate": "2025-12-04T16:19:09.8634929+00:00",
"sessionTypeId": 4,
"bookingId": 1,
"adventurerId": 5,
"adventurerUid": "sample string 6"
}
application/xml, text/xml
Sample:
<OrderPackagePOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism"> <AdventurerId>5</AdventurerId> <AdventurerUid>sample string 6</AdventurerUid> <BookingId>1</BookingId> <PackageTypeId>1</PackageTypeId> <Pax>2</Pax> <SessionTypeId>4</SessionTypeId> <StartDate>2025-12-04T16:19:09.8634929+00:00</StartDate> </OrderPackagePOST>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>