List CSV operations
GET
https://api-v2.test.eldowallet.fr/csv-operations
Lists the wallet's CSV import and export operations, most recent first by default. Use it to follow a background import or export and to get the generated file (fileLink). Filter by operationType (IMPORT or EXPORT).
Good to know
- An operation starts as
PENDING, then ends asSUCCESSorFAILURE. For an export,fileLinkis the URL of the generated CSV. For an import,numValid,numInvalid,numDuplicatesandnumSuccessfulsummarize the processing, andinvalidCsvFileLinkpoints to a CSV of the invalid rows with their errors.
Request
query parameters
sortOrderstringSort order: `asc` or `desc`. Default: `desc`.enum:asc,descdefault:"desc"operationTypestringFilter by operation typeenum:IMPORT,EXPORTsearchstringCase-insensitive partial match on the file name (`fileName`) or the operation ID.sortBystringSort field, for example `createdAt`, `startTime` or `endTime`. Default: `createdAt`.default:"createdAt"limitnumberItems per page, from `1` to `1000`. Default: `10`.default:10min: 1max: 1000pagenumberPage number, starting at `1`. Default: `1`.default:1min: 1
header parameters
x-langstringLanguage for responsesenum:en,frdefault:"en"
Responses
- 200
- 401
- 403
- 500
UNAUTHORIZED
Schema
application/jsonmessagestring requiredexample:Promo code already existserrorCodestring requiredexample:400:PROMO_CODE_ALREADY_EXISTSpathstring requiredexample:/couponsdatestring <date-time> requireddetailsobjectvalidationErrorsobject[]fieldstringexample:emailmessagestringexample:email must be an email
FORBIDDEN
Schema
application/jsonmessagestring requiredexample:Promo code already existserrorCodestring requiredexample:400:PROMO_CODE_ALREADY_EXISTSpathstring requiredexample:/couponsdatestring <date-time> requireddetailsobjectvalidationErrorsobject[]fieldstringexample:emailmessagestringexample:email must be an email
UNKNOWN_ERROR
Schema
application/jsonmessagestring requiredexample:Promo code already existserrorCodestring requiredexample:400:PROMO_CODE_ALREADY_EXISTSpathstring requiredexample:/couponsdatestring <date-time> requireddetailsobjectvalidationErrorsobject[]fieldstringexample:emailmessagestringexample:email must be an email