GET adventures/booking?bookingId={bookingId}&invoiceId={invoiceId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingId | integer |
Default value is 0 |
|
invoiceId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
BookingGETName | Description | Type | Additional information |
---|---|---|---|
Activity | ActivityGET |
None. |
|
Adventurer | AdventurerBasicGET |
None. |
|
Addons | Collection of BookingAddonGET |
None. |
|
Packages | Collection of BookingAddonGET |
None. |
|
EndDate | date |
None. |
|
Id | integer |
None. |
|
Modified | date |
None. |
|
ModifiedBy | UserBasicGET |
None. |
|
Pax | integer |
None. |
|
Permits | Collection of PermitGET |
None. |
|
SessionType | SessionTypeGET |
None. |
|
StartDate | date |
None. |
|
BookingStatus | BookingStatusGET |
None. |
|
Transactions | Collection of BookingTransactionGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "activity": { "activityType": { "description": "sample string 1", "iconUrl": "sample string 2", "id": 3, "name": "sample string 4", "selectedIconUrl": "sample string 5", "unselectedIconUrl": "sample string 6" }, "contacts": [ { "contactNo": "sample string 1", "email": "sample string 2", "id": 3, "name": "sample string 4" }, { "contactNo": "sample string 1", "email": "sample string 2", "id": 3, "name": "sample string 4" } ], "coordinates": null, "days": 1, "description": "sample string 2", "difficulty": { "description": "sample string 1", "iconUrl": "sample string 2", "id": 3, "name": "sample string 4", "selectedIconUrl": "sample string 5", "unselectedIconUrl": "sample string 6" }, "distance": 3.0, "elevation": 4, "featuredImageId": 5, "features": [ { "description": "sample string 1", "iconUrl": "sample string 2", "id": 3, "name": "sample string 4" }, { "description": "sample string 1", "iconUrl": "sample string 2", "id": 3, "name": "sample string 4" } ], "id": 6, "location": null, "mapUrl": "sample string 7", "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 9", "requirements": "sample string 10", "sessionTypes": [ { "dayOfWeek": 1, "id": 2, "name": "sample string 3" }, { "dayOfWeek": 1, "id": 2, "name": "sample string 3" } ], "site": null, "status": { "id": 1, "name": "sample string 2" }, "startDate": "2024-11-28T06:53:56.1329186+00:00" }, "adventurer": { "contactNumber": "sample string 1", "emailAddress": "sample string 2", "emergencyContactNo": "sample string 3", "id": 4, "fullName": "sample string 5", "rsaId": "sample string 6", "uid": "sample string 7" }, "addons": [ { "id": 1, "status": { "id": 1, "name": "sample string 2" }, "packageType": { "baseCost": 1.0, "baseUsers": 2, "core": true, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "status": { "id": 1, "name": "sample string 2" }, "resourceGroups": [ { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } }, { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } } ] }, "trxCost": 2.0, "pax": 3 }, { "id": 1, "status": { "id": 1, "name": "sample string 2" }, "packageType": { "baseCost": 1.0, "baseUsers": 2, "core": true, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "status": { "id": 1, "name": "sample string 2" }, "resourceGroups": [ { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } }, { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } } ] }, "trxCost": 2.0, "pax": 3 } ], "packages": [ { "id": 1, "status": { "id": 1, "name": "sample string 2" }, "packageType": { "baseCost": 1.0, "baseUsers": 2, "core": true, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "status": { "id": 1, "name": "sample string 2" }, "resourceGroups": [ { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } }, { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } } ] }, "trxCost": 2.0, "pax": 3 }, { "id": 1, "status": { "id": 1, "name": "sample string 2" }, "packageType": { "baseCost": 1.0, "baseUsers": 2, "core": true, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "status": { "id": 1, "name": "sample string 2" }, "resourceGroups": [ { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } }, { "day": 1, "resourceGroupId": 2, "description": "sample string 3", "id": 4, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 6", "status": { "id": 1, "name": "sample string 2" } } ] }, "trxCost": 2.0, "pax": 3 } ], "endDate": "2024-11-28T06:53:56.1329186+00:00", "id": 2, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "pax": 4, "permits": [ { "accessCards": [ { "cardNo": "sample string 1", "id": 2 }, { "cardNo": "sample string 1", "id": 2 } ], "id": 1, "pax": 2, "permitType": { "baseCost": 1.0, "baseUsers": 2, "daysValid": 3, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "organisation": null, "status": { "id": 1, "name": "sample string 2" } }, "plates": [ { "plateNo": "sample string 1", "id": 2 }, { "plateNo": "sample string 1", "id": 2 } ], "validFrom": "2024-11-28T06:53:56.1329186+00:00", "validTo": "2024-11-28T06:53:56.1329186+00:00" }, { "accessCards": [ { "cardNo": "sample string 1", "id": 2 }, { "cardNo": "sample string 1", "id": 2 } ], "id": 1, "pax": 2, "permitType": { "baseCost": 1.0, "baseUsers": 2, "daysValid": 3, "description": "sample string 4", "extraCost": 5.0, "id": 6, "modified": "2024-11-28T06:53:56.1329186+00:00", "modifiedBy": null, "name": "sample string 8", "organisation": null, "status": { "id": 1, "name": "sample string 2" } }, "plates": [ { "plateNo": "sample string 1", "id": 2 }, { "plateNo": "sample string 1", "id": 2 } ], "validFrom": "2024-11-28T06:53:56.1329186+00:00", "validTo": "2024-11-28T06:53:56.1329186+00:00" } ], "sessionType": { "dayOfWeek": 1, "id": 2, "name": "sample string 3" }, "startDate": "2024-11-28T06:53:56.1329186+00:00", "bookingStatus": { "id": 1, "name": "sample string 2" }, "transactions": [ { "id": 1, "amount": 2.0, "bookingId": 3, "transactionDate": "2024-11-28T06:53:56.1329186+00:00", "transactionType": { "id": 1, "name": "sample string 2" }, "transactionRef": "sample string 5" }, { "id": 1, "amount": 2.0, "bookingId": 3, "transactionDate": "2024-11-28T06:53:56.1329186+00:00", "transactionType": { "id": 1, "name": "sample string 2" }, "transactionRef": "sample string 5" } ] }
application/xml
Sample:
text/xml
Sample: