APG PayAPG Paydocs

Loans

Get daily card file run file

GET/daily-card-file-runs/{dailyCardFileRunId}/files/{format}
Request
GEThttps://api.tst.au.apgpay.dev/daily-card-file-runs/{dailyCardFileRunId}/files/{format}
curl -X GET https://api.tst.au.apgpay.dev/daily-card-file-runs/{dailyCardFileRunId}/files/{format} \
  -H "Authorization: Bearer $API_KEY"

Return the file generated for the run, as the file itself: application/xml. Content-Disposition names the file; the name is stated here too, because generated clients drop headers. A run whose file has not been generated yet is a 404.

Permissions

Required permission
loanStatements:query

Requires the `query` action on `loanStatements` for the supplied runtime context

Path parameters

dailyCardFileRunIdstring
required
formatDcfrFormat
required

Which layout of the daily file.

Cdf3

Responses

Example response
"string"

Error responses