curl -X 'POST' \ '<task_tracker_host>/api/task-tracker-external/tasks/title/templates' \ -H 'accept: application/json' \ -H 'API-Key:<external_api_key>' \ -H 'customerId:<customer_id>' \ -H 'Content-Type: application/json' \ -d '[ "<list_of_tasks>" ]
curl -X 'POST' \ '<task_tracker_host>/api/task-tracker-external/tasks' \ -H 'accept: application/json' \ -H 'API-Key:<external_api_key>' \ -H 'customerId:<customer_id>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "description": "string", "status": "TODO", "priority": "HIGH", "assignedTo": "string", "createdBy": "string", "storeName": "string", "expiryTime": "2022-03-09T13:26:21.634Z"}'
Parameter | Data Type | Description |
---|---|---|
name | String | The name of the task. |
description | String | A description of the task. |
status | String | Possible value: TODO |
priority | String | One of the following values:
|
assignedTo | String | (Optional) PTT Pro login name of the user to which this task is assigned.
If this field is not included, a supervisor will assign the task to a user or group through the PTT Pro for Android . |
assignedGroup | String | (Optional) PTT Pro group to which the task is assigned.
If this field is not included, a supervisor will assign the task to a user or group through the PTT Pro for Android . |
createdBy | String | Name of the supervisor. |
executedBy | String | Name of the associate. |
storeName | String | The name of the store. |
expiryTime | Time in UTC | The time after which the task expires. |