POST api/Bonus/BonusSetPoint

取得後台點數基本設定

Request Information

URI Parameters

None.

Body Parameters

BonusSetPoint_Input
NameDescriptionTypeAdditional information
Ticket

身份票據

string

Required

userId

會員帳號

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Ticket": "sample string 1",
  "userId": "sample string 2"
}

text/html

Sample:
{"Ticket":"sample string 1","userId":"sample string 2"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

取得後台點數基本設定

BonusSetPoint_Output
NameDescriptionTypeAdditional information
ticketVerified

驗證是否通過

boolean

None.

consumption

消費N元(含稅)

integer

None.

bonusGet

紅利回饋N點

integer

None.

maxDiscount

折抵上限%

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ticketVerified": true,
  "consumption": 2,
  "bonusGet": 3,
  "maxDiscount": "sample string 4"
}

text/html

Sample:
{"ticketVerified":true,"consumption":2,"bonusGet":3,"maxDiscount":"sample string 4"}