POST api/KhuyenMai/UpdatePromotion

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "MADOTKHUYENMAI": "sample string 2",
  "TENDOTKM": "sample string 3",
  "MALOAIKM": "sample string 4",
  "MADIEUKIENKM": "sample string 5",
  "ISTAOTHE": "sample string 6",
  "MAKHONGUONKM": "sample string 7",
  "MANHOMHANGKM": "sample string 8",
  "MANHOMKHACHHANG": "sample string 9",
  "SOLANKM": "sample string 10",
  "ID_NOT_IN": "sample string 11",
  "SOTOTRINH": "sample string 12",
  "TENCHUONGTRINH": "sample string 13",
  "TUNGAY": "sample string 14",
  "DENNGAY": "sample string 15",
  "INUSE": true,
  "ISKHONGTICHDIEM": true,
  "ISTRUVOUCHER": true,
  "ISTRUDOIDIEM": true,
  "MODEGIAITON": "sample string 20",
  "ISKHONGAPDUNGCHUNG": true
}

application/xml, text/xml

Sample:
<PromotionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO">
  <DENNGAY>sample string 15</DENNGAY>
  <ID_NOT_IN>sample string 11</ID_NOT_IN>
  <INUSE>true</INUSE>
  <ISKHONGAPDUNGCHUNG>true</ISKHONGAPDUNGCHUNG>
  <ISKHONGTICHDIEM>true</ISKHONGTICHDIEM>
  <ISTAOTHE>sample string 6</ISTAOTHE>
  <ISTRUDOIDIEM>true</ISTRUDOIDIEM>
  <ISTRUVOUCHER>true</ISTRUVOUCHER>
  <MADIEUKIENKM>sample string 5</MADIEUKIENKM>
  <MADOTKHUYENMAI>sample string 2</MADOTKHUYENMAI>
  <MAKHONGUONKM>sample string 7</MAKHONGUONKM>
  <MALOAIKM>sample string 4</MALOAIKM>
  <MANHOMHANGKM>sample string 8</MANHOMHANGKM>
  <MANHOMKHACHHANG>sample string 9</MANHOMKHACHHANG>
  <MODEGIAITON>sample string 20</MODEGIAITON>
  <SOLANKM>sample string 10</SOLANKM>
  <SOTOTRINH>sample string 12</SOTOTRINH>
  <TENCHUONGTRINH>sample string 13</TENCHUONGTRINH>
  <TENDOTKM>sample string 3</TENDOTKM>
  <TUNGAY>sample string 14</TUNGAY>
  <UserID>sample string 1</UserID>
</PromotionModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PromotionModel'.

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>