POST api/{area}/User/login

Request Information

URI Parameters

NameDescriptionTypeAdditional information
area

string

None.

Body Parameters

Collection of Object

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginInfo
NameDescriptionTypeAdditional information
UInfo

AccountInfo

None.

errcode

返回Code(-1请求失败,0请求成功,1调用支付)

integer

None.

errmsg

返回提示消息

string

None.

url

返回Url

string

None.

data

返回数据

string

None.

dataObj

返回数据1

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "UInfo": {
    "AccountID": "ce19824f-1893-4791-972a-81937d6dc372",
    "AccountName": "sample string 2",
    "NickName": "sample string 3",
    "Openid": "sample string 4",
    "SwanId": "sample string 5",
    "AccountImage": "sample string 6",
    "GradeName": "sample string 7",
    "WaitPayOrderNum": 8,
    "WaitComOrderNum": 9,
    "WaitCommOrderNum": 10,
    "WaitSellerOrderNum": 11,
    "IsSale": true,
    "IsShowCoupon": true,
    "IsShowScore": true,
    "Sessionkey": "sample string 15",
    "IsShowMyCommission": true,
    "IsShowMyShare": true,
    "IsShowCourse": true,
    "IsHideShop": true,
    "IsShowGroup": true,
    "feeAlias": "sample string 21",
    "IsNewUser": true,
    "IsBalancePayment": true,
    "IsShowReserver": true,
    "ReserverName": "sample string 25",
    "IsSendIntegralByUpdate": true,
    "IntegralByUpdate": 27,
    "IntegralAlias": "sample string 28",
    "UserCenterTopTextColor": "sample string 29",
    "UserCenterIsBgColor": true,
    "UserCenterTopBgImg": "sample string 31",
    "UserCenterTopBgColor": "sample string 32",
    "MenuList": [
      {
        "Title": "sample string 1",
        "Icon": "sample string 2",
        "IsCustomize": true,
        "LinkUrl": "sample string 4",
        "IsCheckLevel": true,
        "IsSeparate": true,
        "Id": "sample string 7",
        "IsSelect": true,
        "Taix": 9,
        "IsShowVerifyingLevel": true,
        "Img": "sample string 11"
      },
      {
        "Title": "sample string 1",
        "Icon": "sample string 2",
        "IsCustomize": true,
        "LinkUrl": "sample string 4",
        "IsCheckLevel": true,
        "IsSeparate": true,
        "Id": "sample string 7",
        "IsSelect": true,
        "Taix": 9,
        "IsShowVerifyingLevel": true,
        "Img": "sample string 11"
      }
    ],
    "IsMustMobileValidated": true,
    "IsMobileValidated": true,
    "SendIntegralByCheckIn": true
  },
  "errcode": 1,
  "errmsg": "sample string 2",
  "url": "sample string 3",
  "data": "sample string 4",
  "dataObj": {}
}

application/xml, text/xml

Sample:
<UserController.LoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <data xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 4</data>
  <dataObj xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models" />
  <errcode xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">1</errcode>
  <errmsg xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 2</errmsg>
  <url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 3</url>
  <UInfo>
    <AccountID>ce19824f-1893-4791-972a-81937d6dc372</AccountID>
    <AccountImage>sample string 6</AccountImage>
    <AccountName>sample string 2</AccountName>
    <GradeName>sample string 7</GradeName>
    <IntegralAlias>sample string 28</IntegralAlias>
    <IntegralByUpdate>27</IntegralByUpdate>
    <IsBalancePayment>true</IsBalancePayment>
    <IsHideShop>true</IsHideShop>
    <IsMobileValidated>true</IsMobileValidated>
    <IsMustMobileValidated>true</IsMustMobileValidated>
    <IsNewUser>true</IsNewUser>
    <IsSale>true</IsSale>
    <IsSendIntegralByUpdate>true</IsSendIntegralByUpdate>
    <IsShowCoupon>true</IsShowCoupon>
    <IsShowCourse>true</IsShowCourse>
    <IsShowGroup>true</IsShowGroup>
    <IsShowMyCommission>true</IsShowMyCommission>
    <IsShowMyShare>true</IsShowMyShare>
    <IsShowReserver>true</IsShowReserver>
    <IsShowScore>true</IsShowScore>
    <MenuList xmlns:d3p1="http://schemas.datacontract.org/2004/07/WST.ModuleLibrary.Entity">
      <d3p1:UserCenterMenuInfoEntity>
        <d3p1:Title>sample string 1</d3p1:Title>
        <d3p1:Icon>sample string 2</d3p1:Icon>
        <d3p1:IsCustomize>true</d3p1:IsCustomize>
        <d3p1:LinkUrl>sample string 4</d3p1:LinkUrl>
        <d3p1:IsCheckLevel>true</d3p1:IsCheckLevel>
        <d3p1:IsSeparate>true</d3p1:IsSeparate>
        <d3p1:Id>sample string 7</d3p1:Id>
        <d3p1:IsSelect>true</d3p1:IsSelect>
        <d3p1:Taix>9</d3p1:Taix>
        <d3p1:IsShowVerifyingLevel>true</d3p1:IsShowVerifyingLevel>
        <d3p1:Img>sample string 11</d3p1:Img>
      </d3p1:UserCenterMenuInfoEntity>
      <d3p1:UserCenterMenuInfoEntity>
        <d3p1:Title>sample string 1</d3p1:Title>
        <d3p1:Icon>sample string 2</d3p1:Icon>
        <d3p1:IsCustomize>true</d3p1:IsCustomize>
        <d3p1:LinkUrl>sample string 4</d3p1:LinkUrl>
        <d3p1:IsCheckLevel>true</d3p1:IsCheckLevel>
        <d3p1:IsSeparate>true</d3p1:IsSeparate>
        <d3p1:Id>sample string 7</d3p1:Id>
        <d3p1:IsSelect>true</d3p1:IsSelect>
        <d3p1:Taix>9</d3p1:Taix>
        <d3p1:IsShowVerifyingLevel>true</d3p1:IsShowVerifyingLevel>
        <d3p1:Img>sample string 11</d3p1:Img>
      </d3p1:UserCenterMenuInfoEntity>
    </MenuList>
    <NickName>sample string 3</NickName>
    <Openid>sample string 4</Openid>
    <ReserverName>sample string 25</ReserverName>
    <SendIntegralByCheckIn>true</SendIntegralByCheckIn>
    <Sessionkey>sample string 15</Sessionkey>
    <SwanId>sample string 5</SwanId>
    <UserCenterIsBgColor>true</UserCenterIsBgColor>
    <UserCenterTopBgColor>sample string 32</UserCenterTopBgColor>
    <UserCenterTopBgImg>sample string 31</UserCenterTopBgImg>
    <UserCenterTopTextColor>sample string 29</UserCenterTopTextColor>
    <WaitComOrderNum>9</WaitComOrderNum>
    <WaitCommOrderNum>10</WaitCommOrderNum>
    <WaitPayOrderNum>8</WaitPayOrderNum>
    <WaitSellerOrderNum>11</WaitSellerOrderNum>
    <feeAlias>sample string 21</feeAlias>
  </UInfo>
</UserController.LoginInfo>