Retrieve a list of active mustering user details
get
/spms/v2/ships/{shipId}/safety/users
This is to retrieve a list of active mustering user details.
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
ship Id
Query Parameters
-
limit: integer(int32)
Minimum Value:
0
Paging limit -
offset: integer(int32)
Minimum Value:
0
Paging offset -
orderBy: string
Minimum Value:
0
order by userDescription, crewName, position, userId, username, photo with format column1:asc/desc,column2:asc/desc,column3:asc/desc,column4:asc/desc,column5:asc/desc,column6:asc/desc -
userId: integer
User id
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : User Response List
Type:
object
Title:
User Response List
The wrapper object when returning successful values in Oracle standard
Show Source
-
count:
number
The total number of items in the list.Example:
1
-
hasMore:
boolean
Flag which indicates whether or not there are more items.Example:
false
-
items:
array items
-
limit:
number
Paging limitExample:
1
-
offset:
number
Paging offsetExample:
10
Nested Schema : items
Type:
Show Source
array
-
Array of:
object User List
Title:
User List
The safety users are retrieved successfully
Nested Schema : User List
Type:
object
Title:
User List
The safety users are retrieved successfully
Show Source
-
contactlessIds:
array contactlessIds
-
crewName:
string
User full nameExample:
Adam Koh
-
photo:
string
Profile photo urlExample:
/guest/102919/photo
-
position:
string
User crew positionExample:
Safety Officer
-
userDescription:
string
User login descriptionExample:
Adman house
-
userGroups:
array userGroups
-
userId:
integer
User idExample:
10001
-
username:
string
User login nameExample:
Adam2
Nested Schema : contactlessIds
Type:
Show Source
array
-
Array of:
string
Title:
List of User Rfids
List of user rfidsExample:888888888888888, 999999999999999
Nested Schema : userGroups
Type:
Show Source
array
-
Array of:
object User Current Group List
Title:
User Current Group List
User current group list
Nested Schema : User Current Group List
Type:
object
Title:
User Current Group List
User current group list
Show Source
-
code:
string
User group codeExample:
SAFE
-
id:
integer
User group idExample:
1
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":"Ship Id could not be found"
}
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
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