NOT FOR PUBLIC DISTRIBUTION: 2020-09-23

Validate and display customized messages for a profile coming onboard

post

/spms/v1/gatewaySecurity/gangway/validations/onboard

Validate gangway coming onboard rules for a profile and to display list of all customized messages to allow or deny the profile for coming onboard

Request

Supported Media Types
Body ()
Root Schema : Gangway Onboard Validations Request
Type: object
Title: Gangway Onboard Validations Request
Gangway Onboard Validations Request
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns the result of the gangway validations check if this person has a record in Onboard Denied List or if the visa requirement is not complied or if minor who must have guardian presented or people are going for any overnight tour based on the supplied resId, profileId, current timestamp, direction.
Body ()
Root Schema : Gangway Onboard Validations
Type: object
Title: Gangway Onboard Validations
Gangway Onboard Validations
Show Source

400 Response

The supplied parameter(s) is not valid
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source
Example Response (application/json)
{
    "movementTitle":"ONBOARD DENIED",
    "gateMovement":"Coming On-board",
    "movementDirection":"ONBOARD",
    "movementMessage":"Welcome back Onboard.",
    "warning":false,
    "accountId":838014,
    "hasOvernightTour":0,
    "overnightTourMessage":"Bruno Eric Michael Jackson Raharison is coming back from an overnight tour.",
    "manifest":true,
    "offboardStatus":false,
    "resultSoundUrl":"/configurations/gangwaySecuritySounds/1234/sound",
    "guardianDetails":"",
    "guardiansMessage":"",
    "guardiansErrorMessage":"",
    "details":[
        {
            "step":"ONBOARD DENIED",
            "override":false,
            "error":{
                "errorPath":"ONBOARD DENIED",
                "message":"Please see the crew purser."
            },
            "soundUrl":"/configurations/gangwaySecuritySounds/4567/sound"
        },
        {
            "step":"VISITOR",
            "override":false,
            "error":{
                "errorPath":"visitorOnboardDenied",
                "message":"The visitor card is expired"
            },
            "soundUrl":"/configurations/gangwaySecuritySounds/8568/sound"
        },
        {
            "step":"SAG",
            "override":true,
            "error":{
                "errorPath":"sag",
                "message":"Do not allow minor without guardian to go shoreside"
            },
            "soundUrl":"/configurations/gangwaySecuritySounds/1456/sound"
        },
        {
            "step":"GUARDIAN",
            "override":false,
            "error":{
                "errorPath":"guardian",
                "message":"Guest is minor, please assign a guardian!"
            },
            "soundUrl":"/configurations/gangwaySecuritySounds/9438/sound"
        }
    ]
}

401 Response

You are not authorized to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

403 Response

You are forbidden to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

404 Response

The Gangway Onboard Validations does not exist
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

This method is not available
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

406 Response

Account Type not valid
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

415 Response

This media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occured while processing this request
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

502 Response

Bad Gateway

503 Response

Service not available
Back to Top