# Retrieve page of mediation files loaded into Elevate The call is restricted to a max of one month's worth of data and/or the first 100 entries retrieved. Use proper pagination to obtain the required data Endpoint: GET /mediation-files Version: 1.0 Security: bearerAuth ## Query parameters: - `page` (integer, required) Page of results to show Example: 1 - `pageSize` (integer, required) Results to return per page Example: 100 - `sort` (string) Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change Example: "id,name | name:desc" - `fields` (string) Comma-delimited list of the field(s) to return if only a subset is required Example: "id,name" - `fileName` (string) Filter by fileName - `fileType` (string) Filter by fileType - `supplierId` (integer) Filter by supplierId - `status` (string) Filter by status (ERROR, SUCCESS, PENDING) Enum: "NEW", "TO_BE_PROCESSED", "DELETED", "BEING_PROCESSED", "ERROR", "PENDING_DELETE", "PENDING_REPROCESS", "PROCESSING_DECOMPRESS", "SUCCESS", "DUPLICATE", "PARTIAL_SUCCESS", "REPROCESSED", "ARCHIVED", "IGNORED" - `dateLoaded` (string) Filter by dateLoaded Example: "yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ" - `dateDetectedFrom` (string, required) Filter by dateDetected from date/time (inclusive) Example: "yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ" - `dateDetectedTo` (string, required) Filter by dateDetected to date/time (exclusive) Example: "yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ" ## Response 200 fields (application/json): - `id` (integer) Mediation file identifier Example: 1 - `fileName` (string, required) Mediation file name Example: "ABCD_9640856_ABCDEF_010821_000000.DAT" - `compressedFileName` (string) If the file originated in a compressed file then this is the name of that file Example: "ABCD_9640856_ABCDEF_010821_000000.DAT.pgp" - `fileType` (string, required) Mediation file type Example: "SupplierA SSBS" - `supplierId` (integer, required) Mediation supplier id Example: 1 - `status` (string, required) Mediation file status Enum: "NEW", "TO_BE_PROCESSED", "DELETED", "BEING_PROCESSED", "ERROR", "PENDING_DELETE", "PENDING_REPROCESS", "PROCESSING_DECOMPRESS", "SUCCESS", "DUPLICATE", "PARTIAL_SUCCESS", "REPROCESSED", "ARCHIVED", "IGNORED" - `dateDetected` (string, required) When the mediation file was first detected - `dateLoaded` (string) When the mediation file was loaded - `totalRecords` (integer) Number of records in the mediation file Example: 1000 - `ignoredRecords` (integer) Number of records ignored in the mediation file Example: 3 ## Response 400 fields ## Response 401 fields ## Response 403 fields