NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
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
- application/json
Root Schema : Gangway Security Configuration
Type:
object
Title:
Gangway Security Configuration
Gangway Security Configuration
Show Source
-
accountId:
integer
This value is the primary key for Gangway Security Alert ConfigurationsExample:
1
-
accountType:
string
Allowed Values:
[ "guest", "crew", "visitor" ]
Indicates which type this account belongs to. P stands for Guest, C for Crew and V for Visitor -
gangwayType:
integer
Allowed Values:
[ 0, 1, 2 ]
Indicates the gangway type. 0 stands for Internal Gate, 1 for Immigration Gate and 2 for GangwayExample:1
-
trafficDirection:
integer
Allowed Values:
[ 0, 1, 2 ]
Indicates the traffic direction. 0 stands for Both Ways, 1 for Outwards and 2 for InwardsExample:1
Response
Supported Media Types
- application/json
200 Response
Returns the result of the security check based on the supplied account id
Root Schema : Oracle Response object containing list items
Type:
object
Title:
Oracle Response object containing list items
The wrapper object when returning a list of objects in Oracle standard
Show Source
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Gangway Security Configuration
Title:
Gangway Security Configuration
Gangway Security Configuration
Nested Schema : Gangway Security Configuration
Type:
object
Title:
Gangway Security Configuration
Gangway Security Configuration
Show Source
-
id(optional):
integer
This value is the primary key for gangway security alert configurationsExample:
1
-
message(optional):
string
Minimum Value:
0
Maximum Value:500
The message that is returned whenever the security check failedExample:Do not allow minor without guardian to go shoreside
-
override(optional):
integer
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 AllowExample:1
-
soundId(optional):
integer
This is the id that represents the sound file that is saved in the system
-
violated(optional):
boolean
This value indicates whether this account violated the security checkExample:
true
400 Response
The supplied parameter(s) is not valid
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
401 Response
You are not authorized to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
403 Response
You are forbidden to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
404 Response
The Gangway Security Alert Configurations does not exist
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
405 Response
This method is not available
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
406 Response
Account Type not valid
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
415 Response
This media supplied is not supported
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occured while processing this request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
502 Response
Bad Gateway
503 Response
Service not available