GET api/v1/Files/GetByFilename/{filename}

Get list of files by using the filename

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filename

The full filename of the incoming file (with the extension)

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of gme_file
NameDescriptionTypeAdditional information
Id

Internal GME ID for the file

integer

None.

Filename

The filename that this record was submitted with

string

None.

ProcessedDate

The date this record was last processed

date

None.

FileType

Type of file (trusted,untrusted or X (unknown)

string

None.

FileDate

The file date submitted in the filename

date

None.

FileStatusCode

The error status code for this file Use [Status] method to retreive error lookups

integer

None.

TotalRecords

Total amount of records submitted in this file

integer

None.

TotalFailed

Total records that have failed Use [Status] method to find errors

integer

None.

TotalLoaded

Total records loaded succesfully

integer

None.

TotalDeleted

Total records deleted

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Filename": "sample string 3",
    "ProcessedDate": "2025-12-06T04:24:01.4853804+00:00",
    "FileType": "sample string 5",
    "FileDate": "2025-12-06T04:24:01.4853804+00:00",
    "FileStatusCode": 7,
    "TotalRecords": 8,
    "TotalFailed": 9,
    "TotalLoaded": 10,
    "TotalDeleted": 11
  },
  {
    "Id": 1,
    "Filename": "sample string 3",
    "ProcessedDate": "2025-12-06T04:24:01.4853804+00:00",
    "FileType": "sample string 5",
    "FileDate": "2025-12-06T04:24:01.4853804+00:00",
    "FileStatusCode": 7,
    "TotalRecords": 8,
    "TotalFailed": 9,
    "TotalLoaded": 10,
    "TotalDeleted": 11
  }
]

application/xml, text/xml

Sample:
<ArrayOfRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GmeWebApi.Models.Api">
  <Record>
    <FileDate>2025-12-06T04:24:01.4853804+00:00</FileDate>
    <FileStatusCode>7</FileStatusCode>
    <FileType>sample string 5</FileType>
    <Filename>sample string 3</Filename>
    <Id>1</Id>
    <ProcessedDate>2025-12-06T04:24:01.4853804+00:00</ProcessedDate>
    <TotalDeleted>11</TotalDeleted>
    <TotalFailed>9</TotalFailed>
    <TotalLoaded>10</TotalLoaded>
    <TotalRecords>8</TotalRecords>
  </Record>
  <Record>
    <FileDate>2025-12-06T04:24:01.4853804+00:00</FileDate>
    <FileStatusCode>7</FileStatusCode>
    <FileType>sample string 5</FileType>
    <Filename>sample string 3</Filename>
    <Id>1</Id>
    <ProcessedDate>2025-12-06T04:24:01.4853804+00:00</ProcessedDate>
    <TotalDeleted>11</TotalDeleted>
    <TotalFailed>9</TotalFailed>
    <TotalLoaded>10</TotalLoaded>
    <TotalRecords>8</TotalRecords>
  </Record>
</ArrayOfRecord>