NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Retrieve excursion booking details
get
/spms/v1/excursions/bookings/{reservationId}
This is to retrieve excursion booking details for a reservation
Request
Supported Media Types
- application/json
Path Parameters
-
reservationId: integer
This is reservation Id
Query Parameters
-
boardCardNumber: string
Boardcard number
-
bookingId: integer
This is booking Id
-
bookingStatus: string
This is booking statusAllowed Values:
[ "posted", "unposted" ]
-
excursionDate: string
Excursion date
-
excursionName: string
-
overnightTour: boolean
This is the value show the excursion got overnight tour or not
Response
Supported Media Types
- application/json
200 Response
Retrieve Excursion booking details
Root Schema : Excursion Bookings list
Type:
object
Title:
Excursion Bookings list
The object returned in Oracle Standard when function is executed successfully
Show Source
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Excursion Bookings
Title:
Excursion Bookings
Retrieve Excursion Bookings
Nested Schema : Excursion Bookings
Type:
object
Title:
Excursion Bookings
Retrieve Excursion Bookings
Show Source
-
boardCardNumber(optional):
string
Example:
1000872
-
bookingId(optional):
integer
Example:
1000872
-
bookingStatus(optional):
string
This value is the status of the bookingExample:
posted
-
excursionDate(optional):
string
Example:
2020-06-26
-
excursionName(optional):
string
Example:
Island Hopping
-
overnightTour(optional):
boolean
This value will determine whether the booked excursion has an overnight tour or not.Example:
true
204 Response
No content
401 Response
You are not authorized to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
404 Response
Reservation ID not found
Root Schema : schema
Type:
string
Example:
Reservation ID not found
405 Response
This method is not available
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occurred while processing this request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
502 Response
Bad Gateway
503 Response
Service not available