Skip to main content
GET
/
organizations
/
{orgId}
/
counters
/
{id}
Retrieve Counter
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/counters/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": 123,
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>",
  "code": "<string>",
  "productId": "<string>",
  "name": "<string>",
  "unit": "<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 m3ter.

id
string
required

The UUID of the Counter to retrieve.

Response

Return the Counter

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.
dtCreated
string<date-time>

The DateTime when this item was created (in ISO-8601 format).

dtLastModified
string<date-time>

The DateTime when this item was last modified (in ISO-8601 format).

createdBy
string

The ID of the user who created this item.

lastModifiedBy
string

The ID of the user who last modified this item.

code
string

Code of the Counter. A unique short code to identify the Counter.

productId
string

UUID of the product the Counter belongs to. (Optional) - if no productId is returned, the Counter is Global. A Global Counter can be used to price Plans or Plan Templates belonging to any Product.

name
string

Name of the Counter.

unit
string

Label for units shown on Bill line items, and indicating to customers what they are being charged for.