Toshl Developer

Tag sums

Tag sum endpoint can be used to retrieve a list of tag expense and income sums and counts. Tags without expenses and incomes are not returned.

Resource representation

{
  "tag": "42",
  "expenses": {
    "sum": 15.30,
    "count": 2,
    "categories": ["43","44"]
  },
  "modified": "2012-09-04T13:55:15Z"
}

Properties

tag
readonly
string

Tag id.

expenses
readonly
object

Tag summary.

sum *
readonly
number

Tag expense sum

Minimum: >= 0
Maximum: < 1000000000000000
count *
readonly
integer

Tag expense count.

Minimum: >= 0
categories
read, write
array

List of category ids that fall into the sum of expenses for the tag.

incomes
readonly
object

Tag summary.

sum *
readonly
number

Tag income sum

Minimum: >= 0
Maximum: < 1000000000000000
count *
readonly
integer

Tag income count.

Minimum: >= 0
categories
read, write
array

List of category ids that fall into the sum of incomes for the tag.

modified
readonly
string

Specifies when the sum was last modified.

* denotes required field/parameter.