POST api/Auth/GetLoginVerificationCodeByChannelCode

Request Information

URI Parameters

None.

Body Parameters

GetLoginVerificationCodeByChannelCodeReq
NameDescriptionTypeAdditional information
ChannelCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChannelCode": "sample string 1"
}

application/xml, text/xml

Sample:
<GetLoginVerificationCodeByChannelCodeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Auth.Model.Req">
  <ChannelCode>sample string 1</ChannelCode>
</GetLoginVerificationCodeByChannelCodeReq>

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

Response Information

Resource Description

BaseRspOfLoginCodeResult
NameDescriptionTypeAdditional information
Rsp

LoginCodeResult

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": {
    "Succeed": true,
    "ReasonCode": 0,
    "ReasonExplain": "sample string 2",
    "LoginCode": "sample string 3",
    "AuthTime": "sample string 4"
  },
  "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:
<BaseRspOfLoginCodeResult_Pm_POof1D 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">
    <d2p1:AuthTime>sample string 4</d2p1:AuthTime>
    <d2p1:LoginCode>sample string 3</d2p1:LoginCode>
    <d2p1:ReasonCode>Succeed</d2p1:ReasonCode>
    <d2p1:ReasonExplain>sample string 2</d2p1:ReasonExplain>
    <d2p1:Succeed>true</d2p1:Succeed>
  </Rsp>
</BaseRspOfLoginCodeResult_Pm_POof1D>