Mes.WebApi.Models.WO JSON Schema
- Last UpdatedNov 06, 2025
- 4 minute read
| Name | Description | Data Type |
|---|---|---|
| wo_id | The work order ID. | string |
| wo_desc | The work order description. | string |
| process_id | The ID of the process from which the work order was generated, if the work order was generated from a process. | string |
| item_id | The ID of the final item being made, unless all its jobs are disassembly jobs, in which case this is the initial item. | string |
| item_desc | The description of the final item being made. | string |
| qty_at_start | The quantity of items that the work order is expected to produce if there is no rejected production (that is, if all production is good). For lines, this quantity is based on the jobs performed at the entity or entities identified as the production source for the line. | number |
| qty_remaining | The sum of the number of remaining items that the work order must still produce. For lines, this quantity is based on the jobs performed at the entity or entities identified as the production source for the line. | number |
| qty_prod | The sum of acceptable items that the work order has produced based on the jobs performed at the entity or entities identified as the production source for the line. | number |
| qty_rejected | The sum of rejected items that the work order has produced based on the jobs performed done at the entity or entities identified as the production source for the line. | number |
| qty_reqd | The sum of items that the work order is required to produce. For lines, this quantity is based on the jobs done at the entity or entities identified as the production source for the line. | number |
| def_reqd_qty | The original quantity required less the good quantity produced in any job for this work order that ran on an entity identified as a line's production entity or those in parallel with it, or 0, whichever is greater. | number |
| uom_id | The ID of the unit of measure for the item being produced by the work order. | integer |
| uom_desc | The description of the unit of measure. | string |
| wo_status | The job-related status code of the work order: 1 = New 2 = Ready 3 = Running (In Progress) 4 = Complete 5 = Suspended 6 = On Hold The work order status code is based on the status of its member jobs according to the first true condition in the following order:
| integer |
| wo_status_desc | The description of the job-related status of the work order. | string |
| color | The name or hex value of the HTML color for the background color of the work order status. | string |
| target_sched_line_id | The ID of the production line to which the work order is assigned. This will be null if the work order is not assigned to a line. | integer |
| target_sched_line_name | The name of the production line to which the work order is assigned. | string |
| req_finish_time_utc | The date and time, in UTC, by when the work order must be completed. | string |
| release_time_utc | The date and time when the work order was or will be released, in UTC. | string |
| num_decimals | The number of decimals for formatting numeric values. | integer |
| num_decimals_good_pp | The value of the system attribute Max decimals of good piece part entries (attr_id 326 in the System_Attr table) and is used when the num_decimals column is 0. | integer |
| last_edit_at | The date and time, in UTC, when the the work order record was added or last modified. | string |
| release_time_local | The date and time when the work order was or will be released, in local time. | string |
| req_finish_time_local | The date and time, in local time, by when the work order must be completed. | string |
| state_cd | The the code that indicates the state of the work order. 0 = Released (default) 1 = Started 2 = Completed 3 = Closed. When closed, nothing else for this work order is editable. | integer |
| row_num | The the number of the work order in the list of returned work orders in the object. Row numbers represent the creation time order of the work orders, with the lowest number being the most recent work order. If a web application has set a maximum number of work orders that can be returned (for performance reasons), the row numbers can be used to ensure that the most recent work orders are returned if the maximum number is exceeded. | integer |
| wo_priority | The work order priority. This is used as the default priority for jobs in the work order. | integer |
| cust_info | The custom information for the work order. | string |
| notes | The work order's notes. | string |
| mo_id | The manufacturing order, for grouping different final parts. | string |