POST api/ClientApp/manage/create_account
[已完成Demo] 创建账号
Request Information
URI Parameters
None.
Body Parameters
CreateAccountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| account_type_id |
账户类型ID |
integer |
None. |
| mobile |
用户手机号 |
string |
Required |
| clientType |
客户端类型,默认值:website |
string |
None. |
| clientVersion |
客户端版本,默认值:1.0.0 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"account_type_id": 1,
"mobile": "sample string 1",
"clientType": "sample string 2",
"clientVersion": "sample string 3"
}
Response Information
Resource Description
CreateAccountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| account_id | integer |
None. |
|
| data | BoundAccount |
None. |
|
| code |
1 为成功,其他为失败 |
integer |
None. |
| msg |
请求描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"account_id": 1,
"data": {
"account_id": 1,
"user_id": 2,
"bank_id": 3,
"bank_name": "sample string 4",
"bank_type": 5,
"bank_type_description": "Other",
"icon": "sample string 6",
"mobile": "sample string 7",
"status": 8,
"create_time": "sample string 9",
"UPI_count": 10
},
"code": 2,
"msg": "sample string 3"
}