POST api/Gift/ConfirmOrder

礼品确认订单

Request Information

URI Parameters

None.

Body Parameters

GiftConfirmOrderParamModel
NameDescriptionTypeAdditional information
productid

礼品商品id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "productid": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

礼品确认订单

ApiResultGiftConfirmOrderModel
NameDescriptionTypeAdditional information
treasurecoins

礼品卡余额

decimal number

None.

giftproduct

商品信息

GiftProduct

None.

treasurecoindetailid

礼品卡id

integer

None.

facevalue

礼品卡面值

decimal number

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "treasurecoins": 1.0,
  "giftproduct": {
    "productid": 1,
    "title": "sample string 2",
    "price": 3.0,
    "mainimage": "sample string 4",
    "freight": 5.0,
    "stock": 6,
    "subcategoryid": 7
  },
  "treasurecoindetailid": 2,
  "facevalue": 3.0,
  "code": 4,
  "msg": "sample string 5",
  "submsg": "sample string 6",
  "isinvitation": 7
}