POST api/AccountInformation/GetAccountByAccountId

Request Information

URI Parameters

None.

Body Parameters

BaseReqOfInt32
NameDescriptionTypeAdditional information
Req

integer

None.

Method

string

Required

ClientType

ClientType

Required

ClientVersion

string

Required

ClientDeviceVersion

string

Required

ClientDeviceNo

string

Required

ClientOSVersion

string

None.

Timestamp

date

Required

Token

string

None.

Sign

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Req": 1,
  "Method": "sample string 2",
  "ClientType": 0,
  "ClientVersion": "sample string 3",
  "ClientDeviceVersion": "sample string 4",
  "ClientDeviceNo": "sample string 5",
  "ClientOSVersion": "sample string 6",
  "Timestamp": "2022-06-25 09:09:28:999",
  "Token": "sample string 8",
  "Sign": "sample string 9"
}

application/xml, text/xml

Sample:
<BaseReqOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Common.Soa.Models">
  <ClientDeviceNo>sample string 5</ClientDeviceNo>
  <ClientDeviceVersion>sample string 4</ClientDeviceVersion>
  <ClientOSVersion>sample string 6</ClientOSVersion>
  <ClientType>Unknown</ClientType>
  <ClientVersion>sample string 3</ClientVersion>
  <Method>sample string 2</Method>
  <Sign>sample string 9</Sign>
  <Timestamp>2022-06-25T09:09:28.9990415+08:00</Timestamp>
  <Token>sample string 8</Token>
  <Req>1</Req>
</BaseReqOfint>

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 'BaseReq`1'.

Response Information

Resource Description

BaseRspOfAccountDTO
NameDescriptionTypeAdditional information
Rsp

AccountDTO

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": {
    "Id": 1,
    "LoginName": "sample string 2",
    "Password": "sample string 3",
    "RadomKey": "sample string 4",
    "PhoneNumber": "sample string 5",
    "TVNumber": "sample string 6",
    "CoverPicUrl": "sample string 7",
    "LifePicUrl": "sample string 8",
    "FullName": "sample string 9",
    "Description": "sample string 10",
    "Keywords": "sample string 11",
    "Age": 64,
    "BirthDate": "sample string 12",
    "Sex": 64,
    "IdCard": "sample string 13",
    "Address": "sample string 14",
    "Email": "sample string 15",
    "QQ": "sample string 16",
    "CreateTime": "2022-06-25 09:09:29:014",
    "LastLoginTime": "2022-06-25 09:09:29:014",
    "AccountType": 64,
    "Status": 64,
    "OnlineStatus": 64,
    "OnlineExpirationTime": "2022-06-25 09:09:29:014",
    "WeChatUnionId": "sample string 23",
    "WeChatOpenId": "sample string 24",
    "YJYOpenId": "sample string 25",
    "AppId": "sample string 26",
    "ChannelCode": "sample string 27",
    "ThirdAccount": "sample string 28",
    "YJY3_UserId": "3d0e7a8d-46a4-4a2a-8fdf-2e1514b12e0b",
    "AppInfoDTO": {
      "AppId": "sample string 1",
      "AppName": "sample string 2",
      "MerchantId": "sample string 3",
      "ChannelCode": "sample string 4",
      "PackName": "sample string 5",
      "AppKey": "sample string 6",
      "SafeDomain": "sample string 7",
      "SafeIpList": "sample string 8",
      "ThirdOwnerType": "sample string 9",
      "MessageNotifyUrl": "sample string 10",
      "RandomCode": "sample string 11",
      "IsValid": true,
      "CreateTime": "2022-06-25 09:09:29:014",
      "AuthFile": "sample string 14",
      "MainTitle": "sample string 15",
      "MerchantInfoDTO": {
        "MerchantId": "sample string 1",
        "MerchantName": "sample string 2",
        "IsValid": true,
        "CreateTime": "2022-06-25 09:09:29:014"
      }
    }
  },
  "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:
<BaseRspOfAccountDTOfmuTn9zx 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.DTO">
    <d2p1:AccountType>64</d2p1:AccountType>
    <d2p1:Address>sample string 14</d2p1:Address>
    <d2p1:Age>64</d2p1:Age>
    <d2p1:AppId>sample string 26</d2p1:AppId>
    <d2p1:AppInfoDTO>
      <d2p1:AppId>sample string 1</d2p1:AppId>
      <d2p1:AppKey>sample string 6</d2p1:AppKey>
      <d2p1:AppName>sample string 2</d2p1:AppName>
      <d2p1:AuthFile>sample string 14</d2p1:AuthFile>
      <d2p1:ChannelCode>sample string 4</d2p1:ChannelCode>
      <d2p1:CreateTime>2022-06-25T09:09:29.0146406+08:00</d2p1:CreateTime>
      <d2p1:IsValid>true</d2p1:IsValid>
      <d2p1:MainTitle>sample string 15</d2p1:MainTitle>
      <d2p1:MerchantId>sample string 3</d2p1:MerchantId>
      <d2p1:MerchantInfoDTO xmlns:d4p1="http://schemas.datacontract.org/2004/07/YJY.Auth.Model">
        <d4p1:CreateTime>2022-06-25T09:09:29.0146406+08:00</d4p1:CreateTime>
        <d4p1:IsValid>true</d4p1:IsValid>
        <d4p1:MerchantId>sample string 1</d4p1:MerchantId>
        <d4p1:MerchantName>sample string 2</d4p1:MerchantName>
      </d2p1:MerchantInfoDTO>
      <d2p1:MessageNotifyUrl>sample string 10</d2p1:MessageNotifyUrl>
      <d2p1:PackName>sample string 5</d2p1:PackName>
      <d2p1:RandomCode>sample string 11</d2p1:RandomCode>
      <d2p1:SafeDomain>sample string 7</d2p1:SafeDomain>
      <d2p1:SafeIpList>sample string 8</d2p1:SafeIpList>
      <d2p1:ThirdOwnerType>sample string 9</d2p1:ThirdOwnerType>
    </d2p1:AppInfoDTO>
    <d2p1:BirthDate>sample string 12</d2p1:BirthDate>
    <d2p1:ChannelCode>sample string 27</d2p1:ChannelCode>
    <d2p1:CoverPicUrl>sample string 7</d2p1:CoverPicUrl>
    <d2p1:CreateTime>2022-06-25T09:09:29.0146406+08:00</d2p1:CreateTime>
    <d2p1:Description>sample string 10</d2p1:Description>
    <d2p1:Email>sample string 15</d2p1:Email>
    <d2p1:FullName>sample string 9</d2p1:FullName>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IdCard>sample string 13</d2p1:IdCard>
    <d2p1:Keywords>sample string 11</d2p1:Keywords>
    <d2p1:LastLoginTime>2022-06-25T09:09:29.0146406+08:00</d2p1:LastLoginTime>
    <d2p1:LifePicUrl>sample string 8</d2p1:LifePicUrl>
    <d2p1:LoginName>sample string 2</d2p1:LoginName>
    <d2p1:OnlineExpirationTime>2022-06-25T09:09:29.0146406+08:00</d2p1:OnlineExpirationTime>
    <d2p1:OnlineStatus>64</d2p1:OnlineStatus>
    <d2p1:Password>sample string 3</d2p1:Password>
    <d2p1:PhoneNumber>sample string 5</d2p1:PhoneNumber>
    <d2p1:QQ>sample string 16</d2p1:QQ>
    <d2p1:RadomKey>sample string 4</d2p1:RadomKey>
    <d2p1:Sex>64</d2p1:Sex>
    <d2p1:Status>64</d2p1:Status>
    <d2p1:TVNumber>sample string 6</d2p1:TVNumber>
    <d2p1:ThirdAccount>sample string 28</d2p1:ThirdAccount>
    <d2p1:WeChatOpenId>sample string 24</d2p1:WeChatOpenId>
    <d2p1:WeChatUnionId>sample string 23</d2p1:WeChatUnionId>
    <d2p1:YJY3_UserId>3d0e7a8d-46a4-4a2a-8fdf-2e1514b12e0b</d2p1:YJY3_UserId>
    <d2p1:YJYOpenId>sample string 25</d2p1:YJYOpenId>
  </Rsp>
</BaseRspOfAccountDTOfmuTn9zx>