POST api/OpenApi/Register
注册业主账户
Request Information
URI Parameters
None.
Body Parameters
display_Name 姓名 password 密码 phone 手机号
UserParamName | Description | Type | Additional information |
---|---|---|---|
password | string |
Required String length: inclusive between 0 and 16 |
|
display_name | string |
Required Matching regular expression pattern: [\u4E00-\u9FA5]+$ String length: inclusive between 2 and 10 |
|
phone | string |
Required Matching regular expression pattern: ((^13[0-9]{1}[0-9]{8}|^15[0-9]{1}[0-9]{8}|^14[0-9]{1}[0-9]{8}|^16[0-9]{1}[0-9]{8}|^17[0-9]{1}[0-9]{8}|^18[0-9]{1}[0-9]{8}|^19[0-9]{1}[0-9]{8})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$) |
Request Formats
application/json, text/json
Sample:
{ "password": "sample string 1", "display_name": "sample string 2", "phone": "sample string 3" }
application/xml, text/xml
Sample:
<UserParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.OpenApi.Models"> <display_name>sample string 2</display_name> <password>sample string 1</password> <phone>sample string 3</phone> </UserParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |