POST eco/bookings
Request Information
URI Parameters
None.
Body Parameters
BookingPOSTName | Description | Type | Additional information |
---|---|---|---|
ActivityId | integer |
None. |
|
Adventurer | Adventurer |
None. |
|
Date | date |
None. |
|
Pax | integer |
None. |
|
SessionId | integer |
None. |
|
SupplierUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "activityId": 1, "adventurer": { "contactNo": "sample string 1", "emailAddress": "sample string 2", "emergencyContactNo": "sample string 3", "fullName": "sample string 4", "id": 5, "rsaId": "sample string 6", "uid": "sample string 7" }, "date": "2024-09-08T06:45:21.1315504+02:00", "pax": 3, "sessionId": 4, "supplierUid": "sample string 5" }
application/xml, text/xml
Sample:
<BookingPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism.Bookings"> <ActivityId>1</ActivityId> <Adventurer xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism"> <d2p1:ContactNo>sample string 1</d2p1:ContactNo> <d2p1:EmailAddress>sample string 2</d2p1:EmailAddress> <d2p1:EmergencyContactNo>sample string 3</d2p1:EmergencyContactNo> <d2p1:FullName>sample string 4</d2p1:FullName> <d2p1:Id>5</d2p1:Id> <d2p1:RsaId>sample string 6</d2p1:RsaId> <d2p1:Uid>sample string 7</d2p1:Uid> </Adventurer> <Date>2024-09-08T06:45:21.1315504+02:00</Date> <Pax>3</Pax> <SessionId>4</SessionId> <SupplierUid>sample string 5</SupplierUid> </BookingPOST>
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>