Retrieve all the active lifeboats count per safety mode
get
/spms/v2/ships/{shipId}/safety/{safetyMode}/analytics/lifeBoats/count
This is to retrieve all the active lifeboats count per safety mode
Request
Supported Media Types
- application/json
Path Parameters
-
safetyMode: string
Values: * `ASHSHP` - Abandon ShipAllowed Values:
[ "ASHSHP" ]
-
shipId: number
ship Id
Query Parameters
-
lifeBoatTypeCode: string
Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - Tender * `null` - Receive a response that shows a count of profiles that does not have designated lifeboat and designated/registered lifeboat without boat type definedAllowed Values:
[ "LB", "LR", "T", "null" ]
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Mustering all registration list
Type:
object
Title:
Mustering all registration list
The mustering all registration lifeboats list is retrieved successfully
Show Source
-
lifeBoats(optional):
array lifeBoats
-
pending(optional):
object allPendingLifeboatCategoryCountResponse
Total count of people not yet register in lifeboat
-
registered(optional):
object allRegisteredLifeboatCategoryCountResponse
Total count of people registered in all lifeboats
-
total(optional):
object allTotalLifeboatCategoryCountResponse
Grand total (Sum of registered person count and pending registration person count)
Nested Schema : lifeBoats
Type:
Show Source
array
-
Array of:
object allLifeboatListResponse
Total count of people registered and unregistered for each lifeboat
Nested Schema : allPendingLifeboatCategoryCountResponse
Type:
object
Total count of people not yet register in lifeboat
Show Source
-
adult(optional):
integer
Total adult countExample:
170
-
all(optional):
integer
Sum of guest, resident, visitor and crew.Example:
200
-
crew(optional):
integer
Total crew countExample:
30
-
guest(optional):
integer
Total guest countExample:
150
-
minor(optional):
integer
Total minor countExample:
30
-
resident(optional):
integer
Total resident countExample:
15
-
specialNeeds(optional):
integer
Total special needs countExample:
5
-
unassigned(optional):
integer
Total count of people with no lifeboat assignedExample:
10
-
visitor(optional):
integer
Total visitor countExample:
5
Nested Schema : allRegisteredLifeboatCategoryCountResponse
Type:
object
Total count of people registered in all lifeboats
Show Source
-
adult(optional):
integer
Total adult countExample:
170
-
all(optional):
integer
Sum of guest, resident, visitor and crew.Example:
200
-
crew(optional):
integer
Total crew countExample:
30
-
guest(optional):
integer
Total guest countExample:
150
-
minor(optional):
integer
Total minor countExample:
30
-
resident(optional):
integer
Total resident countExample:
15
-
specialNeeds(optional):
integer
Total special needs countExample:
5
-
visitor(optional):
integer
Total visitor countExample:
5
Nested Schema : allTotalLifeboatCategoryCountResponse
Type:
object
Grand total (Sum of registered person count and pending registration person count)
Show Source
-
adult(optional):
integer
Total adult countExample:
340
-
all(optional):
integer
Sum of guest, resident, visitor and crew.Example:
400
-
crew(optional):
integer
Total crew countExample:
60
-
guest(optional):
integer
Total guest countExample:
300
-
minor(optional):
integer
Total minor countExample:
60
-
resident(optional):
integer
Total resident countExample:
30
-
specialNeeds(optional):
integer
Total special needs countExample:
10
-
visitor(optional):
integer
Total visitor countExample:
10
Nested Schema : allLifeboatListResponse
Type:
object
Total count of people registered and unregistered for each lifeboat
Show Source
-
lifeBoatCode(optional):
string
Lifeboat code. Null represents unassigned lifeboat.Example:
LB02
-
lifeBoatId(optional):
integer
Unique lifeboat Identifier. Null represents unassigned lifeboat.Example:
123456789
-
lifeBoatName(optional):
string
Lifeboat name. Null represents unassigned lifeboat.Example:
Lifeboat 02
-
lifeBoatTypeCode(optional):
string
Allowed Values:
[ "LB", "LR", "T", "null" ]
Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - Tender * `null` - Unassigned lifeboat or no lifeboat type -
lifeBoatTypeName(optional):
string
Allowed Values:
[ "LifeBoat", "LifeRaft", "Tender", "null" ]
Lifeboat type name. Null represents unassigned lifeboat or no lifeboat type. -
totalDesignated(optional):
integer
Total count of people designated at this lifeboatExample:
300
-
totalPending(optional):
integer
Total count of people not yet register at this lifeboatExample:
200
-
totalRegistered(optional):
integer
Total count of people registered at this lifeboatExample:
200
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users error response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"Safety mode ABC is invalid."
}
Nested Schema : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users error response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"This resource path does not exist"
}
Nested Schema : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users error response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.11",
"title":"Gone",
"detail":"Requested Resource no longer exists"
}
Nested Schema : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users error response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2",
"title":"Not implemented",
"detail":"Resource is not implemented in this version of the API"
}
Nested Schema : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Users Error Response
Title:
Users Error Response
Users 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 : Users Error Response
Type:
object
Title:
Users Error Response
Users error response returned when encountered error
Show Source