Skip to main content
GET
/
organizations
/
{orgId}
/
lookuptables
/
{id}
Get LookupTable
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/lookuptables/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": 123,
  "customFields": {},
  "name": "<string>",
  "code": "<string>",
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>",
  "activeRevision": {
    "id": "<string>",
    "version": 123,
    "customFields": {},
    "name": "<string>",
    "status": "DRAFT",
    "startDate": "2023-11-07T05:31:56Z",
    "fields": [
      {
        "type": "STRING",
        "name": "<string>"
      }
    ],
    "keys": [
      "<string>"
    ],
    "dtCreated": "2023-11-07T05:31:56Z",
    "dtLastModified": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedBy": "<string>",
    "itemCount": 123
  }
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.

id
string
required

The UUID of the Lookup Table to retrieve.

Query Parameters

additional
string[]

Comma separated list of additional non-default fields to be included in the response. For example,if you want to include the active Revision for the Lookup Tables returned, set additional=activeRevision in the query.

Response

Return the requested Lookup Table

id
string
required

The UUID of the entity.

version
integer<int64>

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
customFields
object

User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.

If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.

See Working with Custom Fields in the m3ter documentation for more information.

name
string

The name of the Lookup Table

code
string

The code of the Lookup Table

dtCreated
string<date-time>

The DateTime when the Lookup Table was created.

dtLastModified
string<date-time>

The DateTime when the Lookup Table was last modified.

createdBy
string

The id of the user who created this Lookup Table.

lastModifiedBy
string

The id of the user who last modified this Lookup Table.

activeRevision
object