Release Task
The Release Task API allowd you to release a task which is in 'Held’ status. With this API, external systems can change one or more task statuses to ‘Ready’ from ‘Held’. These tasks can be executed by the assigned user without accessing the web UI. Users who have the Task/ Can hold/release task permission enabled should be able to put a task on ‘Held’ status.
The following are some ways for calling the Release Task API:
Using the Task ID:
POST.../entity/task/{id}/release/
Using the Task Number:
POST.../entity/task/release/
Category | Name | Required | Type | Description |
---|---|---|---|---|
parameters | facility_id | Integer | Facility context by id | |
parameters | facility_id__code | string | Facility context by code | |
parameters | company_id | Integer | Company context by id | |
parameters | company_id__code | string | Company context by code | |
parameters | task_nbr | X | string | Task which needs to be released |
Using the Bulk Task Release:
POST.../entity/task/bulk_release/
The bulk request API allows you to release task ids belonging to the same company in a given request. The API will not support a request containing task ids belonging to multiple companies.
Print Labels
You can print labels during Release Task using the task/release and task/bulk_release APIs.
- By printing LPN labels when the task is being released, you can target printing labels for picking to specific printers
- When you perform Release Task via the Task/Release API for tasks in Held status, the system should print labels configured in the Column Ordering Rule.
The following parameters are added in both task/release and task/bulk_release API:
Category | Name | Type | Description |
---|---|---|---|
parameter | label_printer_name | string | printer context by name |
parameter | document_printer_name | string | printer context by name |
parameter | column_ordering | string | column ordering context by description |
Using the Bulk Release Task
POST.../entity/task/bulk_release/
Request Body:
The transaction is meant for the task entity. Hence, the users are required to send the following parameters in the body.
POST.../entity/task/bulk_release/
{
"parameters": {
"id__in": [01, 02, 03]
},
"options": {
"commit_frequency": "0",
}
}
The bulk request API allows you to release task ids belonging to the same company in a given request. The API will not support a request containing task ids belonging to multiple companies.