POST api/AccountInformation/MigrateUser_3To2

Request Information

URI Parameters

None.

Body Parameters

BaseReqOfMigrateUser_3To2Req
NameDescriptionTypeAdditional information
Req

MigrateUser_3To2Req

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": {
    "ChannelCode": "sample string 1",
    "UserName": "sample string 2",
    "UserNickName": "sample string 3",
    "UserHeadPic": "sample string 4",
    "MobileNumber": "sample string 5",
    "UserId": "66aa92d5-af08-44bd-af79-c0ec7caece38"
  },
  "Method": "sample string 1",
  "ClientType": 0,
  "ClientVersion": "sample string 2",
  "ClientDeviceVersion": "sample string 3",
  "ClientDeviceNo": "sample string 4",
  "ClientOSVersion": "sample string 5",
  "Timestamp": "2022-06-25 09:29:59:068",
  "Token": "sample string 7",
  "Sign": "sample string 8"
}

application/xml, text/xml

Sample:
<BaseReqOfMigrateUser_3To2ReqWtHIWBcz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Common.Soa.Models">
  <ClientDeviceNo>sample string 4</ClientDeviceNo>
  <ClientDeviceVersion>sample string 3</ClientDeviceVersion>
  <ClientOSVersion>sample string 5</ClientOSVersion>
  <ClientType>Unknown</ClientType>
  <ClientVersion>sample string 2</ClientVersion>
  <Method>sample string 1</Method>
  <Sign>sample string 8</Sign>
  <Timestamp>2022-06-25T09:29:59.0686498+08:00</Timestamp>
  <Token>sample string 7</Token>
  <Req xmlns:d2p1="http://schemas.datacontract.org/2004/07/YJY.Auth.Model.Req">
    <d2p1:ChannelCode>sample string 1</d2p1:ChannelCode>
    <d2p1:MobileNumber>sample string 5</d2p1:MobileNumber>
    <d2p1:UserHeadPic>sample string 4</d2p1:UserHeadPic>
    <d2p1:UserId>66aa92d5-af08-44bd-af79-c0ec7caece38</d2p1:UserId>
    <d2p1:UserName>sample string 2</d2p1:UserName>
    <d2p1:UserNickName>sample string 3</d2p1:UserNickName>
  </Req>
</BaseReqOfMigrateUser_3To2ReqWtHIWBcz>

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

BaseRspOfMigrateUser_3To2Rsp
NameDescriptionTypeAdditional information
Rsp

MigrateUser_3To2Rsp

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": {
    "YJY2_UserId": 1,
    "UserId": "a2b5b365-3e1c-4712-bb85-570d9a0d184d"
  },
  "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:
<BaseRspOfMigrateUser_3To2RspD9So2QqZ 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:UserId>a2b5b365-3e1c-4712-bb85-570d9a0d184d</d2p1:UserId>
    <d2p1:YJY2_UserId>1</d2p1:YJY2_UserId>
  </Rsp>
</BaseRspOfMigrateUser_3To2RspD9So2QqZ>