Create a new gangway activity movement
post
/spms/v2/ships/{shipId}/gatewaySecurity/movements/gangway
This is to create a new gangway activity movement
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): integer
Ship identifier Number
Required to create and update gangway security movement
Root Schema : request parameter for gangway security movement
Type:
object
Title:
request parameter for gangway security movement
request parameter for gangway security movement
Show Source
-
confiscatedItemIds:
array confiscatedItemIds
The id of the confiscated item(s)
-
denyStatus:
boolean
Example:
true
-
gateDirection:
number
Example:
2
-
gateLocation:
string
Minimum Length:
1
Maximum Length:50
Pattern:^[ A-Za-z0-9_@./#&+-]*$
Example:Guest Gangway
-
gateMovement:
string
Minimum Length:
1
Maximum Length:30
Pattern:^[ A-Za-z0-9_@./#&+-]*$
Example:Coming On-board
-
gateType:
string
Example:
Gangway
-
manifest:
boolean
Example:
true
-
movementDirection:
string
Minimum Length:
1
Maximum Length:10
Pattern:^[ A-Za-z0-9_@./#&+-]*$
Example:IN
-
offBoardStatus:
boolean
Example:
true
-
overnightTour:
number
Example:
1
-
reservationId(required):
number
Example:
989322
-
warning:
boolean
Example:
true
-
workStation:
string
Minimum Length:
1
Maximum Length:50
Pattern:^[ A-Za-z0-9_@./#&+-]*$
Example:workplace
Nested Schema : confiscatedItemIds
Type:
array
The id of the confiscated item(s)
Show Source
-
Array of:
string
Title:
Confiscated Item ID List
Confiscated Item list
Response
Supported Media Types
- application/json
201 Response
Created
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"title":"Bad Request",
"detail":"The parameter 'accountId' has incorrect format",
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
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
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
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
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"title":"Not Found",
"detail":"Account Id is invalid",
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
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
409 Response
Conflict
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10",
"title":"Conflict",
"detail":"Method Not Allowed"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"https://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
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
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
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://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