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:
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:
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
Mobile NumberExample:
60112233445
-
nationality:
object nationalityStruct
Nationality
-
otherFirstName:
string
Minimum Length:
1
Maximum Length:40
Pattern:[a-z]
Other First NameExample:Frost
-
otherLastName:
string
Minimum Length:
1
Maximum Length:40
Pattern:[a-z]
Other Last NameExample:Francis
-
passportExpiryDate:
string(ISO 8601 (YYYY-MM-DD))
Passport Expiry DateExample:
2025-02-25
-
passportNumber:
string
Passport NumberExample:
A1510202
-
photo:
string
PhotoExample:
https://example.com/resources/guardian.jpg
-
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
Pattern:^[0-9]*$
Stateroom NumberExample:1001
-
title:
string
TitleExample:
Countess
-
toReservationId:
number
Reservation ID (destination reservation ID)Example:
54321
Nested Schema : accountCategoryStruct
Type:
object
Account Category
Show Source
-
code:
string
Minimum Value:
1
Maximum Value:6
Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\'\\\":;@`]*$
Account Category codeExample:PROLOS
-
description:
string
Minimum Value:
1
Maximum Value:1000
Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\'\\\":;@`]*$
Account Category DescriptionExample:Profit and Loss Account
Nested Schema : discountTemplate
Type:
object
Discount Template
Show Source
-
code:
string
Discount Template CodeExample:
LV2
-
description:
string
Discount Template DescriptionExample:
Disc Template 2
Nested Schema : gender
Type:
object
Gender
Show Source
-
code:
string
Gender CodeExample:
F
-
description:
string
Gender NameExample:
Female
Nested Schema : nationalityStruct
Type:
object
Nationality
Show Source
-
code:
string
Country CodeExample:
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 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