POST api/WXProgramHR/CreateAnonymousWx
扫描小程序后创建匿名用户信息
Request Information
URI Parameters
None.
Body Parameters
AnonymousWxRequestName | Description | Type | Additional information |
---|---|---|---|
city |
city |
string |
None. |
country |
country |
string |
None. |
avatarUrl |
avatarUrl |
string |
None. |
nickName |
nickName |
string |
None. |
province |
province |
string |
None. |
gender |
gender |
integer |
None. |
code |
code |
string |
None. |
appid |
appid |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "city": "sample string 1", "country": "sample string 2", "avatarUrl": "sample string 3", "nickName": "sample string 4", "province": "sample string 5", "gender": 6, "code": "sample string 7", "appid": "sample string 8" }
application/xml, text/xml
Sample:
<AnonymousWxRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi"> <appid>sample string 8</appid> <code>sample string 7</code> <avatarUrl>sample string 3</avatarUrl> <city>sample string 1</city> <country>sample string 2</country> <gender>6</gender> <nickName>sample string 4</nickName> <province>sample string 5</province> </AnonymousWxRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>