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
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
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
Nested Schema : items
Type: array
Show Source
Nested Schema : User Group List
Type: object
Title: User Group List
The safety user groups are retrieved successfully
Show Source
Nested Schema : mainTask
Type: array
Show Source
Nested Schema : items
Match All
Show Source
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
Nested Schema : subTask
Type: array
Show Source
Nested Schema : items
Match All
Show Source
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
Nested Schema : access
Type: array
Show Source
Nested Schema : items
Match All
Show Source
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

204 Response

No Content

400 Response

Bad Request
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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
Back to Top