Validate gangway movement against configured security alerts

post

/spms/v1/reservations/gangwaySecurityValidations

This is to validate the gangway movement against configured security alerts

Request

Supported Media Types
Body ()
Root Schema : Gangway Security Configuration
Type: object
Title: Gangway Security Configuration
Gangway Security Configuration
Show Source
  • This value is the primary key for Gangway Security Alert Configurations
    Example: 1
  • Allowed Values: [ "guest", "crew", "visitor" ]
    Indicates which type this account belongs to. P stands for Guest, C for Crew and V for Visitor
  • Allowed Values: [ 0, 1, 2 ]
    Indicates the gangway type. 0 stands for Internal Gate, 1 for Immigration Gate and 2 for Gangway
    Example: 1
  • Allowed Values: [ 0, 1, 2 ]
    Indicates the traffic direction. 0 stands for Both Ways, 1 for Outwards and 2 for Inwards
    Example: 1
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : Gangway Security Validation List
Type: object
Title: Gangway Security Validation List
Gangway Security Validation List
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Gangway Security Configuration
Type: object
Title: Gangway Security Configuration
Gangway Security Configuration
Show Source
  • This value is the primary key for gangway security alert configurations
    Example: 1
  • Minimum Value: 0
    Maximum Value: 500
    The message that is returned whenever the security check failed
    Example: Do not allow minor without guardian to go shoreside
  • Minimum Value: 0
    Maximum Value: 3
    Allowed Values: [ "Override Not Allowed (0)", "Override Allow (1)", "Send Email Alert (2)", "Show Message Only (3)" ]
    All is allowed except for Override Not Allow
    Example: 1
  • This is the id that represents the sound file that is saved in the system
  • This value indicates whether this account violated the security check
    Example: true

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 was forbidden"
}
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":"https://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

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":"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

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