GET api/GetProcessedFile?fileName={fileName}
GetFile returns the text file generated from ProcessFileAsync. (use the filePath from that API to retrieve the file) Make sure the file exists. If it does not exist, you will get a valid HTTP return (HTTP 200), but the contents will indicate an error in the json. Most common cause of error: File is still being processed, or you used the wrong filePath See the GetFileResult information for details on the return data
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fileName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetFileResultName | Description | Type | Additional information |
---|---|---|---|
_fileData |
string data for the file; gets filled in when processing is complete, otherwise is empty |
string |
None. |
_fileReady |
flag to indicate data is valid; if false, file is probably still being processed. Client code will need to re-check until _fileData is true |
boolean |
None. |
_fileName |
name of the file requested (this allows the client code to confirm they are getting results for the correct file) |
string |
None. |
Response Formats
application/json, text/json
Sample not available.