Task schedule checkpoints

API actions for manipulating schedule checkpoint entries similarly to regular route 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.eu.navixy.com/v2/task/schedule/checkpoint/delete' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "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.eu.navixy.com/v2/task/schedule/checkpoint/transmute' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "checkpoint_id": 11231}'

Response

{ "success": true }

Errors

General types only.

Last updated

Was this helpful?