Tasks

Get all workflow tasks

get

Retrieves all workflow tasks

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
taskstringOptional

Type of the task

Example: task1
serviceProviderIdintegerOptional

ID of the service provider

Example: 1
schedulerAppointmentTypeIdintegerOptional

ID of the scheduler appointment type

Example: 1
workflowAutomationIdintegerOptional

ID of the work flow automation

Example: 1
activebooleanOptional

Whether the task is active

Default: trueExample: true
userTypestring · enumOptional

Type of the user

Example: CONSUMERPossible values:
sortFieldstringOptional

Sort field

Example: name
sortOrderstring · enumOptional

Sort order

Example: ASCPossible values:
pageNumberinteger · min: 1Optional

Page number

Example: 1
pageSizeinteger · min: 1Optional

Page size

Example: 10
searchKeystringOptional

Search key

Example: search
Responses
chevron-right
200Success
application/json
get
/api/workflow-automation/tasks
200Success

Create workflow task

post

Creates a new workflow task

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
taskstring · enumRequired

Type of the task

Example: task1Possible values:
serviceProviderIdintegerOptional

ID of the service provider

Example: 1
schedulerAppointmentTypeIdintegerOptional

ID of the scheduler appointment type

Example: 1
typestring · enumRequired

Type of workflow

Example: AUTOMATEDPossible values:
workflowAutomationIdintegerOptional

ID of the work flow automation

Example: 1
surveyIdintegerOptional

ID of the survey

Example: 1
slaintegerRequired

Service Level Agreement time

Example: 60
slaDateTimeone ofOptional

Service Level Agreement date and time

Example: 2023-10-01T12:00:00Z
string · dateOptional
or
string · date-timeOptional
attributesanyOptional

Additional attributes in JSON format

activebooleanOptional

Whether the task is active

Default: trueExample: true
namestringOptional

Name of the task

Default: Appointment reminder taskExample: 123
userTypestring · enumOptional

Type of the user

Example: CONSUMERPossible values:
Responses
chevron-right
200Success
application/json
Responseany
post
/api/workflow-automation/tasks
200Success

No content

Get workflow task by ID

get

Retrieves a specific workflow task

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
taskIdnumberRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
application/json
Responseany
get
/api/workflow-automation/tasks/{taskId}
200Success

No content

Update workflow task

put

Updates an existing workflow task

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
taskIdnumberRequiredPattern: [^\/#\?]+?
Body
namestringOptional

Name of the task

Example: Task 1
taskstringOptional

Type of the task

Example: task1
serviceProviderIdintegerOptional

ID of the service provider

Example: 1
typestring · enumOptional

Type of workflow

Example: AUTOMATEDPossible values:
schedulerAppointmentTypeIdintegerOptional

ID of the scheduler appointment type

Example: 1
workflowAutomationIdintegerOptional

ID of the work flow automation

Example: 1
slaintegerOptional

Service Level Agreement time

Example: 60
slaDateTimeone ofOptional

Service Level Agreement date and time

Example: 2023-10-01T12:00:00Z
string · dateOptional
or
string · date-timeOptional
attributesanyOptional

Additional attributes in JSON format

activebooleanOptional

Whether the task is active

Default: trueExample: true
userTypestring · enumOptional

Type of the user

Example: CONSUMERPossible values:
Responses
chevron-right
200Success
application/json
Responseany
put
/api/workflow-automation/tasks/{taskId}
200Success

No content

Delete workflow task

delete

Deletes an existing workflow task

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
taskIdnumberRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
application/json
Responseany
delete
/api/workflow-automation/tasks/{taskId}
200Success

No content

Was this helpful?