POST api/Device/AddSale

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
req
No documentation available.

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",
  "invoice": "sample string 6",
  "consumption_no": "sample string 7",
  "stamp": "sample string 8",
  "consumption_amount": "sample string 9",
  "commonly_bouns": "sample string 10",
  "promotion_bouns": "sample string 11",
  "bouns_fold": 12,
  "promotion_against": 13,
  "consumption_list": [
    {
      "product_id": "sample string 1",
      "product_name": "sample string 2",
      "price": 3,
      "number": 4,
      "total": 5,
      "remarks": "sample string 6"
    },
    {
      "product_id": "sample string 1",
      "product_name": "sample string 2",
      "price": 3,
      "number": 4,
      "total": 5,
      "remarks": "sample string 6"
    },
    {
      "product_id": "sample string 1",
      "product_name": "sample string 2",
      "price": 3,
      "number": 4,
      "total": 5,
      "remarks": "sample string 6"
    }
  ],
  "trade_type": "sample string 14",
  "trade_amount": "sample string 15",
  "remarks": "sample string 16",
  "sign": "sample string 17"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "rcrm": {
    "RC": 1,
    "RM": "sample string 2"
  },
  "results": {
    "card_no": "sample string 1",
    "bonus_type": 2,
    "bonus_count": 3,
    "bonus": 4,
    "level_name": "sample string 5",
    "uplevel_consumTimes": 1,
    "uplevel_consumTotal": 6.0,
    "uplevel_consumSingle": 7.0,
    "keeplevel_consumTimes": 1,
    "keeplevel_consumTotal": 8.0,
    "keeplevel_consumSingle": 9.0,
    "trade_amount": "sample string 10",
    "commonly_bouns": 11,
    "promotion_bouns": 12
  }
}