Create selected sync criteria record to guest next cruise reservation.
post
/spms/v2/ships/{shipId}/reservations/syncGuestDetails
This is to create or sync the selected sync criteria for guests who have future cruise reservations.
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): integer
Ship Id
Root Schema : List of Sync Guest Details Request
Type:
object
Title:
List of Sync Guest Details Request
List of Sync Guest Details Request
Show Source
-
syncReservations:
array syncReservations
-
syncSelections:
object Sync Guest Details Selection Request
Title:
Sync Guest Details Selection Request
Sync Guest Details Selection Request
Nested Schema : Sync Guest Details Selection Request
Type:
object
Title:
Sync Guest Details Selection Request
Sync Guest Details Selection Request
Show Source
-
isContactDetails:
boolean
To sync contact detailsExample:
true
-
isCreditCardDetails:
boolean
To sync credit card detailsExample:
true
-
isProfileDetails:
boolean
To sync profile detailsExample:
true
-
isSpecialNeeds:
boolean
To sync special needsExample:
true
-
isSpecialRequests:
boolean
To sync special requestsExample:
true
-
isTravelDocuments:
boolean
To sync travel documentsExample:
true
Nested Schema : items
Match All
Show Source
-
object
Sync Reservation Request
Title:
Sync Reservation Request
Sync Reservation Request
Nested Schema : Sync Reservation Request
Type:
object
Title:
Sync Reservation Request
Sync Reservation Request
Show Source
-
fromReservationId:
integer
sync from reservation idExample:
12345
-
toReservationId:
integer
sync to reservation idExample:
12345
Response
Supported Media Types
- application/json
201 Response
Created
Root Schema : schema
Match All
Show Source
-
object
List of Sync Guest Details Response
Title:
List of Sync Guest Details Response
List of Sync Guest Details Response
Nested Schema : List of Sync Guest Details Response
Type:
object
Title:
List of Sync Guest Details Response
List of Sync Guest Details Response
Show Source
Nested Schema : items
Type:
Show Source
array
Example:
[
{
"fromReservationId":"123",
"toReservationId":"234",
"remarks":""
},
{
"fromReservationId":"345",
"toReservationId":"456",
"remarks":"fromReservationId 345 not found"
},
{
"fromReservationId":"678",
"toReservationId":"890",
"remarks":"toReservationId 890 not found"
},
{
"fromReservationId":"987",
"toReservationId":"876",
"remarks":"fromReservationId987 and toReservationId 876 not found"
},
{
"fromReservationId":"765",
"toReservationId":"654",
"remarks":"Guest details not able to update"
}
]
Nested Schema : SyncGuestDetails
Match All
Show Source
-
object
Sync Reservation Request
Title:
Sync Reservation Request
Sync Reservation Request -
object
SyncGuestDetails-allOf[1]
Nested Schema : Sync Reservation Request
Type:
object
Title:
Sync Reservation Request
Sync Reservation Request
Show Source
-
fromReservationId:
integer
sync from reservation idExample:
12345
-
toReservationId:
integer
sync to reservation idExample:
12345
Nested Schema : SyncGuestDetails-allOf[1]
Type:
Show Source
object
-
remarks:
string
sync guest details return remarks
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":"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:
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":"Ship Id 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
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
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":"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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source