Saltar al contenido principal

startOperationsFilesExport

Starts an asynchronous export of the operations files of the COMPLETED settlements of a range of completion dates, as one ZIP that holds each file unchanged. Shown as Download all in the payouts history. Returns a ChargesExport whose status is PENDING: poll chargesExport(id) until COMPLETED, then call downloadFilesExport(id). A second call with the same filter while the job runs returns the same job. Fails with RANGE_TOO_LONG for a missing range or one longer than a year, and with EXPORT_RUNNING while another such export of the caller runs. Requires read access to settlements. Arguments: - filter: Completion dates and optional store of the settlements.

startOperationsFilesExport(
filter: OperationsFilesExportFilterInput!
): ChargesExport!

Arguments​

startOperationsFilesExport.filter ● OperationsFilesExportFilterInput! non-null input​

Type​

ChargesExport object​

Asynchronous export job, made by startExportCharges, startC60Export, startOperationsFilesExport, startInvoicesExport or a scheduled SFTP export. When status is COMPLETED, get the file with downloadFilesExport for a job with a kind, else with downloadExport.