POST api/Device/GetBonusRule

获取积分折抵规则

Request Information

Parameters

NameDescriptionAdditional information
req

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "merchant_id": 1,
  "mbcode": "sample string 2",
  "card_no": "sample string 3",
  "pos_code": "sample string 4",
  "counter_code": "sample string 5",
  "ruledate": "sample string 6",
  "tradeamount": 7.0,
  "sign": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "rcrm": {
    "RC": "sample string 1",
    "RM": "sample string 2"
  },
  "results": [
    {
      "divisor": 1,
      "dividend": 2,
      "remark": "sample string 3",
      "type": 4,
      "Card_no": "sample string 5",
      "bounRule_Amount": 6.0,
      "bounRule_Percent": 7.0,
      "beforeDiscount_bonus": 8,
      "bonus": 9,
      "afterDiscount_bonus": 10,
      "maxAmount": 11.0
    },
    {
      "divisor": 1,
      "dividend": 2,
      "remark": "sample string 3",
      "type": 4,
      "Card_no": "sample string 5",
      "bounRule_Amount": 6.0,
      "bounRule_Percent": 7.0,
      "beforeDiscount_bonus": 8,
      "bonus": 9,
      "afterDiscount_bonus": 10,
      "maxAmount": 11.0
    },
    {
      "divisor": 1,
      "dividend": 2,
      "remark": "sample string 3",
      "type": 4,
      "Card_no": "sample string 5",
      "bounRule_Amount": 6.0,
      "bounRule_Percent": 7.0,
      "beforeDiscount_bonus": 8,
      "bonus": 9,
      "afterDiscount_bonus": 10,
      "maxAmount": 11.0
    }
  ]
}