Get extrapolated cash flow

GET /api-v1/cash-flow/extrapolated

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Query parameters

  • weeks integer(int32) Required

    weeks

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • cashInflow number
    • cashOutflow number
    • cashPosition number
    • week integer(int32)
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/cash-flow/extrapolated
curl \
 --request GET 'https://wyzio.app/api-v1/cash-flow/extrapolated?weeks=42' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "cashInflow": 42.0,
    "cashOutflow": 42.0,
    "cashPosition": 42.0,
    "week": 42
  }
]