> 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 unit of measures or the details of a single unit of measure from the `UOM_MASTER` table.\
You are also able to pass the same information retrieved as a way to create new unit of measure records or update existing unit of measure information. You will be required to adhere to existing logic from our base system (including validation or making sure required fields are filled in) and if an error occurs, the error returned will include information about how to rectify this issue. 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}}/uom/@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}}/uom/@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}}/uom?ALLFIELDS=1` where the data returned will only include all available data. To get a full list of filterable fields you can use the link: `{{baseUrl}}/{{client_name}}/{{database}}/uom/@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: **TYPE=\[]PM** to select results where the TYPE contains PM.

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

Between is useful for dates where you would use **DATE=\<>2020-01-01,2020-12-31** for results between 2020-01-01 and 2020-12-31. Between is inclusive so the results will include records when the date is 2020-01-01 and 2020-12-31. Your system's date format may be different than the examples here as it is a setting in DirectLine. The @SCHEMA example (above) will show the date format being used for any date validated field for the endpoint being viewed.