POST api/Relax/StartData

启动数据

Request Information

URI Parameters

None.

Body Parameters

RelaxStartDataReq
NameDescriptionTypeAdditional information
uid

string

None.

pid

integer

None.

version

string

None.

language

zn-ch中文,en英文

string

None.

system

string

None.

token

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "pid": 2,
  "version": "sample string 3",
  "language": "sample string 4",
  "system": "sample string 5",
  "token": "sample string 6",
  "timeZone": "sample string 7"
}

application/xml, text/xml

Sample:
<RelaxStartDataReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 4</language>
  <pid xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">2</pid>
  <system xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</system>
  <timeZone xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 7</timeZone>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 6</token>
  <version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 3</version>
  <uid>sample string 1</uid>
</RelaxStartDataReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StartDataRes
NameDescriptionTypeAdditional information
isVip

用户的会员类型,0非会员,1包月,2包季,3包年,4日,5奖励

integer

None.

vipEndTime

会员截止时间

string

None.

vipEndTimeTip

会员提示

string

None.

userCode

自已的用户码(精灵号)

string

None.

followSum

用户关注数

string

None.

followedSum

用户粉丝数

string

None.

likedSum

用户获赞数

string

None.

priceTypes

会员价格列表

Collection of PriceTypeList

None.

IsSetParentCode

上级分享码是否填写,1为已填写,0为未填写

integer

None.

IsTokenRight

为0表示用户在其它机器登录

integer

None.

coverImg

封面图片

string

None.

medal

用户使用的勋章,当没有使用时为null

Medal

None.

isOpenFcode

是否开启f码

integer

None.

productRewards

发放奖励(启动接口只发放被邀请奖励)

Collection of ProductReward

None.

isFinishShare

是否完成邀请三人任务(0未完成,1完成已领取,2完成未领取)

integer

None.

freeSleepTimes

integer

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isVip": 1,
  "vipEndTime": "sample string 2",
  "vipEndTimeTip": "sample string 3",
  "userCode": "sample string 4",
  "followSum": "sample string 5",
  "followedSum": "sample string 6",
  "likedSum": "sample string 7",
  "priceTypes": [
    {
      "pricename": "sample string 1",
      "type": 2,
      "aliprice": 3.1,
      "wxprice": 4.1
    },
    {
      "pricename": "sample string 1",
      "type": 2,
      "aliprice": 3.1,
      "wxprice": 4.1
    }
  ],
  "IsSetParentCode": 8,
  "IsTokenRight": 9,
  "coverImg": "sample string 10",
  "medal": {
    "id": 1,
    "name": "sample string 2",
    "description": "sample string 3",
    "getImgUrl": "sample string 4",
    "noGetImgUrl": "sample string 5",
    "type": 6,
    "level": 7,
    "isGet": 8,
    "headUrl": "sample string 9"
  },
  "isOpenFcode": 11,
  "productRewards": [
    {
      "type": 1,
      "pid": 2
    },
    {
      "type": 1,
      "pid": 2
    }
  ],
  "isFinishShare": 12,
  "freeSleepTimes": 13,
  "Message": "sample string 14",
  "Status": 15
}

application/xml, text/xml

Sample:
<StartDataRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <Message xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 14</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">15</Status>
  <IsSetParentCode>8</IsSetParentCode>
  <IsTokenRight>9</IsTokenRight>
  <coverImg>sample string 10</coverImg>
  <followSum>sample string 5</followSum>
  <followedSum>sample string 6</followedSum>
  <freeSleepTimes>13</freeSleepTimes>
  <isFinishShare>12</isFinishShare>
  <isOpenFcode>11</isOpenFcode>
  <isVip>1</isVip>
  <likedSum>sample string 7</likedSum>
  <medal xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Help">
    <d2p1:description>sample string 3</d2p1:description>
    <d2p1:getImgUrl>sample string 4</d2p1:getImgUrl>
    <d2p1:headUrl>sample string 9</d2p1:headUrl>
    <d2p1:id>1</d2p1:id>
    <d2p1:isGet>8</d2p1:isGet>
    <d2p1:level>7</d2p1:level>
    <d2p1:name>sample string 2</d2p1:name>
    <d2p1:noGetImgUrl>sample string 5</d2p1:noGetImgUrl>
    <d2p1:type>6</d2p1:type>
  </medal>
  <priceTypes>
    <PriceTypeList>
      <aliprice>3.1</aliprice>
      <pricename>sample string 1</pricename>
      <type>2</type>
      <wxprice>4.1</wxprice>
    </PriceTypeList>
    <PriceTypeList>
      <aliprice>3.1</aliprice>
      <pricename>sample string 1</pricename>
      <type>2</type>
      <wxprice>4.1</wxprice>
    </PriceTypeList>
  </priceTypes>
  <productRewards>
    <ProductReward>
      <pid>2</pid>
      <type>1</type>
    </ProductReward>
    <ProductReward>
      <pid>2</pid>
      <type>1</type>
    </ProductReward>
  </productRewards>
  <userCode>sample string 4</userCode>
  <vipEndTime>sample string 2</vipEndTime>
  <vipEndTimeTip>sample string 3</vipEndTimeTip>
</StartDataRes>