POST api/v2/member/data/paymentcard/add

添加信用卡

Request Information

URI Parameters

None.

Body Parameters

JosePaymentCardContract
NameDescriptionTypeAdditional information
Id

Id

string

None.

memberId

会员ID

integer

None.

CardType

卡类型

string

None.

CardOwner

卡主

string

None.

CardNo

卡号

string

None.

ExpireYear

过期年份

string

None.

ExpireMonth

过期月份

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "memberId": 2,
  "CardType": "sample string 3",
  "CardOwner": "sample string 4",
  "CardNo": "sample string 5",
  "ExpireYear": "sample string 6",
  "ExpireMonth": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'JosePaymentCardContract'.

Response Information

Resource Description

添加信用卡

ReturnResult
NameDescriptionTypeAdditional information
code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2"
}