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(required): string
Values: * `ASHSHP` - Abandon ShipAllowed Values:
[ "ASHSHP" ] -
shipId(required): 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:
objectTitle:
Mustering all registration listThe mustering all registration lifeboats list is retrieved successfully
Show Source
-
lifeBoats:
array lifeBoats
-
pending:
object allPendingLifeboatCategoryCountResponse
Total count of people not yet register in lifeboat
-
registered:
object allRegisteredLifeboatCategoryCountResponse
Total count of people registered in all lifeboats
-
total:
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:
objectTotal count of people not yet register in lifeboat
Show Source
-
adult:
integer
Total adult countExample:
170 -
all:
integer
Sum of guest, resident, visitor and crew.Example:
200 -
crew:
integer
Total crew countExample:
30 -
guest:
integer
Total guest countExample:
150 -
minor:
integer
Total minor countExample:
30 -
resident:
integer
Total resident countExample:
15 -
specialNeeds:
integer
Total special needs countExample:
5 -
unassigned:
integer
Total count of people with no lifeboat assignedExample:
10 -
visitor:
integer
Total visitor countExample:
5
Nested Schema : allRegisteredLifeboatCategoryCountResponse
Type:
objectTotal count of people registered in all lifeboats
Show Source
-
adult:
integer
Total adult countExample:
170 -
all:
integer
Sum of guest, resident, visitor and crew.Example:
200 -
crew:
integer
Total crew countExample:
30 -
guest:
integer
Total guest countExample:
150 -
minor:
integer
Total minor countExample:
30 -
resident:
integer
Total resident countExample:
15 -
specialNeeds:
integer
Total special needs countExample:
5 -
visitor:
integer
Total visitor countExample:
5
Nested Schema : allTotalLifeboatCategoryCountResponse
Type:
objectGrand total (Sum of registered person count and pending registration person count)
Show Source
-
adult:
integer
Total adult countExample:
340 -
all:
integer
Sum of guest, resident, visitor and crew.Example:
400 -
crew:
integer
Total crew countExample:
60 -
guest:
integer
Total guest countExample:
300 -
minor:
integer
Total minor countExample:
60 -
resident:
integer
Total resident countExample:
30 -
specialNeeds:
integer
Total special needs countExample:
10 -
visitor:
integer
Total visitor countExample:
10
Nested Schema : allLifeboatListResponse
Type:
objectTotal count of people registered and unregistered for each lifeboat
Show Source
-
lifeBoatCode:
string
Lifeboat code. Null represents unassigned lifeboat.Example:
LB02 -
lifeBoatId:
integer
Unique lifeboat Identifier. Null represents unassigned lifeboat.Example:
123456789 -
lifeBoatName:
string
Lifeboat name. Null represents unassigned lifeboat.Example:
Lifeboat 02 -
lifeBoatTypeCode:
string
Allowed Values:
[ "LB", "LR", "T", "null" ]Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - Tender * `null` - Unassigned lifeboat or no lifeboat type -
lifeBoatTypeName:
string
Allowed Values:
[ "LifeBoat", "LifeRaft", "Tender", "null" ]Lifeboat type name. Null represents unassigned lifeboat or no lifeboat type. -
totalDesignated:
integer
Total count of people designated at this lifeboatExample:
300 -
totalPending:
integer
Total count of people not yet register at this lifeboatExample:
200 -
totalRegistered:
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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers 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 ResponseUsers 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:
objectTitle:
Users Error ResponseUsers error response returned when encountered error
Show Source