POST Update Shuttle Task
POST Update Shuttle Task
Introduction
Updates an existing shuttle task identified by its task ID. This endpoint allows modification of task details such as equipment assignment, source/destination locations, planned schedule, priority, and notes. Only tasks in NEW or IN_PROGRESS status can be updated. The system validates equipment availability, checks for scheduling conflicts, and manages location status changes automatically - releasing the original target location and reserving the new one when the destination changes. If the task is still in NEW status, a push notification is sent to yard users after the update. Supports force-occupy mode for location conflicts via the forceCreate flag.
API Request
POST /public/shuttle-task/{taskId}/update
Body Request Parameters
Request Parameters
Name | Location | Type | Required | Description |
|---|---|---|---|---|
taskId | path | string | Yes | none |
body | body | ShuttleTaskUpdateCmd | No | none |
Response Example
200 Response
Response
Status Code | Definition | Description | Data Model |
|---|---|---|---|
200 | OK | none | RShuttleTaskView |