AMCS Group Instance API
The Instance API from AMCS Group — 5 operation(s) for instance.
The Instance API from AMCS Group — 5 operation(s) for instance.
openapi: 3.0.1
info:
title: Core AccessGroup Instance API
version: core
tags:
- name: Instance
paths:
/services/api/workflow/instances/changes:
get:
tags:
- Instance
parameters:
- name: since
in: query
schema:
type: string
- name: cursor
in: query
schema:
type: string
- name: links
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceChanges[ApiWorkflowInstanceResource]'
/services/api/workflow/instances/template:
get:
tags:
- Instance
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceResult[ApiWorkflowInstanceResource]'
/services/api/workflow/instances/{id}:
get:
tags:
- Instance
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: links
in: query
schema:
type: string
- name: include
in: query
schema:
type: string
- name: expand
in: query
schema:
type: string
- name: udf
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceResultEntity[ApiWorkflowInstanceResource]'
put:
tags:
- Instance
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceId'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceId'
delete:
tags:
- Instance
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResource'
/services/api/workflow/instances/{id}/blob/{blobMemberName}:
get:
tags:
- Instance
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: blobMemberName
in: path
required: true
schema:
type: string
- name: fileName
in: query
schema:
type: string
- name: contentType
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
format: binary
/services/api/workflow/instances:
get:
tags:
- Instance
parameters:
- name: filter
in: query
schema:
type: string
- name: search
in: query
schema:
type: string
- name: order
in: query
schema:
type: string
- name: max
in: query
schema:
type: string
- name: page
in: query
schema:
type: string
- name: includeCount
in: query
schema:
type: string
- name: includeDeleted
in: query
schema:
type: string
- name: links
in: query
schema:
type: string
- name: udf
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceResultCollection[ApiWorkflowInstanceResource]'
post:
tags:
- Instance
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceId'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceId'
components:
schemas:
ApiResourceResult[ApiWorkflowInstanceResource]:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
resource:
$ref: '#/components/schemas/AMCS.Data.Entity.Workflow.ApiWorkflowInstance'
additionalProperties: false
ApiResourceResultUpdatesExtra:
type: object
properties:
until:
type: string
nullable: true
cursor:
type: string
nullable: true
additionalProperties: false
ApiResourceId:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
resource:
type: integer
format: int32
additionalProperties: false
ApiResourceResultEntity[ApiWorkflowInstanceResource]:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
resource:
$ref: '#/components/schemas/AMCS.Data.Entity.Workflow.ApiWorkflowInstance'
links:
$ref: '#/components/schemas/ApiResourceResultEntityLinks'
extra:
$ref: '#/components/schemas/ApiResourceResultEntityExtra'
additionalProperties: false
ApiResourceErrors:
type: object
properties:
errors:
type: string
nullable: true
additionalProperties: false
ApiResourceChanges[ApiWorkflowInstanceResource]:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
resource:
type: array
items:
$ref: '#/components/schemas/AMCS.Data.Entity.Workflow.ApiWorkflowInstance'
nullable: true
extra:
$ref: '#/components/schemas/ApiResourceResultUpdatesExtra'
additionalProperties: false
ApiResourceResultCollectionExtra:
type: object
properties:
count:
type: integer
format: int32
nullable: true
additionalProperties: false
AMCS.Data.Entity.Workflow.ApiWorkflowInstance:
type: object
properties:
isValid:
type: boolean
readOnly: true
id:
type: integer
format: int32
nullable: true
readOnly: true
id32:
type: integer
format: int32
readOnly: true
guid:
type: string
format: uuid
nullable: true
lastChangeReasonId:
type: integer
format: int32
nullable: true
tempIdentifier:
type: string
nullable: true
providerName:
type: string
nullable: true
tenantId:
type: string
nullable: true
workflowInstanceId:
type: string
format: uuid
workflowDefinitionId:
type: string
format: uuid
definitionName:
type: string
nullable: true
state:
type: string
nullable: true
started:
type: string
format: dateTime
example: '2000-01-01 00:00:00.000'
userContext:
type: string
nullable: true
statusId:
type: integer
format: int32
status:
type: string
nullable: true
additionalProperties: false
ApiResource:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
additionalProperties: false
ApiResourceResultEntityExtra:
type: object
properties:
expand:
type: object
additionalProperties:
type: object
additionalProperties: {}
nullable: true
nullable: true
include:
type: object
additionalProperties:
type: array
items:
type: object
additionalProperties: {}
nullable: true
nullable: true
additionalProperties: false
ApiResourceResultCollection[ApiWorkflowInstanceResource]:
type: object
properties:
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
resource:
type: array
items:
$ref: '#/components/schemas/AMCS.Data.Entity.Workflow.ApiWorkflowInstance'
nullable: true
extra:
$ref: '#/components/schemas/ApiResourceResultCollectionExtra'
additionalProperties: false
ApiResourceResultEntityLinks:
type: object
properties:
self:
type: string
nullable: true
associations:
type: array
items:
type: string
nullable: true
expand:
type: array
items:
type: string
nullable: true
operations:
type: array
items:
type: string
nullable: true
additionalProperties: false
ApiResourceStatus:
type: object
properties:
id:
type: integer
format: int32
nullable: true
isSuccess:
type: boolean
additionalProperties: false