Create a guest cruise reservation

post

/spms/v2/ships/{shipId}/reservations/guests

This is to create a guest cruise reservation

Request

Supported Media Types
Path Parameters
Body ()
Guest Reservation Post Object
Root Schema : guestReservationPOSTObject
Type: object
Guest Reservation POST Object
Show Source
Nested Schema : document
Type: object
Document
Show Source
Nested Schema : otherParameter
Type: object
Other Parameters
Show Source
Nested Schema : profileInformationPOST
Type: object
Profile Information for Post
Show Source
Nested Schema : guestCategoryPOST
Type: array
Show Source
  • Pattern: [a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
    Guest Category Codes
    Example: GC1
Back to Top

Response

Supported Media Types

201 Response

Created
Body ()
Root Schema : guestReservationGETObject
Type: object
Guest Reservation GET Object
Show Source
Nested Schema : discountTemplate
Type: object
Discount Template
Show Source
  • Pattern: [a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
    Discount Template Code
    Example: A1
  • Discount Template Description
    Example: Loyal Guest
Nested Schema : disembarkationHarbor
Type: object
disembarkationHarbor
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,?/.\-+* ~!@#$%&{}[]()=<>|^'":;@`]*$
    Disembarkation Harbor Code
    Example: D1
  • Disembarkation Harbor Code Description
    Example: To Land
Nested Schema : document
Type: object
Document
Show Source
Nested Schema : embarkationHarbor
Type: object
Embarkation Harbor
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,?/.\-+* ~!@#$%&{}[]()=<>|^'":;@`]*$
    Embarkation Harbor Code
    Example: E1
  • Pattern: [a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
    Embarkation Harbor Code Description
    Example: To Sea
Nested Schema : lifeBoat
Type: object
Life Boat
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,?/.\-+* ~!@#$%&{}[]()=<>|^'":;@`]*$
    Lifeboat Code
    Example: L1
  • Lifeboat Code Description
    Example: Guest Boat A
Nested Schema : musterStation
Type: object
musterStation
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 ]*$
    Musterstation Code
    Example: M1
  • Musterstation Code Description
    Example: Guest Deck 1
Nested Schema : otherParameter
Type: object
Other Parameters
Show Source
Nested Schema : profileInformation
Type: object
Profile Information
Show Source
Nested Schema : gender
Type: object
Gender
Show Source
Nested Schema : guestCategory
Type: array
Show Source
Nested Schema : maritalStatus
Type: object
Marital Status
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,?/.\-+* ~!@#$%&{}[]()=<>|^'":;@`]*$
    Marital Status Code
    Example: S
  • Marital Status Description
    Example: Single
Nested Schema : nationalityStruct
Type: object
Nationality
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[ A-Za-z0-9,'_@./#&+-]*$
    Nationality Code
    Example: MY
  • Nationality Code Description
    Example: Malaysia
Nested Schema : passportIssuedCountry
Type: object
Passport Issued Country
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[ A-Za-z0-9,'_@./#&+-]*$
    Passport Issued Country Code
    Example: MY
  • Passport Issued Country Code Description
    Example: Malaysia
Nested Schema : vip
Type: object
VIP
Show Source
  • Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,?/.\-+* ~!@#$%&{}[]()=<>|^'":;@`]*$
    VIP Code
    Example: L1
  • VIP Code Description
    Example: Minister
Nested Schema : guestCategoryGroup
Type: object
Guest Category Group
Show Source
  • Pattern: [a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
    Guest Category Codes
    Example: GC1
  • Pattern: [a-zA-Z0-9 ] ~!@#$%^&*()_+-<>?/\|,.":;{}[]
    Guest Category Codes Description
    Example: Couple

400 Response

Bad Request
Body ()
Root Schema : schema
Match All
Show Source
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: object
Title: Error Response
Error Response returned when encountered error
Show Source

401 Response

Unauthorized
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

Method Not Supported
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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

Invalid content
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Back to Top