POST api/Gateway/AddMemberBySMS?gatewayId={gatewayId}
添加网关用户(by 手机号短信,发送短信接口可使用SMS/SendSMS_AddUser接口)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gatewayId |
网关ID |
string |
Required |
Body Parameters
AddMemberByPhoneReq| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
当前App用户ID |
string |
None. |
| GUID |
手机号认证GUID号 |
string |
None. |
| Phone |
电话号码 |
string |
None. |
| Code |
手机验证码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"GUID": "sample string 2",
"Phone": "sample string 3",
"Code": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultOfJToken| Name | Description | Type | Additional information |
|---|---|---|---|
| result | Collection of Object |
None. |
|
| isSuccess | boolean |
None. |
|
| code | string |
None. |
|
| errorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": null,
"isSuccess": true,
"code": "sample string 2",
"errorMsg": "sample string 3"
}