POST api/Counpon/RemoveCoupon?companyCode={companyCode}

Xóa mã khuyến mại đang sử dụng

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

Mã nhà hàng

string

Required

Body Parameters

None.

Response Information

Resource Description

Xóa mã khuyến mại đang sử dụng

APIOrderOnlineResultOfObject
NameDescriptionTypeAdditional information
Data

Object

None.

Success

boolean

None.

ErrorMessage

string

None.

ErrorType

OrderOnlineAPIErrorType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Success": true,
  "ErrorMessage": "sample string 3",
  "ErrorType": 0,
  "Total": 4,
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<APIOrderOnlineResultOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Data />
  <ErrorMessage>sample string 3</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 5</Message>
  <Success>true</Success>
  <Total>4</Total>
</APIOrderOnlineResultOfanyType>