Azure.Analytics.Purview.Workflow (preview:2022-05-01)

2025/12/05 • 14 deleted methods

ListWorkflows (removed)
Description List all workflows.
Reference Link ¶

⚼ Request

GET:  /workflows
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
triggers:
[
{
type: enum ,
underGlossaryHierarchy: string ,
underCollection: string ,
underGlossary: string ,
}
,
]
,
createdTime: string ,
createdBy: string ,
lastUpdateTime: string ,
updatedBy: string ,
name: string ,
isEnabled: boolean ,
description: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
GetWorkflow (removed)
Description Get a specific workflow.
Reference Link ¶

⚼ Request

GET:  /workflows/{workflowId}
{
workflowId: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
CreateOrReplaceWorkflow (removed)
Description Create or replace a workflow.
Reference Link ¶

⚼ Request

PUT:  /workflows/{workflowId}
{
workflowId: string ,
workflowCreateOrUpdateCommand:
{
triggers:
[
{
type: enum ,
underGlossaryHierarchy: string ,
underCollection: string ,
underGlossary: string ,
}
,
]
,
name: string ,
isEnabled: boolean ,
description: string ,
actionDag: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
DeleteWorkflow (removed)
Description Delete a workflow.
Reference Link ¶

⚼ Request

DELETE:  /workflows/{workflowId}
{
workflowId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
SubmitUserRequests (removed)
Description Submit a user request for requestor, a user request describes user ask to do operation(s) on Purview. If any workflow's trigger matches with an operation in request, a run of the workflow is created.
Reference Link ¶

⚼ Request

POST:  /userrequests
{
userRequestsPayload:
{
operations:
[
{
type: enum ,
payload: object ,
}
,
]
,
comment: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
requestId: string ,
requestor: string ,
operations:
[
{
type: enum ,
payload: object ,
workflowRunIds:
[
string ,
]
,
}
,
]
,
comment: string ,
status: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
ListWorkflowRuns (removed)
Description List workflow runs.
Reference Link ¶

⚼ Request

GET:  /workflowruns
{
api-version: string ,
timeWindow: string ,
orderby: string ,
runStatuses: array ,
workflowIds: array ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
workflowId: string ,
startTime: string ,
requestor: string ,
userRequestId: string ,
runPayload:
{
type: enum ,
targetValue: string ,
}
,
status: enum ,
endTime: string ,
cancelTime: string ,
cancelComment: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
GetWorkflowRun (removed)
Description Get a workflow run.
Reference Link ¶

⚼ Request

GET:  /workflowruns/{workflowRunId}
{
api-version: string ,
workflowRunId: string ,
}

⚐ Response (200)

{
id: string ,
workflowId: string ,
startTime: string ,
requestor: string ,
userRequestId: string ,
runPayload:
{
type: enum ,
targetValue: string ,
payload: object ,
}
,
status: enum ,
endTime: string ,
cancelTime: string ,
cancelComment: string ,
actionDag: object ,
detail:
{
runInput: object ,
actions: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
CancelWorkflowRun (removed)
Description Cancel a workflow run.
Reference Link ¶

⚼ Request

POST:  /workflowruns/{workflowRunId}/cancel
{
api-version: string ,
workflowRunId: string ,
runCancelReply:
{
comment: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
ListWorkflowTasks (removed)
Description Get all workflow tasks.
Reference Link ¶

⚼ Request

GET:  /workflowtasks
{
api-version: string ,
viewMode: string ,
workflowIds: array ,
timeWindow: string ,
maxpagesize: integer ,
orderby: string ,
taskTypes: array ,
taskStatuses: array ,
workflowNameKeyword: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
id: string ,
title: string ,
workflowRunId: string ,
workflowId: string ,
requestor: string ,
createdTime: string ,
lastUpdateTime: string ,
payload:
{
type: enum ,
targetValue: string ,
payload: object ,
}
,
reminderInfo:
{
lastRemindTime: string ,
nextRemindTime: string ,
reminderSettings: object ,
}
,
expiryInfo:
{
lastExpiryNotificationTime: string ,
nextExpiryNotificationTime: string ,
expiryTime: string ,
expirySettings:
{
expireAfter: object ,
notifyOnExpiration:
[
string ,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
GetWorkflowTask (removed)
Description Get a workflow task.
Reference Link ¶

⚼ Request

GET:  /workflowtasks/{taskId}
{
taskId: string ,
}

⚐ Response (200)

{
type: enum ,
id: string ,
title: string ,
workflowRunId: string ,
workflowId: string ,
requestor: string ,
createdTime: string ,
lastUpdateTime: string ,
payload:
{
type: enum ,
targetValue: string ,
payload: object ,
}
,
reminderInfo:
{
lastRemindTime: string ,
nextRemindTime: string ,
reminderSettings: object ,
}
,
expiryInfo:
{
lastExpiryNotificationTime: string ,
nextExpiryNotificationTime: string ,
expiryTime: string ,
expirySettings:
{
expireAfter: object ,
notifyOnExpiration:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
ApproveApprovalTask (removed)
Description Approve an approval task.
Reference Link ¶

⚼ Request

POST:  /workflowtasks/{taskId}/approve-approval
{
taskId: string ,
api-version: string ,
approvalResponseComment:
{
comment: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
RejectApprovalTask (removed)
Description Reject an approval task.
Reference Link ¶

⚼ Request

POST:  /workflowtasks/{taskId}/reject-approval
{
taskId: string ,
api-version: string ,
approvalResponseComment:
{
comment: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
ReassignWorkflowTask (removed)
Description Reassign a workflow task.
Reference Link ¶

⚼ Request

POST:  /workflowtasks/{taskId}/reassign
{
taskId: string ,
api-version: string ,
reassignCommand:
{
reassignments:
[
{
reassignFrom: string ,
reassignTo: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
UpdateTaskStatus (removed)
Description Update the status of a workflow task request.
Reference Link ¶

⚼ Request

POST:  /workflowtasks/{taskId}/change-task-status
{
taskId: string ,
taskUpdateCommand:
{
newStatus: enum ,
comment: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}