Skip to main content
GET
/
organizations
/
{orgId}
/
customfields
Retrieve CustomField
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/customfields \
  --header 'Authorization: Bearer <token>'
{
  "id": "81c49a54-dfcd-4da5-bbf3-d2885ec025dd",
  "version": 4,
  "organization": {
    "Org Example 2": "Sample text 2.",
    "Org Example 1": "Sample text. "
  },
  "product": {
    "Product CF Example": 42
  },
  "account": {},
  "accountPlan": {
    "New CF Test": "Test Value"
  },
  "meter": {},
  "planTemplate": {},
  "plan": {},
  "aggregation": {},
  "compoundAggregation": {}
}

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.

Response

Return the CustomFields

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.
organization
object

CustomFields added to the Organization.

account
object

CustomFields added to Account entities.

accountPlan
object

CustomFields added to accountPlan entities.

meter
object

CustomFields added to Meter entities.

product
object

CustomFields added to Product entities.

planTemplate
object

CustomFields added to planTemplate entities.

plan
object

CustomFields added to Plan entities.

aggregation
object

CustomFields added to simple Aggregation entities.

compoundAggregation
object

CustomFields added to Compound Aggregation entities.

contract
object

CustomFields added to Contract entities.

dtCreated
string<date-time>

The DateTime when the Organization was created (in ISO-8601 format).

dtLastModified
string<date-time>

The DateTime when a custom field was last modified - created, modified, or deleted - for the Organization (in ISO-8601 format).

createdBy
string

The id of the user who created this custom field.

lastModifiedBy
string

The id of the user who last modified this custom field.