POST api/mathang/hinh-anh/upload?type={type}

Upload hình ảnh mặt hàng type = 0 thì đang chèn cho ảnh phụ, type = 1 thì đang chèn hình cho ảnh chính

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Object

None.

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/" />