POST api/KhuyenMai/UpdatePromotionProduct
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| objModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"KEY": 2,
"MANHOMHANGKM": "sample string 3",
"TENNHOMHANGKM": "sample string 4",
"ISLUYTUYEN": true,
"ISCOMBO": true,
"ISOPTION": true,
"INUSE": true,
"ID": 9,
"MAKH": "sample string 10",
"MACL": "sample string 11",
"MAKH_KM": "sample string 12",
"MACL_KM": "sample string 13",
"GIATRI_MAKH": 14,
"GIATRIQUYENLOIKM": 15.1,
"NHOM": "sample string 16"
}
application/xml, text/xml
Sample:
<PromotionProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO"> <GIATRIQUYENLOIKM>15.1</GIATRIQUYENLOIKM> <GIATRI_MAKH>14</GIATRI_MAKH> <ID>9</ID> <INUSE>true</INUSE> <ISCOMBO>true</ISCOMBO> <ISLUYTUYEN>true</ISLUYTUYEN> <ISOPTION>true</ISOPTION> <KEY>2</KEY> <MACL>sample string 11</MACL> <MACL_KM>sample string 13</MACL_KM> <MAKH>sample string 10</MAKH> <MAKH_KM>sample string 12</MAKH_KM> <MANHOMHANGKM>sample string 3</MANHOMHANGKM> <NHOM>sample string 16</NHOM> <TENNHOMHANGKM>sample string 4</TENNHOMHANGKM> <UserID>sample string 1</UserID> </PromotionProductModel>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO"> <Data /> <Message>sample string 2</Message> <Success>true</Success> </ResultObject>