Retrieve a list of active mustering access rights for each active user group
get
/spms/v2/ships/{shipId}/safety/userGroups/accessRoleTasks
This is to retrieve a list of mustering access rights for each active user group.
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 userGroupId, userGroupCode, userGroupDescription 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 -
userGroupId: integer
User group id
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : User Group Response List
Type:
object
Title:
User Group 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 Group List
Title:
User Group List
The safety user groups are retrieved successfully
Nested Schema : User Group List
Type:
object
Title:
User Group List
The safety user groups are retrieved successfully
Show Source
-
mainTask:
array mainTask
-
userGroupCode:
string
Group codeExample:
SAFE
-
userGroupDescription:
string
Group descriptionExample:
Safety Department
-
userGroupId:
integer
Group idExample:
1
Nested Schema : items
Match All
Show Source
-
object
List of User Group Main Tasks
Title:
List of User Group Main Tasks
List of user group main tasks
Nested Schema : List of User Group Main Tasks
Type:
object
Title:
List of User Group Main Tasks
List of user group main tasks
Show Source
-
subTask:
array subTask
-
taskId:
integer
Task IDExample:
1
-
taskName:
string
Task NameExample:
Mustering
Nested Schema : items
Match All
Show Source
-
object
List of User Group Sub Tasks
Title:
List of User Group Sub Tasks
List of user group sub tasks
Nested Schema : List of User Group Sub Tasks
Type:
object
Title:
List of User Group Sub Tasks
List of user group sub tasks
Show Source
-
access:
array access
-
taskId:
integer
Task IDExample:
1002
-
taskName:
string
Task NameExample:
Registration
Nested Schema : items
Match All
Show Source
-
object
List of User Group Predefined Access
Title:
List of User Group Predefined Access
List of user group predefined access
Nested Schema : List of User Group Predefined Access
Type:
object
Title:
List of User Group Predefined Access
List of user group predefined access
Show Source
-
accessId:
integer
Access IDExample:
1001
-
accessName:
string
Access NameExample:
Register profile
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