Get Menu Tasks v1

post

/jderest/taskauthorization

Receive a list of authorized tasks based on either a task view ID or the task ID and parent ID with in a task view.

Request

Supported Media Types
Header Parameters
Body ()
The input to the task authorization service.
Root Schema : TaskAuthorizationRequest
Type: object
The input to the task authorization service.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful Execution

400 Response

Bad Request - Invalid JSON Input

403 Response

Authorization Failure

415 Response

Invalid Content-Type Header - Must use application/json

444 Response

Invalid Token
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source

500 Response

Server Failed to Process Request
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source
Back to Top

Examples

Example Request

The following shows an example of a task review request for all the tasks. The token value is from a prior call to the tokenrequest service to establish a session.

{
  "token" : "0446fnE/TjE3oNapGFsQ16gvO794DONzJYDGXlqC1o7srk=MDE5MDA4ODkzNzk0MTg3MDk5MTIxNTkzNU15RGV2aWNlMTQ4MTc1NTQxNjU1Nw==",
  "deviceName" : "MyDevice",
  "ssoEnabled" : false,
  "includeTimings" : false,
  "allowCache" : true,
  "forceUpdate" : false,
  "setDirtyOnly" : false,
  "taskViewId" : "93",
  "level" : 0
}

Example Response

The following example shows the contents of the response body.

{
  "authorizedTasks" : [ {
    "type" : "00",
    "taskDescription" : "Content Development Tools",
    "taskId" : "93",
    "tasks" : [ {
      "type" : "01",
      "taskDescription" : "Work With Tasks",
      "applicationId" : "P9000",
      "taskId" : "005787e7-af4b-11d3-a276-00104b65be64",
      "parentTaskId" : "93"
    }, {
      "type" : "01",
      "taskDescription" : "Work With Task Relationships",
      "applicationId" : "P9000",
      "taskId" : "005787e8-af4b-11d3-a276-00104b65be64",
      "parentTaskId" : "93"
    }, {
      "type" : "01",
      "taskDescription" : "Task Where Used",
      "applicationId" : "P9000",
      "taskId" : "005787e9-af4b-11d3-a276-00104b65be64",
      "parentTaskId" : "93"
    }, {
      "type" : "01",
      "taskDescription" : "Work With Variants",
      "applicationId" : "P9005",
      "taskId" : "005787ed-af4b-11d3-a276-00104b65be64",
      "parentTaskId" : "93"
    }, {
      "type" : "11",
      "taskDescription" : "Roles UDC",
      "applicationId" : "P0004A",
      "taskId" : "8a816cfa-1d3f-11d4-b88d-006008df06c2",
      "parentTaskId" : "93"
    }, {
      "type" : "01",
      "taskDescription" : "Role Relationships",
      "applicationId" : "P95921",
      "taskId" : "8a816cfe-1d3f-11d4-b88d-006008df06c2",
      "parentTaskId" : "93"
    }, {
      "type" : "01",
      "taskDescription" : "Security Workbench",
      "applicationId" : "P00950",
      "taskId" : "8a816d02-1d3f-11d4-b88d-006008df06c2",
      "parentTaskId" : "93"
    } ]
  } ]
}

Example Task Review Level 0 Output

The following shows an example of a task review request for level 0 tasks. The token used is from a prior call to the tokenrequest service.

{
  "token" : "0446fnE/TjE3oNapGFsQ16gvO794DONzJYDGXlqC1o7srk=MDE5MDA4ODkzNzk0MTg3MDk5MTIxNTkzNU15RGV2aWNlMTQ4MTc1NTQxNjU1Nw==",
  "deviceName" : "MyDevice",
  "ssoEnabled" : false,
  "includeTimings" : false,
  "allowCache" : true,
  "forceUpdate" : false,
  "setDirtyOnly" : false,
  "taskViewId" : "93",
  "parentTaskId" : "93",
  "taskId" : "005787e7-af4b-11d3-a276-00104b65be64",
  "level" : 0
}

Example Response Task Review Level 0 Output

The following example shows the contents of the response body.

{
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Work With Tasks",
    "applicationId" : "P9000",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Work With Tasks"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Work With Task Relationships",
    "applicationId" : "P9000",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Work With Task Relationships"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Task Where Used",
    "applicationId" : "P9000",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Task Where Used"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Work With Variants",
    "applicationId" : "P9005",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Work With Variants"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "11",
    "taskDescription" : "Roles UDC",
    "applicationId" : "",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Roles UDC"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Role Relationships",
    "applicationId" : "P95921",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Role Relationships"
  } ]
}
{
  "authorizedTasks" : [ {
    "type" : "01",
    "taskDescription" : "Security Workbench",
    "applicationId" : "P00950",
    "iconPath" : "",
    "taskFlowPath" : "",
    "taskId" : "Security Workbench"
  } ]
}
}
Back to Top