POST api/mathang/UploadFile/base64
Import file excel mặt hàng dạng multipart
Request Information
URI Parameters
None.
Body Parameters
UploadFileBase64RequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| fileName |
Tên file |
string |
None. |
| fileBase64 |
Base 64 của fileupload |
string |
None. |
| GhiChu |
Ghi chú |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"fileName": "sample string 1",
"fileBase64": "sample string 2",
"GhiChu": "sample string 3"
}
application/xml, text/xml
Sample:
<UploadFileBase64RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <GhiChu>sample string 3</GhiChu> <fileBase64>sample string 2</fileBase64> <fileName>sample string 1</fileName> </UploadFileBase64RequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />