Retrieve guest record that having reservation from current and future cruise.
get
/spms/v2/ships/{shipId}/reservations/backToBackReservations
This is to retrieve listing of same guest that have reservation from current and future cruise.
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
Ship Id
Query Parameters
-
fromCruiseId(required): number
Cruise itinerary ID (reservation from source cruise itinerary)
-
orderBy: string
Order by First Name and Last Name with format column1:asc/desc,column2:asc/descDefault Value:
firstName:asc
-
toCruiseId(required): number
Cruise itinerary ID (reservation from destination cruise itinerary)
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : guestReservationResponse
Type:
object
Title:
guestReservationResponse
Guest Reservation Response
Show Source
-
guestRecordListings:
array guestRecordListings
-
toCruiseDescription:
string
Cruise Itinerary Description (destination Cruise Itinerary)Example:
Fjord Itinerary
-
toCruiseId:
number
Cruise Itinerary ID (destination Cruise Itinerary)Example:
123
-
toCruiseStartDate:
string(ISO 8601 (YYYY-MM-DD))
Cruise Start Date (destination Cruise start date)Example:
2025-04-19
Nested Schema : guestRecordListings
Type:
Show Source
array
-
Array of:
object guestRecord
Guest Record
Nested Schema : guestRecord
Type:
object
Guest Record
Show Source
-
accountCategory:
string
Allowed Values:
[ "PAX" ]
accountCategoryExample:PAX
-
dateOfBirth:
string(date)
Birth DateExample:
2018-11-11
-
discountTemplate:
object discountTemplate
Discount Template
-
disembarkationDate:
string(date)
Disembarkation DateExample:
2018-11-11
-
email:
string
EmailExample:
maya_walters@mail.com
-
embarkationDate:
string(date)
Embarkation DateExample:
2018-11-11
-
firstName:
string
Minimum Length:
1
Maximum Length:40
The first name of the guestExample:Kobe
-
fromReservationId:
number
Reservation ID (source reservation ID)Example:
12345
-
gender:
object gender
Gender
-
lastName:
string
Minimum Length:
1
Maximum Length:40
The last name of the guestExample:James
-
middleName:
string
Minimum Length:
1
Maximum Length:20
The middle name of the guestExample:Bean
-
mobileNumber:
string
Minimum Length:
1
Maximum Length:30
Pattern:^[0-9+-]*$
Mobile Number * `null` if emptyExample:62-39629630
-
nationality:
object nationalityStruct
Nationality
-
otherFirstName:
string
Minimum Length:
1
Maximum Length:80
Pattern:^[ a-zA-Z0-9_.À-Ⰰ-]*$
Other First Name * `null` if emptyExample:Frost
-
otherLastName:
string
Minimum Length:
1
Maximum Length:100
Pattern:^[ a-zA-Z0-9_.À-Ⰰ-]*$
Other Last Name * `null` if emptyExample:Francis
-
passportExpiryDate:
string(ISO 8601)
Passport Expiry DateExample:
2009-10-31
-
passportNumber:
string
Minimum Length:
1
Maximum Length:20
Pattern:^[a-zA-Z0-9 ]+?$
Passport NumberExample:A145611
-
photo:
string
PhotoExample:
/9j/4AAQSkZJRgABAQEASABIAAD==
-
reservationExternalId:
string
Reservation External IDExample:
132789
-
reservationExternalReferenceId:
string
Reservation External Reference IDExample:
D132789
-
salutation:
string
Minimum Length:
1
Maximum Length:20
The salutation of the guestExample:Mr.
-
stateroomNumber:
string
Minimum Length:
1
Maximum Length:20
Pattern:^[a-zA-Z0-9- ]*$
stateroomNumberExample:1001
-
title:
string
Minimum Length:
1
Maximum Length:20
Pattern:^[ A-Za-z0-9,'_@./#&+-]*$
TitleExample:MR
-
toReservationId:
number
Reservation ID (destination reservation ID)Example:
54321
Nested Schema : discountTemplate
Type:
object
Discount Template
Show Source
-
code:
string
Pattern:
[a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
Discount Template CodeExample:A1
-
description:
string
Discount Template DescriptionExample:
Loyal Guest
Nested Schema : gender
Type:
object
Gender
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:6
Pattern:^[a-zA-Z0-9 ]+?$
Gender CodeExample:M
-
description:
string
Gender Code DescriptionExample:
Male
Nested Schema : nationalityStruct
Type:
object
Nationality
Show Source
-
code:
string
Minimum Length:
1
Maximum Length:6
Pattern:^[ A-Za-z0-9,'_@./#&+-]*$
Nationality CodeExample:MY
-
description:
string
Nationality Code DescriptionExample:
Malaysia
204 Response
No Content
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"The parameter 'shipId' has incorrect format"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource is forbidden"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"HTTP 404 Not Found"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title":"Method Not Supported",
"detail":"HTTP method not supported for this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7",
"title":"Not Acceptable",
"detail":"Request a Mime type that is supported for this Resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.11",
"title":"Gone",
"detail":"Requested Resource no longer exists"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16",
"title":"Invalid content",
"detail":"Content type not supported"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
"title":"Internal Server Error",
"detail":"Issue fulfilling request. Please retry or contact support"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2",
"title":"Not implemented",
"detail":"Resource is not implemented in this version of the API"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service not available"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source