Requests
Pending Access Requests
Method: GET
Purpose: This Endpoint gets you the list of pending requests.
Endpoint:
api/core/user-requests
Example API Endpoint:
https://gke9.iamsath.com/api/core/user-requests?filter=%7B%22userLogin%22:%22jerome%22%7D&offset=1&limit=10&count=%22%22
Query String Parameter
Query Parameter | Data Type | Description | Example Value |
---|---|---|---|
Filter | Multi Value. | Filter has a mandatory value which is the userLogin . Then there are more additional filters which are: relevance , status | jerome, myrequest, “Waiting for Fulfillment” |
Offset | integer | The Offset query parameter is used to exclude from a response the first N items from the response. You can combine the Limit and the Offset parameters to request a particular set of items | 1 |
Limit | integer | For pagination, the limit of entries to be returned. | 20 |
count | integer | This allows you to specify the number of matches for the query. | 10 |
Example Response
{
"_embedded" : [
{
"IDM" : "IDE",
"_etag" : {
"$oid" : "64ef2ca4048c2400071af823"
},
"_id" : {
"$oid" : "64ef2ca41aacd5b900430e37"
},
"beneficiary" : {
"_id" : {
"$oid" : "63aec79793ccdf675cc4d018"
},
"displayName" : "Jerome Fern",
"employeeNumber" : "IAMSATHE026",
"login" : "jerome"
},
"collection" : "UserRequest",
"correlationId" : "9fe8b3d99c314110811ad4069ef9cc9c",
"createDate" : "2023-08-30T11:48:52.397Z",
"entity" : {
"IDM" : "IDE",
"ITOwner" : "derrick",
"_id" : {
"$oid" : "63aec73493ccdf675cc4c210"
},
"applicationURL" : "https://workspace.google.com/",
"approvalWorkflow" : "Auto Approval",
"approvalWorkflowDisplayName" : "Auto Approval",
"archiveId" : "63b706dc453e140ec451d088",
"authenticationType" : "",
"businessOwner" : "derrick",
"collection" : "TargetSystem",
"connectionCredentials" : "",
"connectorPassword" : "",
"connectorURL" : "",
"connectorUserName" : "",
"createdOn" : "2022-12-30T11:10:44.245Z",
"description" : "Google Documents, Spreadsheets, Calendar",
"disabled" : false,
"displayName" : "Google Workspace",
"form" : [
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "displayName",
"name" : "Display Name",
"syncDirection" : "app-to-idhub"
},
{
"dataType" : "string",
"isAccountName" : true,
"isMultiValue" : false,
"isReconKey" : true,
"isRequired" : true,
"matchingAttribute" : "login",
"name" : "User Login",
"syncDirection" : "no-sync"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "email",
"name" : "Email",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "phoneNumber",
"name" : "Phone Number",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "firstName",
"name" : "First Name",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "lastName",
"name" : "Last Name",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "department",
"name" : "Department",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "jobTitle",
"name" : "Job Title",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "managerLogin",
"name" : "Manager Login",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "managerDisplayName",
"name" : "Manager Display Name",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "status",
"name" : "Status",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "location",
"name" : "Location",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressLine1",
"name" : "Home Address Line 1",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressCity",
"name" : "Home Address City",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressState",
"name" : "Home Address State",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressZipcode",
"name" : "Home Address Zip Code",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressLine1",
"name" : "Office Address Line 1",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressCity",
"name" : "Office Address City",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressZipcode",
"name" : "Office Address Zip Code",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressState",
"name" : "Office Address State",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "userType",
"name" : "User Type",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "organizationName",
"name" : "Organization Name",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "employeeNumber",
"name" : "Employee Number",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "provisionedDate",
"name" : "Provisioned Date",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "createDate",
"name" : "Create Date",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressLine2",
"name" : "Home Address Line 2",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressLine2",
"name" : "Office Address Line 2",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "homeAddressCountry",
"name" : "Home Address Country",
"syncDirection" : "bi-directional"
},
{
"dataType" : "string",
"isAccountName" : false,
"isMultiValue" : false,
"isReconKey" : false,
"isRequired" : false,
"matchingAttribute" : "officeAddressCountry",
"name" : "Office Address Country",
"syncDirection" : "bi-directional"
}
],
"integrationLevel" : "Disconnected",
"isCertifiable" : "",
"isRequestable" : true,
"logoURL" : "Logo.files/63aec73493ccdf675cc4c210/binary",
"name" : "Google Workspace",
"performer" : "Manual Fulfiller",
"reconSchedule" : "",
"requestFormId" : "",
"requestFormName" : "",
"riskLevel" : "low",
"schedule" : {
"repeat" : "Do not repeat"
},
"searchTags" : "All Employees",
"trustedReconciliation" : true,
"workflowRequestFormId" : ""
},
"history" : "",
"justification" : "test",
"payload" : {
"accountName" : "jerome",
"entityId" : "63aec73493ccdf675cc4c210",
"entityType" : "TargetSystem",
"type" : "revoke"
},
"requestId" : "8e1e3",
"requestType" : "Access",
"requester" : {
"displayName" : "Jerome Fern",
"employeeNumber" : "IAMSATHE026",
"login" : "jerome"
},
"resolution" : "Initiated",
"status" : "Waiting for Fulfillment",
"workflow" : {
"_id" : {
"$oid" : "63aec1a68773337a0e61403b"
},
"category" : [
"application",
"entitlement"
],
"createdBy" : "idhub",
"createdByDisplayName" : "IDHub Admin",
"createdOn" : "2021-01-01T01:19:13.418Z",
"default" : true,
"description" : "Auto approval workflow for application",
"disabled" : false,
"displayName" : "Auto Approval",
"name" : "Auto Approval",
"progressSteps" : [
"started",
"inProgress",
"waiting"
],
"requestFormId" : "",
"requestFormName" : "",
"searchTags" : "auto, application, entitlement, approval",
"states" : [
"Request Submitted",
"Waiting for Fulfillment",
"Request Completed"
],
"status" : "Active",
"workflowDefinition" : {
"cells" : [
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Request Submitted",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "65d52fd5-0886-4c10-b412-d092218d3fc9",
"position" : {
"x" : -576,
"y" : -198
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.stateNode",
"z" : 1
},
{
"action" : "Start",
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(0, 200, 83, 0.2)",
"stroke" : "#00c853",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Start",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "4640f3a3-eb7c-4024-887b-c3236c997103",
"position" : {
"x" : -355,
"y" : -198
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.actionNode",
"z" : 2
},
{
"attrs" : { },
"id" : "d3586688-330a-4a6d-a3b5-92cff3b02e57",
"source" : {
"id" : "65d52fd5-0886-4c10-b412-d092218d3fc9"
},
"target" : {
"id" : "4640f3a3-eb7c-4024-887b-c3236c997103"
},
"type" : "standard.Link",
"z" : 3
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(251, 234, 174, 0.5)",
"rx" : 22,
"ry" : 22,
"stroke" : "#ffa726",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Complete Approval",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "2dc77377-521d-44c3-b120-05a5c2e9bbf5",
"position" : {
"x" : -126,
"y" : -198
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.completeApproval",
"z" : 14
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Waiting for Dependent Request",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "466a09a7-d71b-4aa1-a5d3-9a7654704931",
"position" : {
"x" : -137,
"y" : -114
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 202
},
"state" : "Waiting for Dependent Request",
"type" : "standard.Rectangle.stateNode",
"z" : 17
},
{
"action" : "Fulfill",
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(0, 200, 83, 0.2)",
"stroke" : "#00c853",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Fulfill",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "888828db-94a1-4440-b5c1-d26460772140",
"position" : {
"x" : -126,
"y" : -23
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.actionNode",
"z" : 19
},
{
"attrs" : { },
"id" : "488383e9-129a-4c4f-be7d-f660bc987088",
"source" : {
"id" : "466a09a7-d71b-4aa1-a5d3-9a7654704931"
},
"target" : {
"id" : "888828db-94a1-4440-b5c1-d26460772140"
},
"type" : "standard.Link",
"z" : 20
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Request Approved",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "33e9def8-0158-4f50-8d6e-9674ca7f6ac9",
"position" : {
"x" : -431,
"y" : -23
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"state" : "Request Approved",
"type" : "standard.Rectangle.stateNode",
"z" : 21
},
{
"attrs" : { },
"id" : "b346e171-5b86-4fe0-b0ec-8f98944e3633",
"source" : {
"id" : "33e9def8-0158-4f50-8d6e-9674ca7f6ac9"
},
"target" : {
"id" : "888828db-94a1-4440-b5c1-d26460772140"
},
"type" : "standard.Link",
"z" : 22
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#94e2ff",
"stroke" : "#0022c8",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Connected Application",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"condition" : "return ((entity.collection === 'TargetSystem' && entity.integrationLevel === 'Connected') || (entity.collection === 'Entitlement' && entity.targetSystem.integrationLevel === 'Connected') ) ;",
"id" : "d83b4ef3-9cb4-4de9-91fa-f97d5c7abb82",
"position" : {
"x" : 167,
"y" : -23
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.conditionNode",
"z" : 23
},
{
"attrs" : { },
"id" : "64cda7ee-d2f6-4ca9-8cc3-f0008c3671f1",
"source" : {
"id" : "888828db-94a1-4440-b5c1-d26460772140"
},
"target" : {
"id" : "d83b4ef3-9cb4-4de9-91fa-f97d5c7abb82"
},
"type" : "standard.Link",
"z" : 24
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#94e2ff",
"stroke" : "#0022c8",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Disconnected Application",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"condition" : "return ((entity.collection === 'TargetSystem' && entity.integrationLevel === 'Disconnected') || (entity.collection === 'Entitlement' && entity.targetSystem.integrationLevel === 'Disconnected') ) ;",
"id" : "49cf2388-15b8-459c-b8a2-b0dd9019a884",
"position" : {
"x" : -126,
"y" : 62
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.conditionNode",
"z" : 25
},
{
"attrs" : { },
"id" : "9c73b572-07b7-486f-93b3-b6f22239ad1c",
"source" : {
"id" : "888828db-94a1-4440-b5c1-d26460772140"
},
"target" : {
"id" : "49cf2388-15b8-459c-b8a2-b0dd9019a884"
},
"type" : "standard.Link",
"z" : 26
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Waiting for Fulfillment",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "dc9c447c-d076-4613-90bb-44e82910186f",
"position" : {
"x" : 167,
"y" : 163
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"state" : "Waiting for Fulfillment",
"type" : "standard.Rectangle.stateNode",
"z" : 27
},
{
"attrs" : { },
"id" : "a03202e7-5d98-460d-9676-a443f85ae1f1",
"source" : {
"id" : "d83b4ef3-9cb4-4de9-91fa-f97d5c7abb82"
},
"target" : {
"id" : "dc9c447c-d076-4613-90bb-44e82910186f"
},
"type" : "standard.Link",
"z" : 28
},
{
"angle" : 0,
"assigneeGroup" : "$performer",
"assigneeType" : "Group",
"attrs" : {
"body" : {
"fill" : "rgba(251, 234, 174, 0.5)",
"rx" : 22,
"ry" : 22,
"stroke" : "#ffa726",
"strokeWidth" : 1,
"xlink:href" : "src/assets/icons/waiting.svg"
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Fulfillment Task",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"escalationAllowed" : true,
"expiry" : 15,
"formName" : "",
"id" : "a20ff3dd-fde9-4a7f-b41c-94d084a93d64",
"modality" : "Both",
"position" : {
"x" : -126,
"y" : 163
},
"possibleActions" : [
{
"action" : "PerformerReject",
"displayName" : "Reject"
},
{
"action" : "Complete",
"displayName" : "Complete"
}
],
"reassignmentAllowed" : true,
"recipient" : [
"$assignee"
],
"sendNotification" : true,
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"taskName" : "Fulfillment Task",
"taskType" : "FulfillmentTask",
"templateName" : "Task Created for Manual Fulfillment",
"title" : "$entity#displayName",
"type" : "standard.Rectangle.createTask",
"z" : 29
},
{
"attrs" : { },
"id" : "3ed23e7c-f546-4b6d-8d12-a7e5e8a6e00d",
"source" : {
"id" : "49cf2388-15b8-459c-b8a2-b0dd9019a884"
},
"target" : {
"id" : "a20ff3dd-fde9-4a7f-b41c-94d084a93d64"
},
"type" : "standard.Link",
"z" : 30
},
{
"attrs" : { },
"id" : "0c71798b-aada-454e-80d8-8bf33b2ceafe",
"source" : {
"id" : "a20ff3dd-fde9-4a7f-b41c-94d084a93d64"
},
"target" : {
"id" : "dc9c447c-d076-4613-90bb-44e82910186f"
},
"type" : "standard.Link",
"z" : 31
},
{
"action" : "Complete",
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(0, 200, 83, 0.2)",
"stroke" : "#00c853",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Complete",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "4b2f7e55-e75a-45ee-abe0-2dfd835bfa44",
"position" : {
"x" : 167,
"y" : 261
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.actionNode",
"z" : 32
},
{
"attrs" : { },
"id" : "3fbdcf91-d730-4667-9965-1ef48f0ffb60",
"source" : {
"id" : "dc9c447c-d076-4613-90bb-44e82910186f"
},
"target" : {
"id" : "4b2f7e55-e75a-45ee-abe0-2dfd835bfa44"
},
"type" : "standard.Link",
"z" : 33
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(251, 234, 174, 0.5)",
"rx" : 22,
"ry" : 22,
"stroke" : "#ffa726",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Complete Request",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "05cd1006-d527-4695-a368-6e72715f09b0",
"position" : {
"x" : 167,
"y" : 375
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.completeRequest",
"z" : 34
},
{
"attrs" : { },
"id" : "b2deb9c0-8abb-494c-84da-058ba5e1338e",
"source" : {
"id" : "4b2f7e55-e75a-45ee-abe0-2dfd835bfa44"
},
"target" : {
"id" : "05cd1006-d527-4695-a368-6e72715f09b0"
},
"type" : "standard.Link",
"z" : 35
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Request Completed",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "89a84095-ec6b-443b-8eec-8f08aa757f0c",
"isResolution" : true,
"position" : {
"x" : 167,
"y" : 485
},
"resolution" : "Success",
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"state" : "Request Completed",
"type" : "standard.Rectangle.stateNode",
"z" : 36
},
{
"attrs" : { },
"id" : "b8bb75f3-89af-4fb3-b902-ce5de2c36977",
"source" : {
"id" : "05cd1006-d527-4695-a368-6e72715f09b0"
},
"target" : {
"id" : "89a84095-ec6b-443b-8eec-8f08aa757f0c"
},
"type" : "standard.Link",
"z" : 37
},
{
"action" : "PerformerReject",
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(0, 200, 83, 0.2)",
"stroke" : "#00c853",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Performer Reject",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "b7956720-0fc3-4743-af22-0a0323485abe",
"position" : {
"x" : 414,
"y" : 163
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.actionNode",
"z" : 38
},
{
"attrs" : { },
"id" : "1b8956c2-10e0-4c2a-a379-bf2868f6ea4c",
"source" : {
"id" : "dc9c447c-d076-4613-90bb-44e82910186f"
},
"target" : {
"id" : "b7956720-0fc3-4743-af22-0a0323485abe"
},
"type" : "standard.Link",
"z" : 39
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#e2e5f9",
"stroke" : "#4159d5",
"strokeDasharray" : 4,
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Request Completed",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "ab5181c0-be93-4da5-8747-e1f093532e49",
"isResolution" : true,
"position" : {
"x" : 414,
"y" : 362
},
"resolution" : "Rejected",
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"state" : "Request Completed",
"type" : "standard.Rectangle.stateNode",
"z" : 40
},
{
"attrs" : { },
"id" : "6d0d2aca-0872-486f-a7a6-79dd8b83de10",
"source" : {
"id" : "4640f3a3-eb7c-4024-887b-c3236c997103"
},
"target" : {
"id" : "2dc77377-521d-44c3-b120-05a5c2e9bbf5"
},
"type" : "standard.Link",
"z" : 42
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "rgba(251, 234, 174, 0.5)",
"rx" : 22,
"ry" : 22,
"stroke" : "#ffa726",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Reject Fulfillment",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"id" : "fc451dac-f758-42ca-9083-e4c627c16e52",
"position" : {
"x" : 414,
"y" : 261
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.rejectFulfillment",
"z" : 43
},
{
"attrs" : { },
"id" : "4166f90e-014d-4015-ae86-f68a9a422d51",
"source" : {
"id" : "b7956720-0fc3-4743-af22-0a0323485abe"
},
"target" : {
"id" : "fc451dac-f758-42ca-9083-e4c627c16e52"
},
"type" : "standard.Link",
"z" : 44
},
{
"attrs" : { },
"id" : "5ab628a7-94a0-4107-b5f4-ba399296bc55",
"source" : {
"id" : "fc451dac-f758-42ca-9083-e4c627c16e52"
},
"target" : {
"id" : "ab5181c0-be93-4da5-8747-e1f093532e49"
},
"type" : "standard.Link",
"z" : 45
},
{
"angle" : 0,
"attrs" : {
"body" : {
"fill" : "#94e2ff",
"stroke" : "#0022c8",
"strokeWidth" : 1
},
"label" : {
"fill" : "#25262b",
"fontFamily" : "Hind",
"fontStretch" : "Normal",
"fontStyle" : "Normal",
"fontWeight" : "Normal",
"letterSpacing" : 0.2,
"text" : "Dependent Request",
"textVerticalAnchorcell" : "middle",
"transform" : "none"
},
"root" : {
"dataTooltipPosition" : "left",
"dataTooltipPositionSelector" : ".joint-stencil"
}
},
"condition" : "return (entity.collection === 'UserRequest' && entity.dependentRequestId !== undefined) ;",
"id" : "2f58787c-7ffa-4645-96ae-f204e4ed5a19",
"position" : {
"x" : 217,
"y" : -198
},
"shapeSize" : {
"height" : 40,
"width" : 154
},
"size" : {
"height" : 40,
"width" : 180
},
"type" : "standard.Rectangle.conditionNode",
"z" : 46
},
{
"attrs" : { },
"id" : "432cfde9-cb2a-4c14-bdee-99a2e189ae09",
"source" : {
"id" : "2dc77377-521d-44c3-b120-05a5c2e9bbf5"
},
"target" : {
"id" : "2f58787c-7ffa-4645-96ae-f204e4ed5a19"
},
"type" : "standard.Link",
"z" : 47
},
{
"attrs" : { },
"id" : "253595ea-081a-461c-ac7b-c40f689eda24",
"source" : {
"id" : "2f58787c-7ffa-4645-96ae-f204e4ed5a19"
},
"target" : {
"x" : 66,
"y" : -97
},
"type" : "standard.Link",
"vertices" : [
{
"x" : 307,
"y" : -97
}
],
"z" : 48
}
]
}
},
"workflowName" : "Auto Approval"
}
],
"_returned" : 1,
"_size" : 1,
"total_pages" : 1
}
Create Request
Method: POST
Purpose: This Endpoint lets you create a request for an application or entitlement for a user.
Endpoint:
https://gke9.iamsath.com/api/core/cart/submit
Request PayLoad Example
{"cartItems":[{"entityId":"63aee29093ccdf675cc61d43","entityType":"TargetSystem","beneficiaries":[{"login":"jerome","displayName":"Jerome Fern","employeeNumber":"IAMSATHE026","form":{"First Name":"Jerome","Last Name":"Fern","Email":"jerome@iamsath.com","User Login":"jerome","Phone Number":"847-569-5478"},"type":"create"}]}],"requester":{"login":"jerome","displayName":"Jerome Fern","employeeNumber":"IAMSATHE026"},"name":"default","owner":"User/63aec79793ccdf675cc4d018","_id":"64f080c5155f25ef2fb6c3b0","justification":"kk","modifiedOn":"2023-08-31T12:07:59.568Z","archive":false,"accessToken":null}
note
- You have to enter the
EntityID
and theentityType
in the request payload - Make sure that the type should be
create
Response Example
{
"correlationId" : "76a6d6106f0d487aaf5891568ca49c58",
"result" : true
}
Revoke Request
Method: POST
Purpose: This Endpoint lets you make a revoke request for an (application or entitlement) from a user profile.
Endpoint:
https://gke9.iamsath.com/api/core/cart/submit
Request PayLoad Example
{"cartItems":[{"entityId":"63aec73493ccdf675cc4c210","entityType":"TargetSystem","beneficiaries":[{"login":"jerome","displayName":"Jerome Fern","employeeNumber":"IAMSATHE026","type":"revoke","accountName":"jerome"}]}],"requester":{"login":"jerome","displayName":"Jerome Fern","employeeNumber":"IAMSATHE026"},"justification":"test","name":"default","accessToken":null,"archive":"false"}
note
- You have to enter the
EntityID
and theentityType
in the request payload - Make sure that the type should be
revoke
Response Example
{
"correlationId" : "4d6dd73ab9984698aabfc657b2c604ad",
"result" : true
}
Withdraw Request
Method: POST
Purpose: This Endpoint lets you withdraw an incomplete request.
Endpoint:
https://gke9.iamsath.com/api/core/user-request/{request_id}/withdraw
Example API Endpoint:
https://gke9.iamsath.com/api/core/user-request/64ef0f501aacd5b9003f1145/withdraw
Request PayLoad Example
{"userLogin":"jerome","accessToken":null}
Response Example
{
"IDM" : "IDE",
"_id" : "64ef0f501aacd5b9003f1145",
"beneficiary" : {
"displayName" : "Jerome Fern",
"employeeNumber" : "IAMSATHE026",
"login" : "jerome"
},
"collection" : "UserRequest",
"correlationId" : "b1a484ba15b44b36b9c1986409e7ace2",
"createDate" : "2023-08-30T09:43:44.233Z",
"history" : "",
"justification" : "d",
"payload" : {
"entityId" : "63aee29093ccdf675cc61d43",
"entityType" : "TargetSystem",
"form" : {
"Email" : "jerome@iamsath.com",
"First Name" : "Jerome",
"Last Name" : "Fern",
"Phone Number" : "847-569-5478",
"User Login" : "jerome"
},
"type" : "create"
},
"requestId" : "7a3c7",
"requestType" : "Access",
"requester" : {
"displayName" : "Jerome Fern",
"employeeNumber" : "IAMSATHE026",
"login" : "jerome"
},
"resolution" : "Withdrawn",
"result" : true,
"status" : "Request Completed",
"workflowName" : "Group Approval"
}