Returns a list of all PaymentType

GET /api/invoice/paymenttypes

Query parameters

  • searchString string

    text to search for in the list

  • orderFieldName string

    name of the order field

  • orderFieldSort string

    sorting mode

    Values are DESC or ASC.

  • page integer

    page of the list

    Default value is 0.

  • pageSize integer

    number of entries for each page

    Minimum value is 1, maximum value is 200. Default value is 50.

  • withMaxPageNumber string

    returns the number of pages available as a header if this is set

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

Responses

  • 200 application/json

    Returns a list of all PaymentType

    Hide response attributes Show response attributes object
    • id integer
    • name string
    • auto boolean
    • conditions string
    • linked_keywords string
    • global_default boolean
    • bank_import_default boolean
    • is_direct_debit boolean
    • is_external boolean
    • deleted boolean
GET /api/invoice/paymenttypes
curl \
 --request GET 'https://replace-with-own-host.iw-erp.de/api/invoice/paymenttypes' \
 --header "x-session-token: $API_KEY"
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "auto": true,
    "conditions": "string",
    "linked_keywords": "string",
    "global_default": true,
    "bank_import_default": true,
    "is_direct_debit": true,
    "is_external": true,
    "deleted": true
  }
]