#Task schedule checkpoints
#API actions
API path: /task/schedule/checkpoint.
#delete
Deletes a checkpoint from route and reorder others.
If route has two checkpoints then use transmute on the other checkpoint, because route must have
at least two checkpoints.
#Parameters
| name | description | type |
|---|---|---|
| checkpoint_id | Checkpoint ID. | int |
#Examples
curl -X POST 'https://api.mergroup.be/task/schedule/checkpoint/delete' \
-H 'Content-Type: application/json' \
-d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "checkpoint_id": 11231}'https://api.mergroup.be/task/schedule/checkpoint/delete?hash=a6aa75587e5c59c32d347da438505fc3&checkpoint_id=11231#Response
{ "success": true }#Errors
General types only.
#transmute
Transmutes a checkpoint to task and delete its route and other checkpoints in the route.
#Parameters
| name | description | type |
|---|---|---|
| checkpoint_id | Checkpoint ID. | int |
#Examples
curl -X POST 'https://api.mergroup.be/task/schedule/checkpoint/transmute' \
-H 'Content-Type: application/json' \
-d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "checkpoint_id": 11231}'https://api.mergroup.be/task/schedule/checkpoint/transmute?hash=a6aa75587e5c59c32d347da438505fc3&checkpoint_id=11231#Response
{ "success": true }#Errors
General types only.