Import an Inspection Task Group
Import a JSON representation of an Inspection task group.
Direction WMS → WCS
HTTP Method POST
Path /api/task/inspection/import
Request Body
Section titled “Request Body”{ "externalReference": "INSPECT-2024-001", "taskCategory": "investigation", "expectedCompletionTime": "2024-12-01 16:00", "timeZone": "Europe/London", "inspectionTasks": { "inspectionTaskId": "INSPECT-TASK-001", "subBinId": "SB-14441-11", "binId": "BIN-12345", "productId": "ABC123", "batchId": "BATCH-2024-11", "expiry": "2025-06-01", "stockOwner": "THG", "flagged": "quality_check", "status": "pending", "expectedQuantity": 5 }}Responses
Section titled “Responses”202: InspectionTaskGroup passed validation
400: InspectionTaskGroup failed validation
401: Access denied, Invalid Authentication
Success Response (202)
Section titled “Success Response (202)”{ "message": "Inspection task group import request accepted", "externalReference": "INSPECT-2024-001", "status": "ACCEPTED"}Error Response (400)
Section titled “Error Response (400)”{ "message": "Invalid expectedCompletionTime format. Expected format is yyyy-MM-dd HH:mm", "status": "BAD_REQUEST"}