List discussions
GET/flow_instances/:flowInstanceId/relationships/container_instances/:containerInstanceId/relationships/process_instances/:processInstanceId/relationships/task_instances/:taskInstanceId/artifact/discussions
The list of the discussions that left in the Fill Form and Form Approval
Request
Path Parameters
The workflow instance id
The container instance id
The process instance id
The task instance id
Query Parameters
The attributes that will be returned together with Task instances discussions
Discussions can be filtered by the field instance
Header Parameters
Every request should has X-Domain Header, in the UUIDv4 format. The X-Domain can be get from the Tenant Integrations page
An X-API-KEY key is a token that a client provides with a X-API-SECRET when making API calls, used instead of the JWT
An X-API-SECRET key is a token that a client provides with a X-API-KEY when making API calls, used instead of the JWT
Responses
- 200
- 401
- 404
- 500
The request was successful
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
The id of the field instance
attributes
object
The title of the field instance
Possible values: [checkbox
, date
, file
, html
, label
, radio
, select
, service_file
, slider
, text
, textarea
]
The system supported a few types of the fields
The reference of the field
The id of the field instance after which the current filed instance is placed in the section instance. If the field instance is first in the section instance, the value will be null
The flag that indicate that the field instance will not or will be shown in the print
The flag that indicates that the filed instance will not or will be shown in the Fill Form
The date and time when the field instance was created
The date and time when the field instance was last time updated
relationships
object
discussion_instances
object
The instance of the discussions that was left to the field instance
data
object[]
The id of the service instance file
attributes
object
The id of the author of the discussion instance
The type of the author of the discussion instance
The text of the discussion instance
The flag that show that discussion can be resolved or not
The flag that show that discussion resolved or not
The date and time when the discussion instance was created
The date and time when the discussion instance was last time updated
relationships
object
author
object
The user who leaves the discussion
data
object
Author it is a user who create entity
The id of the user who create entity
attributes
object
The type of the author of the discussion instance
The scope of the author of the discussion instance
The email of the author of the discussion instance
The date and time when the author of the discussion instance was archived
relationships
object
profile
object
data
object
The id of the profile registered user
attributes
object
The user first name
The user last name
The user avatar in the JPG, PNG, and max size of 5Mb
The international phone code
The phone number of the user
This field is a string and can be used as a position of the user in the company or some other information
The date and time of the user creation
The date and time when the info in the user profile was changed
{
"data": {
"type": "field_instances",
"id": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"attributes": {
"title": "Simple Field Name",
"type": "text",
"reference": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"after": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"printable": true,
"invisible": true,
"created_at": "2016-01-01 12:00:00",
"updated_at": "2016-01-01 12:00:00"
},
"relationships": {
"discussion_instances": {
"data": [
{
"type": "form_instances_section_instances_field_instances_discussion_instances",
"id": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"attributes": {
"author_id": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"author_type": "users",
"text": "Discussion text",
"resolvable": true,
"resolved": true,
"created_at": "2016-01-01 12:00:00",
"updated_at": "2016-01-01 12:00:00"
},
"relationships": {
"author": {
"data": {
"type": "authors",
"id": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"attributes": {
"type": "users",
"scope": "string",
"email": "example@example.com",
"archived_at": "2016-01-01 12:00:00"
},
"relationships": {
"profile": {
"data": {
"type": "users_profile",
"id": "t318a31a-0bcf-48d1-9350-a6ae499007c0",
"attributes": {
"first_name": "John",
"last_name": "Doe",
"avatar": "string",
"phone_code": "1",
"phone_number": "(111) 111-11-11",
"position": "string",
"created_at": "2016-01-01 12:00:00",
"updated_at": "2016-01-01 12:00:00"
}
}
}
}
}
}
}
}
]
}
}
}
}
Unauthorized exception
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The response status code of the error
The title of the error
{
"status": 401,
"code": 0,
"title": "Unauthorized"
}
The response body of the Not Found Error
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The response status code of the error
The title of the error
{
"status": 404,
"code": 404,
"title": "Not Found"
}
That means something has gone wrong on the server, and the server returns more specific about what the exact problem is
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The type of the error
The status of the error
The title of the error
The request body
The internal trace
{
"id": {},
"type": "errors",
"links": [
"string"
],
"status": 0,
"code": 0,
"title": "string",
"detail": "string",
"source": {},
"meta": {}
}