I am trying to figure out how to upload a journal transaction attachment, but am unable to figure out how. As far as I know I should create the journal transaction by calling endpoint /controller/api/v2/journaltransaction (POST), and then upload the file by calling /controller/api/v2/journaltransaction/module/{module}/{journalTransactionNumber}/attachment (POST). Problem is, the first endpoint does not return the journalTransactionNumber I need for the second one. Secondly, the Open API specification does not describe the expected request object. Am I missing something?
... View more