POST api/v1/testv1/Login

Request Information

URI Parameters

None.

Body Parameters

TestLoginParam
NameDescriptionTypeAdditional information
IdOrLogin

integer

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdOrLogin": 1,
  "Type": 2
}

application/xml, text/xml

Sample:
<TestLoginParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.Tests">
  <IdOrLogin>1</IdOrLogin>
  <Type>2</Type>
</TestLoginParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginUserDto
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

NickName

string

None.

Login

integer

None.

Token

string

None.

MobilePhone

string

None.

Email

string

None.

Code

string

None.

MemberId

integer

None.

Avatar

string

None.

ContactIM

string

None.

CustomerServiceUrl

string

None.

IsBindGoogleCheck

integer

None.

IsSetPassWord

integer

None.

TransactionPwd

string

None.

CountryAreaCode

string

None.

CountryCode

string

None.

DocumenCode

string

None.

CreateTime

date

None.

CreateTimestamp

integer

None.

SocialPlatformType

string

None.

Timezone

integer

None.

CurrencySymbol

string

None.

CurrencyDigits

integer

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<LoginUserDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
  <NickName>sample string 3</NickName>
  <Login>4</Login>
  <Token>sample string 5</Token>
  <MobilePhone>sample string 6</MobilePhone>
  <Email>sample string 7</Email>
  <Code>sample string 8</Code>
  <MemberId>9</MemberId>
  <Avatar>http://img.waitzr.comsample string 10?v=</Avatar>
  <ContactIM>sample string 11</ContactIM>
  <CustomerServiceUrl>sample string 12</CustomerServiceUrl>
  <IsBindGoogleCheck>13</IsBindGoogleCheck>
  <IsSetPassWord>14</IsSetPassWord>
  <TransactionPwd>sample string 15</TransactionPwd>
  <CountryAreaCode>sample string 16</CountryAreaCode>
  <CountryCode>sample string 17</CountryCode>
  <DocumenCode>sample string 18</DocumenCode>
  <CreateTime>2026-01-21T02:27:00.0939036+00:00</CreateTime>
  <CreateTimestamp>1</CreateTimestamp>
  <SocialPlatformType>sample string 20</SocialPlatformType>
  <Timezone>21</Timezone>
  <CurrencySymbol>sample string 22</CurrencySymbol>
  <CurrencyDigits>23</CurrencyDigits>
</LoginUserDto>

text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "NickName": "sample string 3",
  "Login": 4,
  "Token": "sample string 5",
  "MobilePhone": "sample string 6",
  "Email": "sample string 7",
  "Code": "sample string 8",
  "MemberId": 9,
  "Avatar": "http://img.waitzr.comsample string 10?v=",
  "ContactIM": "sample string 11",
  "CustomerServiceUrl": "sample string 12",
  "IsBindGoogleCheck": 13,
  "IsSetPassWord": 14,
  "TransactionPwd": "sample string 15",
  "CountryAreaCode": "sample string 16",
  "CountryCode": "sample string 17",
  "DocumenCode": "sample string 18",
  "CreateTime": "2026-01-21T02:27:00.0939036+00:00",
  "CreateTimestamp": 1,
  "SocialPlatformType": "sample string 20",
  "Timezone": 21,
  "CurrencySymbol": "sample string 22",
  "CurrencyDigits": 23
}

text/xml

Sample:
<LoginUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Finance">
  <Avatar>http://img.waitzr.comsample string 10?v=</Avatar>
  <Code>sample string 8</Code>
  <ContactIM>sample string 11</ContactIM>
  <CountryAreaCode>sample string 16</CountryAreaCode>
  <CountryCode>sample string 17</CountryCode>
  <CreateTime>2026-01-21T02:27:00.0939036+00:00</CreateTime>
  <CreateTimestamp>1</CreateTimestamp>
  <CurrencyDigits>23</CurrencyDigits>
  <CurrencySymbol>sample string 22</CurrencySymbol>
  <CustomerServiceUrl>sample string 12</CustomerServiceUrl>
  <DocumenCode>sample string 18</DocumenCode>
  <Email>sample string 7</Email>
  <IsBindGoogleCheck>13</IsBindGoogleCheck>
  <IsSetPassWord>14</IsSetPassWord>
  <Login>4</Login>
  <MemberId>9</MemberId>
  <MobilePhone>sample string 6</MobilePhone>
  <NickName>sample string 3</NickName>
  <SocialPlatformType>sample string 20</SocialPlatformType>
  <Timezone>21</Timezone>
  <Token>sample string 5</Token>
  <TransactionPwd>sample string 15</TransactionPwd>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</LoginUserDto>