Update a guest reservation by Id
put
/spms/v2/ships/{shipId}/reservations/guests/{reservationId}
This is to update a guest reservation detail by Reservation Id
Request
Supported Media Types
- application/json
Path Parameters
-
reservationId(required): number
Reservation Id
-
shipId(required): integer
ship Id
Guest Reservation PUT Object
Root Schema : guestReservationPUTObject
Type:
objectGuest Reservation PUT 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
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Lifeboat CodeExample:L1 -
manifestPrintout:
boolean
Manifest PrintoutExample:
false -
musterStationCode:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Musterstation CodeExample:M1 -
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:^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$Onboard Email Address * `null` if emptyExample:email@example.com -
onboardStatus:
boolean
onboardStatusExample:
false -
otherParameter:
object otherParameter
Other Parameters
-
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:3388 -
shoreGId:
string
Minimum Length:
1Maximum Length:50Shore G IdExample:G1 -
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 Parameters
Show Source
-
isAirSeaOperator:
boolean
Is Air Sea OperatorExample:
false -
isChargeCheckedOutCalls:
boolean
Is Charge For Checked Out CallsExample:
false -
isCompleteOnlineForm:
boolean
Is Complete Online FormExample:
false -
isExpressCheckOut:
boolean
Is Express CheckoutExample:
false -
isGroupLeader:
boolean
Is Group LeaderExample:
false -
isKioskCheckInAllowed:
boolean
Is Kiosk Check In AllowedExample:
false -
isNonInclusiveGuestType:
boolean
Is Non Inclusive Guest TypeExample:
false -
isResident:
boolean
Is ResidentExample:
false -
isStayOvernightTour:
boolean
Is Stay Overnight TourExample:
false -
isSwitchToCrewManifest:
boolean
Is Switch To Crew ManifestExample:
false
Nested Schema : profileInformationPOST
Type:
objectProfile Information for Post
Show Source
-
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,'_@./#&+-]*$Marital Status CodeExample:S -
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
Minimum Length:
1Maximum 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:
2018-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
200 Response
Updated
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:^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$Onboard Email Address * `null` if emptyExample:email@example.com -
onboardStatus:
boolean
onboardStatusExample:
false -
otherParameter:
object otherParameter
Other Parameters
-
profileInformation:
object profileInformation
Profile Information
-
queueId:
integer
Minimum Value:
0Maximum Value:99999999Queue IdExample:11 -
reservationId:
number
Minimum Length:
1Pattern:^[0-9]*$Reservation IdExample:1001 -
reservationStatus:
string
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:3388 -
shoreGId:
string
Minimum Length:
1Maximum Length:50Shore G IdExample:G1 -
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
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Lifeboat CodeExample:L1 -
description:
string
Lifeboat Code DescriptionExample:
Guest Boat A
Nested Schema : grMusterStation
Type:
objectmusterStation
Show Source
-
code:
string
Minimum Length:
1Maximum Length:6Pattern:^[ A-Za-z0-9,'_@./#&+-]*$Musterstation CodeExample:M1 -
description:
string
Musterstation Code DescriptionExample:
Guest Deck 1
Nested Schema : otherParameter
Type:
objectOther Parameters
Show Source
-
isAirSeaOperator:
boolean
Is Air Sea OperatorExample:
false -
isChargeCheckedOutCalls:
boolean
Is Charge For Checked Out CallsExample:
false -
isCompleteOnlineForm:
boolean
Is Complete Online FormExample:
false -
isExpressCheckOut:
boolean
Is Express CheckoutExample:
false -
isGroupLeader:
boolean
Is Group LeaderExample:
false -
isKioskCheckInAllowed:
boolean
Is Kiosk Check In AllowedExample:
false -
isNonInclusiveGuestType:
boolean
Is Non Inclusive Guest TypeExample:
false -
isResident:
boolean
Is ResidentExample:
false -
isStayOvernightTour:
boolean
Is Stay Overnight TourExample:
false -
isSwitchToCrewManifest:
boolean
Is Switch To Crew ManifestExample:
false
Nested Schema : profileInformation
Type:
objectProfile Information
Show Source
-
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:
2018-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 : 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,'_@./#&+-]*$Marital Status CodeExample:S -
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
Minimum Length:
1Maximum 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":"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":"https://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 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
409 Response
Conflict
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.10",
"title":"Conflict",
"detail":"Update is not allowed for Guest that have checked out."
}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
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service Unavailable. Try again later"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source