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:
objectTitle:
guestReservationResponseGuest 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:
objectGuest Record
Show Source
-
accountCategory:
object accountCategoryStruct
Account Category
-
dateOfBirth:
string(ISO 8601 (YYYY-MM-DD))
Date Of BirthExample:
1999-02-15 -
discountTemplate:
object discountTemplate
Discount Template
-
disembarkationDate:
string(ISO 8601 (YYYY-MM-DD))
Dismbarkation DateExample:
2022-02-26 -
email:
string
EmailExample:
email@example.com -
embarkationDate:
string(ISO 8601 (YYYY-MM-DD))
Embarkation DateExample:
2022-02-25 -
firstName:
string
Minimum Length:
1Maximum Length:40The first name of the guestExample:Kobe -
fromReservationId:
number
Reservation ID (source reservation ID)Example:
12345 -
gender:
object gender
Gender
-
lastName:
string
Minimum Length:
1Maximum Length:40The last name of the guestExample:James -
middleName:
string
Minimum Length:
1Maximum Length:20The middle name of the guestExample:Bean -
mobileNumber:
string
Mobile NumberExample:
60112233445 -
nationality:
object nationalityStruct
Nationality
-
otherFirstName:
string
Other First NameExample:
Mäya -
otherLastName:
string
Other Last NameExample:
Wälters -
passportExpiryDate:
string(ISO 8601 (YYYY-MM-DD))
Passport Expiry DateExample:
2025-02-25 -
passportNumber:
string
Passport NumberExample:
A1510202 -
photo:
string
PhotoExample:
https://[HOSTNAME]/resources/img_01.jpg -
reservationExternalId:
string
Reservation External IDExample:
132789 -
reservationExternalReferenceId:
string
Reservation External Reference IDExample:
D132789 -
salutation:
string
Minimum Length:
1Maximum Length:20The salutation of the guestExample:Mr. -
stateroomNumber:
string
Stateroom NumberExample:
1020A -
title:
string
TitleExample:
Countess -
toReservationId:
number
Reservation ID (destination reservation ID)Example:
54321
Nested Schema : accountCategoryStruct
Type:
objectAccount Category
Show Source
-
code:
string
Minimum Value:
1Maximum Value:6Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\'\\\":;@`]*$Account Category codeExample:PROLOS -
description:
string
Minimum Value:
1Maximum Value:1000Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\'\\\":;@`]*$Account Category DescriptionExample:Profit and Loss Account
Nested Schema : discountTemplate
Type:
objectDiscount Template
Show Source
-
code:
string
Discount Template CodeExample:
LV2 -
description:
string
Discount Template DescriptionExample:
Disc Template 2
Nested Schema : gender
Type:
objectGender
Show Source
-
code:
string
Gender CodeExample:
F -
description:
string
Gender DescriptionExample:
Female
Nested Schema : nationalityStruct
Type:
objectNationality
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Country Code * `null` if emptyExample:US -
description:
string
Country Name * `null` if empty 'Country Name'Example:
United States
204 Response
No Content
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source