Create a guest cruise reservation
post
/spms/v2/ships/{shipId}/reservations/guests
This is to create a guest cruise reservation
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
Ship Id
Guest Reservation Post Object
Root Schema : guestReservationPOSTObject
Type:
objectGuest Reservation POST Object
Show Source
-
agentDetails:
object agentDetails
Agent Details
-
boardCardNumber:
string
Pattern:
^[a-zA-Z0-9 ]+?$Board Card NumberExample:100500333 -
bookingNumber:
string
Minimum Length:
1Maximum Length:100Booking NumberExample:123456789 -
diningDetails:
object diningDetails
Dining Details
-
discountTemplateCode:
string
Pattern:
^[ A-Za-z0-9,'_@./#&+-]*$Discount Template CodeExample:A1 -
disembarkationDate:
string(date)
Disembarkation DateExample:
2018-11-11 -
disembarkationHarborCode:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Disembarkation Harbor CodeExample:D1 -
disembarkationHarborComments:
string
Maximum Length:
20disembarkation harbor commentsExample:Going to the land -
document:
object document
Document
-
embarkationDate(required):
string(date)
Embarkation DateExample:
2018-11-11 -
embarkationHarborCode:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Embarkation Harbor CodeExample:E1 -
embarkationHarborComments:
string
Maximum Length:
20Embarkation harbor commentsExample:Going to the sea -
isNoticeAndConsent(required):
boolean
Acknowledge Notice and ConsentExample:
true -
lifeBoatCode:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Life Boat CodeExample:L1 -
manifestPrintout:
boolean
Manifest PrintoutExample:
false -
musterStationCode:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Muster Station CodeExample:M -
numberOfCruiseDays:
integer
Minimum Value:
0Maximum Value:99999999Total Number Of Cruise DaysExample:1 -
numberOfCruises:
integer
Minimum Value:
0Maximum Value:99999999Number Of CruisesExample:1 -
onboardEmail:
string
Minimum Length:
1Maximum Length:72Pattern:^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-]+)(\.([a-zA-Z]{2,5})){1,}$Onboard Email AddressExample:example@email.com -
onboardStatus:
boolean
onboardStatusExample:
false -
otherParameter:
object otherParameter
Other Parameter
-
profileInformation:
object profileInformationPOST
Profile Information for Post
-
queueId:
integer
Minimum Value:
0Maximum Value:99999999Queue IdExample:11 -
setSailPassNumber:
string
Minimum Length:
1Maximum Length:30Set Sail Pass NumberExample:1234 -
shoreGId:
string
Minimum Length:
1Maximum Length:15Shore G IdExample:12345678 -
shoreResId:
string
Minimum Length:
1Maximum Length:15Shore Reservation IdExample:S1 -
stateroomNumber:
string
Minimum Length:
1Maximum Length:20stateroomNumberExample:1001
Nested Schema : agentDetails
Type:
objectAgent Details
Show Source
-
agentBookingId:
string
Minimum Length:
0Maximum Length:20Agent Booking IdExample:A123 -
agentId:
string
Minimum Length:
0Maximum Length:20Agent IdExample:A123 -
agentReferenceId:
string
Minimum Length:
0Maximum Length:20Agent Reference IdExample:A123
Nested Schema : diningDetails
Type:
objectDining Details
Show Source
-
otherSeating:
string
Minimum Length:
0Maximum Length:50Other SeatingExample:A123 -
referenceTableId:
number
Minimum Value:
0Reference Table IdExample:123 -
restaurantSeating:
string
Minimum Length:
0Maximum Length:10Restaurant SeatingExample:A123 -
tableAssignment:
string
Minimum Length:
0Maximum Length:3Table AssignmentExample:A123
Nested Schema : document
Type:
objectDocument
Show Source
-
isDocumentChecked:
boolean
Document Is CheckedExample:
false -
isDocumentCollected:
boolean
Document Is CollectExample:
false
Nested Schema : otherParameter
Type:
objectOther Parameter
Show Source
-
isManifestPrintout:
boolean
Is Manifest PrintoutExample:
true -
isNoticeAndConsent:
boolean
Acknowledge Notice and ConsentExample:
true -
isStayOvernightTour:
boolean
Is Stay Overnight TourExample:
true -
isSwitchToPassengerManifest:
boolean
Is Switch To Passenger ManifestExample:
true
Nested Schema : profileInformationPOST
Type:
objectProfile Information for Post
Show Source
-
birthNationCode:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Birth Nation CodeExample:MY -
birthPlace:
string
Maximum Length:
50Birth PlaceExample:Kajang -
dateOfBirth(required):
string(ISO 8601 (YYYY-MM-DD))
Date Of BirthExample:
1999-02-15 -
firstName(required):
string
Minimum Length:
1Maximum Length:40First NameExample:Fabiana -
genderCode(required):
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Gender CodeExample:M -
guestCategoryCodes:
array guestCategoryPOST
-
lastName(required):
string
Minimum Length:
1Maximum Length:40Last NameExample:Carleo -
maritalStatusCode:
string
Minimum Length:
1Maximum Length:6Pattern:^[a-zA-Z0-9 ]{1,6}$Marital Status CodeExample:D -
middleName:
string
Minimum Length:
1Maximum Length:20Middle Name * `null` if emptyExample:Alberto -
nationalId:
string
Minimum Length:
1Maximum Length:20National IdExample:22A -
nationalityCode(required):
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Nationality CodeExample:MY -
otherFirstName:
string
Minimum Length:
1Maximum Length:80Other First Name * `null` if emptyExample:Frost -
otherLastName:
string
Minimum Length:
1Maximum Length:100Other Last Name * `null` if emptyExample:Francis -
passportIssuedCountryCode(required):
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Passport Issued Country CodeExample:MY -
passportIssuedDate(required):
string(ISO 8601)
Passport Issued DateExample:
2009-10-31 -
passportIssuedExpiryDate(required):
string(date)
Passport Issued Expiry DateExample:
2026-11-11 -
passportIssuedPlace(required):
string
Maximum Length:
50Passport Issued PlaceExample:Shah Alam -
passportNumber(required):
string
Minimum Length:
1Maximum Length:20Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Passport NumberExample:A145611 -
permanentResidentId:
string
Maximum Length:
30Permanent ResidentExample:P123 -
royaltyNumber:
string
Maximum Length:
20Royalty NumberExample:a1234 -
salutation:
string
Minimum Length:
1Maximum Length:20SalutationExample:MR -
title:
string
Minimum Length:
1Maximum Length:20TitleExample:MR -
vipCode:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$VIP CodeExample:L1
Nested Schema : guestCategoryPOST
Type:
Show Source
array-
Array of:
string
Minimum Length:
1Maximum Length:6Pattern:[a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]Guest Category CodesExample:GC1
Response
Supported Media Types
- application/json
201 Response
Created
Root Schema : guestReservationGETObject
Type:
objectGuest Reservation GET Object
Show Source
-
agentDetails:
object agentDetails
Agent Details
-
boardCardNumber:
string
Pattern:
^[a-zA-Z0-9 ]+?$Board Card NumberExample:100500333 -
bookingNumber:
string
Minimum Length:
1Maximum Length:100Booking NumberExample:123456789 -
diningDetails:
object diningDetails
Dining Details
-
discountTemplate:
object grDiscountTemplate
Discount Template
-
disembarkationDate:
string(date)
Disembarkation DateExample:
2018-11-11 -
disembarkationHarbor:
object grDisembarkationHarbor
Disembarkation Harbor
-
disembarkationHarborComments:
string
Maximum Length:
20disembarkation harbor commentsExample:Going to the land -
document:
object document
Document
-
embarkationDate:
string(date)
Embarkation DateExample:
2018-11-11 -
embarkationHarbor:
object embarkationHarbor
Embarkation Harbor
-
embarkationHarborComments:
string
Maximum Length:
20Embarkation harbor commentsExample:Going to the sea -
isNoticeAndConsent:
boolean
Acknowledge Notice and ConsentExample:
true -
lifeBoat:
object lifeBoat
Life Boat
-
manifestPrintout:
boolean
Manifest PrintoutExample:
false -
musterStation:
object grMusterStation
musterStation
-
numberOfCruiseDays:
integer
Minimum Value:
0Maximum Value:99999999Total Number Of Cruise DaysExample:1 -
numberOfCruises:
integer
Minimum Value:
0Maximum Value:99999999Number Of CruisesExample:1 -
onboardEmail:
string
Minimum Length:
1Maximum Length:72Pattern:^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-]+)(\.([a-zA-Z]{2,5})){1,}$Onboard Email AddressExample:example@email.com -
onboardStatus:
boolean
onboardStatusExample:
false -
otherParameter:
object otherParameter
Other Parameter
-
profileInformation:
object profileInformation
Profile Information
-
queueId:
integer
Minimum Value:
0Maximum Value:99999999Queue IdExample:11 -
reservationId:
object reservationId
Reservation Id
-
reservationStatus:
string
Minimum Length:
2Maximum Length:2Pattern:^RR|RE|CC|CL|DD|RN|RX$Reservation Status, RR=Reservation, RX=Cancelled, RE=Embark today, RN=No Show, CC=Checked In, CL=Leaving today, DD=DisembarkedExample:CC -
setSailPassNumber:
string
Minimum Length:
1Maximum Length:30Set Sail Pass NumberExample:1234 -
shoreGId:
string
Minimum Length:
1Maximum Length:15Shore G IdExample:12345678 -
shoreResId:
string
Minimum Length:
1Maximum Length:15Shore Reservation IdExample:S1 -
stateroomNumber:
string
Minimum Length:
1Maximum Length:20stateroomNumberExample:1001
Nested Schema : agentDetails
Type:
objectAgent Details
Show Source
-
agentBookingId:
string
Minimum Length:
0Maximum Length:20Agent Booking IdExample:A123 -
agentId:
string
Minimum Length:
0Maximum Length:20Agent IdExample:A123 -
agentReferenceId:
string
Minimum Length:
0Maximum Length:20Agent Reference IdExample:A123
Nested Schema : diningDetails
Type:
objectDining Details
Show Source
-
otherSeating:
string
Minimum Length:
0Maximum Length:50Other SeatingExample:A123 -
referenceTableId:
number
Minimum Value:
0Reference Table IdExample:123 -
restaurantSeating:
string
Minimum Length:
0Maximum Length:10Restaurant SeatingExample:A123 -
tableAssignment:
string
Minimum Length:
0Maximum Length:3Table AssignmentExample:A123
Nested Schema : grDiscountTemplate
Type:
objectDiscount Template
Show Source
-
code:
string
Pattern:
^[ A-Za-z0-9,'_@./#&+-]*$Discount Template CodeExample:A1 -
description:
string
Discount Template DescriptionExample:
Loyal Guest
Nested Schema : grDisembarkationHarbor
Type:
objectDisembarkation Harbor
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Disembarkation Harbor CodeExample:D1 -
description:
string
Disembarkation Harbor Code DescriptionExample:
To Land
Nested Schema : document
Type:
objectDocument
Show Source
-
isDocumentChecked:
boolean
Document Is CheckedExample:
false -
isDocumentCollected:
boolean
Document Is CollectExample:
false
Nested Schema : embarkationHarbor
Type:
objectEmbarkation Harbor
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Embarkation Harbor CodeExample:E1 -
description:
string
Embarkation Harbor Code DescriptionExample:
To Sea
Nested Schema : lifeBoat
Type:
objectLife Boat
Show Source
-
code:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Life Boat CodeExample:L1 -
description:
string
Life Boat Code DescriptionExample:
Guest Boat A
Nested Schema : grMusterStation
Type:
objectmusterStation
Show Source
-
code:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Muster Station CodeExample:M -
description:
string
Muster Station Code DescriptionExample:
Guest Deck 1
Nested Schema : otherParameter
Type:
objectOther Parameter
Show Source
-
isManifestPrintout:
boolean
Is Manifest PrintoutExample:
true -
isNoticeAndConsent:
boolean
Acknowledge Notice and ConsentExample:
true -
isStayOvernightTour:
boolean
Is Stay Overnight TourExample:
true -
isSwitchToPassengerManifest:
boolean
Is Switch To Passenger ManifestExample:
true
Nested Schema : profileInformation
Type:
objectProfile Information
Show Source
-
birthNation:
object birthNation
Birth Nation
-
birthPlace:
string
Maximum Length:
50Birth PlaceExample:Kajang -
dateOfBirth:
string(ISO 8601 (YYYY-MM-DD))
Date Of BirthExample:
1999-02-15 -
firstName:
string
Minimum Length:
1Maximum Length:40First NameExample:Fabiana -
gender:
object grGender
Gender
-
guestCategories:
array guestCategory
-
lastName:
string
Minimum Length:
1Maximum Length:40Last NameExample:Carleo -
maritalStatus:
object maritalStatus
Marital Status
-
middleName:
string
Minimum Length:
1Maximum Length:20Middle Name * `null` if emptyExample:Alberto -
nationalId:
string
Minimum Length:
1Maximum Length:20National IdExample:22A -
nationality:
object grNationalityStruct
Nationality
-
otherFirstName:
string
Minimum Length:
1Maximum Length:80Other First Name * `null` if emptyExample:Frost -
otherLastName:
string
Minimum Length:
1Maximum Length:100Other Last Name * `null` if emptyExample:Francis -
passportIssuedCountry:
object grPassportIssuedCountry
Passport Issued Country
-
passportIssuedDate:
string(ISO 8601)
Passport Issued DateExample:
2009-10-31 -
passportIssuedExpiryDate:
string(date)
Passport Issued Expiry DateExample:
2026-11-11 -
passportIssuedPlace:
string
Maximum Length:
50Passport Issued PlaceExample:Shah Alam -
passportNumber:
string
Minimum Length:
1Maximum Length:20Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Passport NumberExample:A145611 -
permanentResidentId:
string
Maximum Length:
30Permanent ResidentExample:P123 -
profileId:
number
Minimum Length:
1Pattern:^[0-9]*$Profile IdExample:12345 -
royaltyNumber:
string
Maximum Length:
20Royalty NumberExample:a1234 -
salutation:
string
Minimum Length:
1Maximum Length:20SalutationExample:MR -
title:
string
Minimum Length:
1Maximum Length:20TitleExample:MR -
vip:
object vip
VIP
Nested Schema : reservationId
Type:
objectReservation Id
Show Source
-
onBoardStatus:
integer
Example:
0 -
reservationId:
integer(int64)
Example:
989323
Nested Schema : birthNation
Type:
objectBirth Nation
Show Source
-
code:
string
Minimum Length:
1Maximum Length:3Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Birth Nation Code * `null` if emptyExample:US -
description:
string
Birth Nation Name * `null` if emptyExample:
United States
Nested Schema : grGender
Type:
objectGender
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Gender CodeExample:M -
description:
string
Gender Code DescriptionExample:
Male
Nested Schema : guestCategory
Type:
Show Source
array-
Array of:
object guestCategoryGroup
Guest Category Group
Nested Schema : maritalStatus
Type:
objectMarital Status
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[a-zA-Z0-9 ]{1,6}$Marital Status CodeExample:D -
description:
string
Marital Status DescriptionExample:
Single
Nested Schema : grNationalityStruct
Type:
objectNationality
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Nationality CodeExample:MY -
description:
string
Nationality Code DescriptionExample:
Malaysia
Nested Schema : grPassportIssuedCountry
Type:
objectPassport Issued Country
Show Source
-
code:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Passport Issued Country CodeExample:MY -
description:
string
Passport Issued Country Code DescriptionExample:
Malaysia
Nested Schema : vip
Type:
objectVIP
Show Source
-
code:
string
Maximum Length:
6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$VIP CodeExample:L1 -
description:
string
VIP Code DescriptionExample:
Minister
Nested Schema : guestCategoryGroup
Type:
objectGuest Category Group
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:[a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]Guest Category CodesExample:GC1 -
description:
string
Guest Category Codes DescriptionExample:
Couple
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":"Invalid parameter(s) passed in"
}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":"Ship Id could not be found"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
405 Response
Method Not Supported
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
Invalid content
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