POST api/Login/MLogin

Request Information

URI Parameters

None.

Body Parameters

MLoginReq
NameDescriptionTypeAdditional information
EnvType

string

None.

ChannelCode

string

None.

Source

string

None.

ThirdAccount

string

None.

PhoneNumber

string

None.

LoginCode

string

None.

HeaderPic

string

None.

NickName

string

None.

MessageKey

string

None.

SexType

SexType

None.

AuthLoginType

AuthLoginType

None.

YJYOpenId

string

None.

ClientDeviceNo

string

None.

IsEnabledMultipointLogin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EnvType": "sample string 1",
  "ChannelCode": "sample string 2",
  "Source": "sample string 3",
  "ThirdAccount": "sample string 4",
  "PhoneNumber": "sample string 5",
  "LoginCode": "sample string 6",
  "HeaderPic": "sample string 7",
  "NickName": "sample string 8",
  "MessageKey": "sample string 9",
  "SexType": 0,
  "AuthLoginType": 0,
  "YJYOpenId": "sample string 10",
  "ClientDeviceNo": "sample string 11",
  "IsEnabledMultipointLogin": true
}

application/xml, text/xml

Sample:
<MLoginReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Auth.Model.Req">
  <AuthLoginType>Default</AuthLoginType>
  <ChannelCode>sample string 2</ChannelCode>
  <ClientDeviceNo>sample string 11</ClientDeviceNo>
  <EnvType>sample string 1</EnvType>
  <HeaderPic>sample string 7</HeaderPic>
  <IsEnabledMultipointLogin>true</IsEnabledMultipointLogin>
  <LoginCode>sample string 6</LoginCode>
  <MessageKey>sample string 9</MessageKey>
  <NickName>sample string 8</NickName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <SexType>Female</SexType>
  <Source>sample string 3</Source>
  <ThirdAccount>sample string 4</ThirdAccount>
  <YJYOpenId>sample string 10</YJYOpenId>
</MLoginReq>

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 'MLoginReq'.

Response Information

Resource Description

BaseRspOfMLoginRsp
NameDescriptionTypeAdditional information
Rsp

MLoginRsp

None.

Method

string

Required

Code

integer

Required

CodeStr

string

Required

CodeMsg

string

Required

ExtMsg

string

None.

ReqId

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Rsp": {
    "AuthToken": "sample string 1",
    "AuthClientType": "sample string 2",
    "AuthClientDeviceNo": "sample string 3",
    "AppTitle": "sample string 4",
    "ThirdOwnerTypes": 1,
    "NeedUpdateWechatOpenId": true
  },
  "Method": "sample string 1",
  "Code": 2,
  "CodeStr": "sample string 3",
  "CodeMsg": "sample string 4",
  "ExtMsg": "sample string 5",
  "ReqId": "sample string 6"
}

application/xml, text/xml

Sample:
<BaseRspOfMLoginRspD9So2QqZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Common.Soa.Models">
  <Code>2</Code>
  <CodeMsg>sample string 4</CodeMsg>
  <CodeStr>sample string 3</CodeStr>
  <ExtMsg>sample string 5</ExtMsg>
  <Method>sample string 1</Method>
  <ReqId>sample string 6</ReqId>
  <Rsp xmlns:d2p1="http://schemas.datacontract.org/2004/07/YJY.Auth.Model.Rsp">
    <d2p1:AppTitle>sample string 4</d2p1:AppTitle>
    <d2p1:AuthClientDeviceNo>sample string 3</d2p1:AuthClientDeviceNo>
    <d2p1:AuthClientType>sample string 2</d2p1:AuthClientType>
    <d2p1:AuthToken>sample string 1</d2p1:AuthToken>
    <d2p1:NeedUpdateWechatOpenId>true</d2p1:NeedUpdateWechatOpenId>
    <d2p1:ThirdOwnerTypes>WeiXin</d2p1:ThirdOwnerTypes>
  </Rsp>
</BaseRspOfMLoginRspD9So2QqZ>