> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.megamation.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.megamation.com/_mcp/server.

# Overview

You can retrieve a list of work order types or the details of a single work order type from the `WORK_ORDER_TYPE_MASTER` table. Any field available in DirectLine for this table can be made available to this endpoint. Please contact your account manager to discuss your specific requirements.

The list of fields returned is a subset of all fields returned. To get a list of all fields returned you can use the link: `{{baseUrl}}/{{client_name}}/{{database}}/WorkOrderType/@LABELS`.

Fields are truncated to 1000 characters by default.

Detailed information of the fields returned including field types can be obtained using the link: `{{baseUrl}}/{{client_name}}/{{database}}/WorkOrderType/@SCHEMA`

You can filter the returned results by available criteria as well. An example would be to use a link such as: `{{baseUrl}}/{{client_name}}/{{database}}/WorkOrderType?PM_TYPE=PM` where the data returned will only include values where the work order's type with PM_TYPE is 'PM'. To get a full list of filterable fields you can use the link: `{{baseUrl}}/{{client_name}}/{{database}}/WorkOrderType/@CRITERIA`

Additional filtering can be done by using filter modifiers on the value passed.

These modifiers include:

**\[]** for containing

**!!** for not equal

**>>** for greater than

**\<\<** for less than

**\<>** for between.

Use each of these by adding them to the front of any value such as: **PM_TYPE=\[]PM** to select results where the TYPE contains PM.

You can send muliple values using comma(,) as delimiter `Version 1.06`