Retrieve configured access
get
/spms/v2/ships/{shipId}/roleManagers/accessRoleTasks
This is to retrieve the configured access
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
ship Id
Query Parameters
-
accessName: string
Access Name
-
limit: integer(int32)
Minimum Value:
0Paging limit -
mainTaskName: string
Main Task Name
-
offset: integer(int32)
Minimum Value:
0Paging offset -
orderBy: string
Minimum Value:
0order by mainTaskName, subTaskName, accessName with format column1:asc/desc,column2:asc/desc -
searchValue: string
Search value
-
subTaskName: string
Sub Task Name
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : List of Access Role Tasks
Type:
objectTitle:
List of Access Role TasksList of Access Role Tasks
Show Source
-
count:
integer
Example:
12345678 -
hasMore:
boolean
Example:
true -
items:
array items
-
limit:
integer
Example:
10 -
offset:
integer
Example:
1
Nested Schema : items
Type:
Show Source
array-
Array of:
object Main Tasks
Title:
Main TasksMain Tasks
Example:
[
{
"totalCount":1,
"taskId":2,
"taskName":"Guest Handling",
"subTask":[
{
"taskId":3,
"taskName":"Profile",
"access":[
{
"accessId":4,
"accessName":"Create"
}
]
}
]
}
]Nested Schema : Main Tasks
Type:
objectTitle:
Main TasksMain Tasks
Show Source
-
subTask:
array subTask
-
taskId:
integer
Minimum Value:
1Pattern:^[0-9]*$Task IDExample:1001 -
taskName:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Task NameExample:Profile -
totalCount:
integer
Minimum Value:
0Pattern:^[0-9]*$Total Count of Sub TaskExample:8
Nested Schema : subTask
Type:
Show Source
array-
Array of:
object Sub Tasks
Title:
Sub TasksSub Tasks
Nested Schema : Sub Tasks
Type:
objectTitle:
Sub TasksSub Tasks
Show Source
-
access:
array access
-
taskId:
integer
Minimum Value:
1Pattern:^[0-9]*$Task IDExample:1001 -
taskName:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Task NameExample:Profile
Nested Schema : Accesses
Type:
objectTitle:
AccessesAccesses
Show Source
-
accessId:
integer
Minimum Value:
1Pattern:^[0-9]*$Access IDExample:1001 -
accessName:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Access NameExample:Create
204 Response
No Content
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"Limit must not be less than one!"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"This resource path does not exist"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16",
"title":"Invalid content",
"detail":"Content type not supported"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source