Retrieve a guest profile by guest Id

get

/spms/v2/ships/{shipId}/profiles/guests/{profileId}

This is to retrieve a guest profile by guest Id

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : Guest Profile
Type: object
Title: Guest Profile
Guest Profile Response
Show Source
Nested Schema : birthNation
Type: object
Birth Nation
Show Source
  • Minimum Length: 1
    Maximum Length: 3
    Pattern: ^[ A-Za-z0-9,'_@./#&+-]*$
    Birth Nation Code * `null` if empty
    Example: US
  • Birth Nation Name * `null` if empty
    Example: United States
Nested Schema : contactDetails
Type: object
Contact Details
Show Source
  • Minimum Length: 1
    Maximum Length: 30
    Pattern: ^[0-9 \+\-\(\)]*$
    Temporary Phone Number * `null` if empty
    Example: 4413563590
  • Minimum Length: 1
    Maximum Length: 50
    Pattern: ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
    Email Address * `null` if empty
    Example: email@example.com
  • Minimum Length: 1
    Maximum Length: 30
    Pattern: ^[0-9 \+\-\(\)]*$
    Emergency Contact Mobile Phone Number * `null` if empty
    Example: 0173443434
  • Minimum Length: 1
    Maximum Length: 40
    Emergency Contact Name * `null` if empty
    Example: Emmeline
  • Minimum Length: 1
    Maximum Length: 30
    Pattern: ^[0-9 \+\-\(\)]*$
    Emergency Contact Phone Number * `null` if empty
    Example: +(62) 3962999
  • Minimum Length: 1
    Maximum Length: 30
    Pattern: ^[0-9 \+\-\(\)]*$
    Mobile Number * `null` if empty
    Example: 62-39629630
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 : gpdNationalityStruct
Type: object
Nationality
Show Source
Nested Schema : gpdPassportDetailsResponse
Type: object
Passport Details
Show Source
Nested Schema : preferredLanguage
Type: object
Preferred Language
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[ A-Za-z0-9,'_@./#&+-]*$
    Preferred Language Code
    Example: EN
  • Preferred Language Description
    Example: English
Nested Schema : gpdVip
Type: object
VIP
Show Source
Nested Schema : gpdPassportIssuedCountry
Type: object
Passport Issued Country
Show Source

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":"The parameter 'profileId' has incorrect format"
}
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:
{
    "title":"Not Found",
    "type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
    "detail":"Ship 186000000404 was not found"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

Method Not Allowed
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 Allowed",
    "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

Unsupported Media Type
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "title":"Invalid content",
    "type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16",
    "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":"https://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":"https://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