GET api/Import/StopImportFileByFileID?fileID={fileID}
SetImpFileFormatByFileID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fileID |
fileID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
SetImpFileFormatByFileID
API_Data_TxtImportFileProcessInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | TxtImportFileProcessInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "FileID": "sample string 1", "LogMsg": "sample string 2", "DoneRecordCounts": 3, "BadRecordCounts": 4, "Process": 5 } }
application/xml, text/xml
Sample:
<API_Data_TxtImportFileProcessInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Logic.Admin"> <d2p1:BadRecordCounts>4</d2p1:BadRecordCounts> <d2p1:DoneRecordCounts>3</d2p1:DoneRecordCounts> <d2p1:FileID>sample string 1</d2p1:FileID> <d2p1:LogMsg>sample string 2</d2p1:LogMsg> <d2p1:Process>5</d2p1:Process> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_TxtImportFileProcessInfo>