GET api/ReplicationData/Get_MaCoupon?Soluong={Soluong}&PrivateKey={PrivateKey}&BarcodeNoFilter={BarcodeNoFilter}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Soluong | integer |
Required |
|
| PrivateKey | string |
Required |
|
| BarcodeNoFilter | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
CouponEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| MessCode | integer |
None. |
|
| MessContent | string |
None. |
|
| TotalRecord | integer |
None. |
|
| LstCouponEntryModel | Collection of CouponEntryModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessCode": 1,
"MessContent": "sample string 2",
"TotalRecord": 3,
"LstCouponEntryModel": [
{
"Coupon_Code": "sample string 1",
"Description": "sample string 2",
"Barcode": "sample string 3",
"First_Valid_Date": "2026-01-29T16:26:54.3630969+07:00",
"Last_Valid_Date": "2026-01-29T16:26:54.3630969+07:00"
},
{
"Coupon_Code": "sample string 1",
"Description": "sample string 2",
"Barcode": "sample string 3",
"First_Valid_Date": "2026-01-29T16:26:54.3630969+07:00",
"Last_Valid_Date": "2026-01-29T16:26:54.3630969+07:00"
}
]
}