Job Services
This document describes, how to use the the technology adapter to create, monitor and cancel jobs.
Supported Jobs
To try it out you can use our API reference.
Monitor a Job
The creation of an job returns a JSON object containing a stateUrl
. By polling this URL the state of this created job
can be monitored.
The current job state contains a state
property which can be PENDING
, RUNNING
, SUCCEEDED
or FAILED
.
- Pending
-
The job is received and queued to be executed.
- Running
-
The job is currently running.
- Succeeded
-
The job finished successfully and the result can be loaded from
resultUrl
. - Failed
-
The job encountered an unrecoverable error during execution. See
stateMessage
for hints why this error happened.
Supported Jobs
SheetProgramJob
The SheetProgramJob consumes a product layout, a sheet, machine, material information and attributes. Produces a NC program which can be executed on a machine.
NestingSheetProgramJob
The NestingSheetProgramJob consumes a list of product orders. It starts by calculating an optimized nesting that fits all product orders. This results in one or more different sheets. Subsequently for each nested sheet a sheet program is created. (See SheetProgramJob)