Retrieve attendances list
get
/spms/v2/ships/{shipId}/safety/{safetyMode}/registrations
This is to retrieve attendances list
Request
Supported Media Types
- application/json
Path Parameters
-
safetyMode: string
Values: * `EMERCY` - Emergency Passenger Drill * `GENASS` - General Assembly * `ASHSHP` - Abandon ShipAllowed Values:
[ "EMERCY", "GENASS", "ASHSHP" ]
-
shipId: number
ship Id
Query Parameters
-
actualLifeBoatCode: string
Profile actual registered lifeboat's code
-
actualLifeBoatTypeCode: string
Profile actual registered lifeboat type's code
Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - TenderAllowed Values:[ "LB", "LR", "T" ]
-
actualMusterStationCode: string
Profile actual registered muster station's code
-
contactlessSerialId: string
Profile contactless serial id.
-
expectedLifeBoatCode: string
Profile designated lifeboat's code
-
expectedLifeBoatTypeCode: string
Profile designated lifeboat type's code
Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - TenderAllowed Values:[ "LB", "LR", "T" ]
-
expectedMusterStationCode: string
Profile designated muster station's code.
-
hasSpecialNeeds: boolean
Indicate profile whether has any special needs. If profile's special need remak is not empty then it's considered as true. True: has special needs, False: No special need.
-
isAdult: boolean
Indicate profile whether is an adult. True: Adult, False: Minor
-
isRegistered: boolean
Indicate profile registration status in current safety mode. True: Registered, False: Unregistered.
-
limit: integer(int32)
Minimum Value:
0
Paging limit -
offset: integer(int32)
Minimum Value:
0
Paging offset -
onboardStatus: boolean
Profile onboard status, True: onboard, False: offboard
-
orderBy: string
Minimum Value:
0
order by profileType, profileId, title, salutation, firstName, lastName, middleName, otherFirstName, otherLastName, photo, dateOfBirth, isAdult, reservationStatus, onboardStatus, cruiseId, registrationId, isRegistered, lastRegistrationDateTime, expectedLifeBoatCode, expectedLifeBoatName, expectedMusterStationCode, expectedMusterStationName, actualLifeBoatTypeName, actualLifeBoatCode, actualLifeBoatName, actualMusterStationTypeName, actualMusterStationCode, actualMusterStationName, stateroomNumber, hasSpecialNeeds, totalSpecialNeeds, specialNeedRemarks, crewManningNumber, crewOperationalDepartmentCode, crewOperationalDepartmentDescription, boardCardNumber, externalBoardCardNumber, shipVerticalZoneCode, shipVerticalZoneName with format column1:asc/desc,column2:asc/desc,column3:asc/desc,column4:asc/desc,column5:asc/desc,column6:asc/desc,column7:asc/desc,column8:asc/desc,column9:asc/desc,column10:asc/desc,column11:asc/desc,column12:asc/desc,column13:asc/desc,column14:asc/desc,column15:asc/desc,column16:asc/desc,column17:asc/desc,column18:asc/desc,column19:asc/desc,column20:asc/desc,column21:asc/desc,column22:asc/desc,column23:asc/desc,column24:asc/desc,column25:asc/desc,column26:asc/desc,column27:asc/desc,column28:asc/desc,column29:asc/desc,column30:asc/desc,column31:asc/desc,column32:asc/desc,column33:asc/desc,column34:asc/desc,column35:asc/desc,column36:asc/desc,column37:asc/desc,column38:asc/desc,column39:asc/desc,column40:asc/desc,column41:asc/desc -
profileId: number
Search for the profile id.
-
profileType: string
Search for the profile type.
Values: * `guest` - Guest * `crew` - Crew * `resident` - Resident * `visitor` - VisitorAllowed Values:[ "guest", "crew", "resident", "visitor" ]
-
reservationStatus: string
Search for the reservation status and is supported multiple values.
Values: * `CC` - Checked In * `RR` - Reservation * `RE` - Embark Today * `CL` - Leaving Today * `DD` - DisembarkedAllowed Values:[ "CC", "RR", "RE", "CL", "DD" ]
-
searchValue: string
Maximum Length:
100
Pattern:^[a-zA-Z0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Search for the input text which match the values either in (First Name, Last Name, Stateroom number, Crew manning number, Board card number, External board card number). -
shipVerticalZoneCode: string
Ship vertical zone code. Response show all unassigned ship vertical zone if value is 'null' (case insensitive)
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Profile Response List
Type:
object
Title:
Profile Response List
The wrapper object when returning successful values in Oracle standard
Show Source
-
count(optional):
number
The total number of items in the list.Example:
1
-
hasMore(optional):
boolean
Flag which indicates whether or not there are more items. True: more records for retrieval, False: no more record for retrievalExample:
true
-
items(optional):
array items
-
limit(optional):
number
Paging limitExample:
1
-
offset(optional):
number
Paging offsetExample:
10
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Profile List
Title:
Profile List
The safety profiles are retrieved successfully
Nested Schema : Profile List
Type:
object
Title:
Profile List
The safety profiles are retrieved successfully
Show Source
-
actualLifeBoatCode(optional):
string
Profile registered lifeboat's codeExample:
LB01
-
actualLifeBoatName(optional):
string
Profile registered lifeboat's nameExample:
Lifeboat 01
-
actualLifeBoatTypeCode(optional):
string
Allowed Values:
[ "LB", "LR", "T", "null" ]
Profile registered lifeboat types code. Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - Tender * `null` - No lifeboat type -
actualLifeBoatTypeName(optional):
string
Allowed Values:
[ "LifeBoat", "LifeRaft", "Tender", "null" ]
Profile registered lifeboat type's name. Null represents no lifeboat type. -
actualMusterStationCode(optional):
string
Profile registered muster station's codeExample:
MS01
-
actualMusterStationName(optional):
string
Profile registered muster station's nameExample:
Muster station 01
-
actualMusterStationTypeName(optional):
string
Allowed Values:
[ "Muster Station", "Emergency Station", "Emergency And Muster Station", "null" ]
Profile registered muster station type's name. Null represents no muster station type. -
boardCardNumber(optional):
string
Boardcard numberExample:
12345678
-
contactlessSerialIds(optional):
array contactlessSerialIds
-
crewManningNumber(optional):
string
Crew manning numberExample:
12345678
-
crewOperationalDepartmentCode(optional):
string
Crew operational department codeExample:
12345678
-
crewOperationalDepartmentDescription(optional):
string
Crew operational department descriptionExample:
Reception
-
cruiseId(optional):
integer
Cruise idExample:
123456789
-
dateOfBirth(optional):
string
Profile person's date of birthExample:
1961-11-01
-
expectedLifeBoatCode(optional):
string
Profile designated lifeboat's codeExample:
LB02
-
expectedLifeBoatName(optional):
string
Profile designated lifeboat's nameExample:
Lifeboat 02
-
expectedLifeBoatTypeCode(optional):
string
Allowed Values:
[ "LB", "LR", "T", "null" ]
Profile designated lifeboat type's code. Values: * `LB` - LifeBoat * `LR` - LifeRaft * `T` - Tender * `null` - Unassigned lifeboat or no lifeboat type -
expectedLifeBoatTypeName(optional):
string
Allowed Values:
[ "LifeBoat", "LifeRaft", "Tender", "null" ]
Profile designated lifeboat type's name. Null represents unassigned lifeboat or no lifeboat type. -
expectedMusterStationCode(optional):
string
Profile designated muster station's codeExample:
MS02
-
expectedMusterStationName(optional):
string
Profile designated muster station's nameExample:
Muster station 02
-
externalBoardCardNumber(optional):
string
External boardcard numberExample:
12345678
-
firstName(optional):
string
Profile person's first nameExample:
Jones
-
hasSpecialNeeds(optional):
boolean
Indicate profile whether has any special needs. If profile's special need remak is not empty then it's considered as true. True: has special needs, False: No special need.Example:
true
-
isAdult(optional):
boolean
To indicate person is an adult or minor. True: Adult, False: MinorExample:
true
-
isRegistered(optional):
boolean
Indicate profile registration status in current safety mode. True: Registered, False: Unregistered.Example:
true
-
lastName(optional):
string
Profile person's last nameExample:
David
-
lastRegistrationDateTime(optional):
string(date-time)
The last registration date time of registered or unregistered. This date time value is dependent on 'isRegistered' field - True: Registered, False: Unregistered(Unregistered or never register before). In addition, if the person never register before, this date time value will be nullExample:
2023-01-09T10:30:00.000+06:00
-
middleName(optional):
string
Profile person's middle nameExample:
Robert
-
onboardStatus(optional):
boolean
Profile onboard status, True: onboard, False: offboardExample:
true
-
otherFirstName(optional):
string
Profile person's other first nameExample:
Cruise
-
otherLastName(optional):
string
Profile person's other last nameExample:
Tom
-
photo(optional):
string
Profile photo urlExample:
/guest/102919/photo
-
profileId(optional):
integer
Profile idExample:
123456789
-
profileType(optional):
string
Allowed Values:
[ "guest", "crew", "resident", "visitor" ]
Person profile type: Guest, Resident, Crew, Staff, VisitorExample:guest
-
registrationId(optional):
integer
Profile registration id, only has value when isRegistered is true.Example:
123456789
-
reservationStatus(optional):
string
Allowed Values:
[ "CC", "RR", "RE", "CL", "DD" ]
Profile reservation status, [CC=Checked In, RR=Reservation, RE=Embark today, CL=Leaving today, DD=Disembarked]Example:CC
-
salutation(optional):
string
Profile person's salutationExample:
Mr.
-
shipVerticalZoneCode(optional):
string
Ship vertical zone code. Null represents unassigned ship vertical zone for the stateroom.Example:
ZA
-
shipVerticalZoneName(optional):
string
Ship vertical zone name. Null represents unassigned ship vertical zone for the stateroom.Example:
Zone A
-
specialNeedRemarks(optional):
string
Person special need remarksExample:
Need special care
-
specialNeeds(optional):
array specialNeeds
-
stateroomNumber(optional):
string
Profile stateroom numberExample:
CAB001
-
title(optional):
string
Profile person's titleExample:
Dr.
-
totalSpecialNeeds(optional):
integer
Total count of profile's special needs. If profile's special need remak is not empty then it's considered as one of the special needs.Example:
1
Nested Schema : contactlessSerialIds
Type:
Show Source
array
-
Array of:
string
Title:
List of profile contactless serial id
List of profile contactless serial idExample:888888888888888, 999999999999999
Nested Schema : items
Match All
Show Source
-
object
List of special need code and name
Title:
List of special need code and name
List of special need code and name
Nested Schema : List of special need code and name
Type:
object
Title:
List of special need code and name
List of special need code and name
Show Source
-
code(optional):
string
Special need codeExample:
WH
-
name(optional):
string
Special need nameExample:
Wheelchair
204 Response
No Content
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":"The parameter shipId has incorrect format"
}
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