Skip to main content
GET
/
organizations
/
{orgId}
/
lookuptables
List LookupTable
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/lookuptables \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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
      }
    }
  ],
  "nextToken": "<string>"
}

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.

Query Parameters

pageSize
integer<int32>

Number of Lookup Tables to retrieve per page.

Required range: 1 <= x <= 200
nextToken
string

Token to supply for multi page retrievals.

codes
string[]

List of Lookup Table codes to retrieve.

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 each of the Lookup Tables returned, set additional=activeRevision in the query.

Response

List of Lookup Tables

data
object[]
nextToken
string