Skip to content

Import a Task Group

Import a JSON representation of a task group.

Direction WMS → WCS

HTTP Method POST

Path /api/task/pick/import

{
"externalReference": "ORDER-2024-001",
"taskCategory": "100",
"expectedCompletionTime": "2024-12-01 14:30",
"timeZone": "Europe/London",
"shippingBarcode": "SHIP123456789",
"shipmentType": "Priority",
"containerRegex": "^CTR[0-9]{6}$",
"packagingSuggestion": "MediumBox",
"courier": "DHL",
"tasks": [
{
"taskId": "TASK-001",
"externalReference": "LINE-001",
"productId": "ABC123",
"batchId": "BATCH-2024-11",
"expiry": "2025-06-01",
"stockOwner": "THG",
"requestedQuantity": 3
},
{
"taskId": "TASK-002",
"externalReference": "LINE-002",
"productId": "DEF456",
"stockOwner": "THG",
"requestedQuantity": 1
}
],
"externalCustomerOrderId": "CUST-ORDER-789",
"externalCustomerBatchId": "BATCH-ABC-001",
"highPriorityTaskGroup": false,
"prePackMessages": [
"Handle with care",
"Fragile items included"
],
"postPackMessages": [
"Thank you for your order",
"Track your package online"
]
}

202: TaskGroup passed validation

400: TaskGroup failed validation

401: Access denied, Invalid Authentication

{
"message": "Task group import request accepted",
"status": "ACCEPTED"
}
{
"message": "Invalid expectedCompletionTime format. Expected format is yyyy-MM-dd HH:mm",
"status": "BAD_REQUEST"
}