Read transaction types

GET /transactiontypes

Read a list of available transaction types within 24SevenOffice accounting module.

Headers

  • Authorization string Required

    Authorization header

Responses

  • Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id number

      A unique identifier for the transaction type within 24SevenOffice accounting module.

    • number number

      A unique number representing the transaction type.

    • name string

      A human-readable name of the transaction type.

    Hide response attributes Show response attributes object
    • id number

      A unique identifier for the transaction type within 24SevenOffice accounting module.

    • number number

      A unique number representing the transaction type.

    • name string

      A human-readable name of the transaction type.

GET /transactiontypes
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/transactiontypes' \
 --header "Authorization: string"
Response examples (200)
[
  {
    "id": 1,
    "name": "Sale",
    "number": 1
  },
  {
    "id": 2,
    "name": "Purchase",
    "number": 2
  },
  {
    "id": 3,
    "name": "Expense",
    "number": -3
  }
]
Response examples (200)
[
  {
    "id": 1,
    "name": "Sale",
    "number": 1
  },
  {
    "id": 2,
    "name": "Purchase",
    "number": 2
  },
  {
    "id": 3,
    "name": "Expense",
    "number": -3
  }
]