Yms apiTask management
POST Stop Task with entryId
POST Stop Task with entryId
Introduction
Completes a yard task associated with a specific entry ticket, marking the task as finished and linking it to the entry's completion. This API is used when tasks are directly tied to entry/exit operations, ensuring that task completion is synchronized with entry ticket status. Commonly used for tasks that must be completed before a carrier can check out of the yard.
API Request
POST /general-task/entry/{entryId}/{taskId}/finish
Request Parameters
Name | Location | Type | Required | Description |
|---|---|---|---|---|
taskId | path | string | Yes | none |
entryId | path | string | Yes | none |
X-Tenant-ID | header | string | No | none |
X-Yard-ID | header | string | No | none |
Item-Time-Zone | header | string | No | none |
Authorization | header | string | No | none |
Response Example
200 Response
Response
Status Code | Definition | Description | Data Model |
|---|---|---|---|
200 | OK | none | RGeneralTaskView |