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": "fab1c6cc-4f32-4a34-a73c-94c9e83eb838", "taskCategory": "200", "expectedCompletionTime": "2026-01-31 14:30", "timeZone": "Europe/London", "inspectionTasks": { "binId": "BIN-12345", "subBinId": "SB-12345-11", "productId": "PROD12345", "batchId": "BATCH12345", "expiry": "01/01/2027", "stockOwner": "OWNER12345", "flagged": "QC Check Required", }}Responses
Section titled “Responses”202: Inspection task group import request accepted
{ "message": "Accepted"}400: Inspection task group import failed validation
{ "message": "Bad Request", "errors": [ { "message": "Task field externalReference must not be null and contain at least 1 non-whitespace character", "path": "externalReference" }, { "message": "Inspection taskCategory must not be null and contain at least 1 non-whitespace character", "path": "taskCategory" }, { "message": "Task field inspectionTasks must not be empty", "path": "inspectionTasks" } ]}401: Access denied, Invalid Authentication
{ "message": "Unauthorized"}