Warning! Construction underway! Amatino is in an 'alpha' state. Not all features are operational. See roadmap

Primary
Account
Entity
Transaction
Derived
Balance
Ledger
Performance
Position
Recursive Balance
Recursive Ledger
Tree
Ancillary
Custom Unit
Entry
Global Unit
Object
Retrieve
Ledger Row
Session
Side
Tx Version List
Tree Node
Type
User

Global Unit List

Global Units are units of account available by default in all Entities.

The Global Unit List contains all available Global Units.

The Global Unit List Object

Amatino will return Global Unit objects to you with the following structure

Root Type

JSON Array

Object Structure

description The unique integer identifier of this Global Unit
key "global_unit_id"
example 5
type JSON Number
description The unique shorthand identifier of this Global Unit
key "code"
example "usd"
type JSON String
description A friendly long form name
key "name"
example "United States Dollar"
type JSON String
description A sorting hint for GUI's displaying lists of Global Units
key "priority"
example 0
type JSON Number
description A long-form description
key "description"
example "United States Dollar"
type JSON String
description The number of digits after the decimal point required to describe the smallest fraction of this Global Unit
key "exponent"
example 2
type JSON Number

Retrieve Global Unit List

API Path /units/list
HTTP Method GET
Description Descr. Retrieve a list of all Global Units.

Required Headers

Key X-Signature
Value Your Session signature
Example "yxATCPRKAAXHNiPctNQPHEGGVJF"...
Key X-Session-ID
Value An an integer Session ID
Example 7449059267091272858

Required URL Parameters

None.

Required JSON Data

None.

Returns

Root Type

JSON Array

Object

Global Unit List