Toshl Developer

Timeline

Timeline endpoint can be used to list users entries.

Resource representation

[
  {
    "day": "2014-02-01",
    "sum": 45,
    "count": 1,
    "currency": "USD",
    "entries": [
      {
        "id": "42",
        "amount": -13.37,
        "currency": {
          "code": "USD",
          "rate": 1,
          "fixed": false
        },
        "date": "2012-09-04",
        "desc": "Entry description",
        "account": "45",
        "category": "42",
        "modified": "2012-09-04T13:55:15Z"
      }
    ]
  }
]

Properties

day
readonly
string

Day

Format: date
category
readonly
string

Category id.

location
readonly
string

Location id.

sum
read, write
number

Timeline sum

Minimum: > -1000000000000000
Maximum: < 1000000000000000
count
readonly
integer

Item count.

Minimum: >= 0
currency
read, write
string

Currency code.

Regex: [A-Z]{3}
entries
read, write
array

List of entries.

tags
read, write
array

Entries groupped by tags