POST api/values/CheckImport
Импорт чеков
Request Information
URI Parameters
None.
Body Parameters
ChequeImportRequestName | Description | Type | Additional information |
---|---|---|---|
ExcelFile | Collection of byte |
None. |
|
Partner | integer |
None. |
|
Operator | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExcelFile": "QEA=", "Partner": 1, "Operator": 2 }
application/xml, text/xml
Sample:
<ChequeImportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManager.Infrastructure.Checks"> <ExcelFile>QEA=</ExcelFile> <Operator>2</Operator> <Partner>1</Partner> </ChequeImportRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChequeImportResponseName | Description | Type | Additional information |
---|---|---|---|
Successful | boolean |
None. |
|
ErrorCode | integer |
None. |
|
Message | string |
None. |
|
Report | Dictionary of integer [key] and string [value] |
None. |
|
ExcelFile | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "Successful": true, "ErrorCode": 2, "Message": "sample string 3", "Report": { "1": "sample string 2", "3": "sample string 4" }, "ExcelFile": "QEA=" }
application/xml, text/xml
Sample:
<ChequeImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManager.Infrastructure.Checks"> <ErrorCode>2</ErrorCode> <ExcelFile>QEA=</ExcelFile> <Message>sample string 3</Message> <Report xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfintstring> <d2p1:Key>1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfintstring> <d2p1:KeyValueOfintstring> <d2p1:Key>3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfintstring> </Report> <Successful>true</Successful> </ChequeImportResponse>