POST api/Scrcard/ScrcardExchange

兑换刮刮卡

Request Information

URI Parameters

None.

Body Parameters

ScrcardExchangeParamModel
NameDescriptionTypeAdditional information
facevalue

刮刮卡面值

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "facevalue": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

兑换刮刮卡

ApiResultScrcardExchangeModel
NameDescriptionTypeAdditional information
waitscrcard

是否有兑换未刮开的刮刮卡 0:否 1:是(有的话不需要弹出兑换窗口,直接进入刮卡页面)

integer

None.

points

剩余捕币数

integer

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "waitscrcard": 1,
  "points": 2,
  "code": 3,
  "msg": "sample string 4",
  "submsg": "sample string 5",
  "isinvitation": 6
}