Mes.WebApi.Models.JobState JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
| Name | Description | Data Type |
|---|---|---|
| state_cd | 1 = New. The job is scheduled to be run, but is not yet ready to start because upstream work needs to be done first, unless the job is for a first operation of a work order. When a new work order is assigned to a line, a job is created for each entity on the line with a status of New. 2 = Ready. The job is ready to start. All of the requirements for running the job have been met. 3 = Running. The job is currently running on an entity. 4 = Complete. The job has finished. 5 = Suspended. The job has been temporarily paused, typically in favor of another more important job. 6 = On Hold. The job has been paused indefinitely, typically because of some problem such as material or machine issues. 7 = Canceled. The job has been permanently stopped before being completed. A record of it is still maintained in the MES database. | integer |
| state_desc | The job state description. | string |
| color | The name or hex value of the HTML color for the job state's background color in the user interface. | string |