POST api/mathang/hinh-anh/xoa?indHAM={indHAM}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| indHAM | integer |
Default value is -1 |
Body Parameters
XoaHinhAnhRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id mặt hàng |
integer |
None. |
| filenames |
Danh sách files |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"filenames": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<MatHangController.XoaHinhAnhRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Controllers.API_DM">
<filenames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</filenames>
<id>1</id>
</MatHangController.XoaHinhAnhRequestModel>
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/" />