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

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

id
string
required

The unique identifier (UUID) of the Currency to retrieve.

Response

Returns the Currency

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.
code
string

The short code of the data entity.

name
string

The name of the data entity.

archived
boolean

TRUE / FALSE flag indicating whether the data entity is archived. An entity can be archived if it is obsolete.

maxDecimalPlaces
integer<int32>

This indicates the maximum number of decimal places to use for this Currency.

roundingMode
enum<string>
Available options:
UP,
DOWN,
CEILING,
FLOOR,
HALF_UP,
HALF_DOWN,
HALF_EVEN,
UNNECESSARY
dtCreated
string<date-time>

The date and time (in ISO-8601 format) when the Currency was created.

dtLastModified
string<date-time>

The date and time (in ISO-8601 format) when the Currency was last modified.

createdBy
string

The unique identifier (UUID) of the user who created this Currency.

lastModifiedBy
string

The unique identifier (UUID) of the user who last modified this Currency.