Retrieve the safety settings
get
/spms/v2/ships/{shipId}/configurations/safety/general
This is to retrieve the safety settings
Request
Supported Media Types
- application/json
Path Parameters
-
shipId: number
Ship Id
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Mustering Safety Settings
Type:
object
Title:
Mustering Safety Settings
Mustering Safety Settings
Show Source
Nested Schema : assemblyHandlingMode
Type:
Show Source
object
-
parName(optional):
string
Parameter NameExample:
Current General Assembly Handling Mode
-
parValue(optional):
integer
Parameter Value (1-Allow anyone to register at the selected muster station, 2-Required user to decide if the mismatch person designated muster station allow to register at the selected muster station, 3-Disallow the mismatch person designated muster station register at the selected muster station)Example:
2
Nested Schema : defaultMusterStation
Type:
Show Source
object
-
parName(optional):
string
Parameter NameExample:
Default Muster Station for visitor
-
parValue(optional):
string
Parameter Value is the muster Station codeExample:
A
Nested Schema : drillForTodayOnly
Type:
Show Source
object
-
parName(optional):
string
Parameter NameExample:
Muster Drill For Today Only
-
parValue(optional):
boolean
Parameter Value is a flag which indicates whether the statistic count for today session only or a full session(previous + today) * `true` - today only * `false` - a full session (previous + today) (default value)Example:
true
Nested Schema : safetyMode
Type:
Show Source
object
-
parName(optional):
string
Parameter NameExample:
Mustering Mode
-
parValue(optional):
integer
Parameter Value (0-Emergency Passenger Drill, 1-Assembly, 2-Abandon Ship)Example:
1
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"The parameter shipId has incorrect format"
}
Nested Schema : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}
Nested Schema : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
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 : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"Ship 123 was not found"
}
Nested Schema : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings 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 : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Example:
{
"type":"https://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 : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16",
"title":"Unsupported Media Type",
"detail":"Content type not supported"
}
Nested Schema : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings 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 : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Mustering Safety Settings Error Response
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
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 : Mustering Safety Settings Error Response
Type:
object
Title:
Mustering Safety Settings Error Response
Mustering Safety Settings Error Response returned when encountered error
Show Source