POST /api-v1/reconciliation-lines/upload

Returns a map {numberOfEntitiesGenerated, numberOfEntitiesGenerated}

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    ID of organization, for which the operation must be performed

Query parameters

  • file string Required

    Uploaded file

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • linesGenerated array[integer]
    • numberOfManualLines integer(int32)
    • numberOfJournalEntriesGenerated integer(int32)
    • reconcileResponse object
      Hide reconcileResponse attributes Show reconcileResponse attributes object
      • reconciledLines array[integer]
      • notReconciledLines array[integer]
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/reconciliation-lines/upload
curl \
 --request POST 'https://wyzio.app/api-v1/reconciliation-lines/upload?file=string' \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
  "linesGenerated": [
    42
  ],
  "numberOfManualLines": 42,
  "numberOfJournalEntriesGenerated": 42,
  "reconcileResponse": {
    "reconciledLines": [
      42
    ],
    "notReconciledLines": [
      42
    ]
  }
}