POST eco/packages
Request Information
URI Parameters
None.
Body Parameters
OrderPackagePOSTName | 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": "2024-09-08T06:39:20.3268417+02: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>2024-09-08T06:39:20.3268417+02: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>