GET api/SmallProject/GetPhone2?code={code}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
getuserphonenumber| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | string |
None. |
|
| errmsg | string |
None. |
|
| phone_info | phoneinfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": "sample string 1",
"errmsg": "sample string 2",
"phone_info": {
"phoneNumber": "sample string 1",
"purePhoneNumber": "sample string 2",
"countryCode": "sample string 3",
"watermark": {
"timestamp": 1,
"appid": "sample string 1"
}
}
}
application/xml, text/xml
Sample:
<getuserphonenumber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WechatAPI.Controllers">
<errcode>sample string 1</errcode>
<errmsg>sample string 2</errmsg>
<phone_info>
<countryCode>sample string 3</countryCode>
<phoneNumber>sample string 1</phoneNumber>
<purePhoneNumber>sample string 2</purePhoneNumber>
<watermark>
<appid>sample string 1</appid>
<timestamp>1</timestamp>
</watermark>
</phone_info>
</getuserphonenumber>