Update crew reservation

put

/spms/v2/ships/{shipId}/reservations/crews/{reservationId}

This is to update a crew reservation record.

Request

Supported Media Types
Path Parameters
Body ()
Crew reservation request
Root Schema : crewReservationRequest
Type: object
Crew reservation request
Show Source
Nested Schema : discountTemplate
Type: object
Discount Template
Show Source
Nested Schema : guestCategories
Type: array
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,\?/\.\-\\+\* ~!@#$%&{}\[\]()=<>\|\^\'\":;@`]*$
    Guest Category Code
    Example: GCAT
Nested Schema : otherParameter
Type: object
Other Parameter
Show Source
Nested Schema : paymentDetails
Type: object
Payment Details
Show Source
Nested Schema : profileInformationRequest
Type: object
Profile information request
Show Source
Back to Top

Response

Supported Media Types

200 Response

Updated
Body ()
Root Schema : crewReservationResponse
Type: object
Crew Reservation response
Show Source
Nested Schema : discountTemplate
Type: object
Discount Template
Show Source
Nested Schema : guestCategoryGET
Type: array
Show Source
Nested Schema : lifeBoat
Type: object
Life Boat
Show Source
Nested Schema : musterStation
Type: object
Muster Station
Show Source
  • Maximum Length: 6
    Pattern: ^[ A-Za-z0-9,'_@./#&+-]*$
    Muster Station Code
    Example: M
  • Muster Station Code Description
    Example: Guest Deck 1
Nested Schema : otherParameter
Type: object
Other Parameter
Show Source
Nested Schema : paymentDetails
Type: object
Payment Details
Show Source
Nested Schema : profileInformationResponse
Type: object
Profile information response
Show Source
Nested Schema : reservationId
Type: object
Reservation Id
Show Source
Nested Schema : guestCategoryGETGroup
Type: object
Guest Category Items
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 _,\?/\.\-\\+\* ~!@#$%&{}\[\]()=<>\|\^\'\":;@`]*$
    Guest Category Code
    Example: GCAT
  • Guest Category Code Description
    Example: Guest Category
Nested Schema : departmentPosition
Type: object
Department Position
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Department Position Code
    Example: D1001
  • Department Position Description
    Example: STAFF CAPTAIN
Nested Schema : gender
Type: object
Gender
Show Source
Nested Schema : maritalStatus
Type: object
Marital Status
Show Source
  • Minimum Length: 1
    Maximum Length: 6
    Pattern: ^[a-zA-Z0-9 ]{1,6}$
    Marital Status Code
    Example: D
  • Marital Status Description
    Example: Single
Nested Schema : nationality
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 : operationalDepartment
Type: object
Operational Department
Show Source
Nested Schema : passportIssuedCountry
Type: object
Passport Issued Country
Show Source
Nested Schema : seamanBookIssuedCountry
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 shipId 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":"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
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 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 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

409 Response

Conflict
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10",
    "title":"Conflict",
    "detail":"Reservation cannot be updated because reservation status is 'DD' or 'RX'"
}
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:
{
    "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

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 Unavailable. Try again later"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source
Back to Top