POST HYAPI/AssistantService/WxExtension/wxShareCode
获取分享码
服务请求信息
URI 参数
None.
Body 参数
WeChatCodeModelName | Description | Type | Additional information |
---|---|---|---|
access_token | string |
None. |
|
scene | string |
None. |
|
page | string |
None. |
|
check_path | boolean |
None. |
|
envVersion | string |
None. |
|
width | decimal number |
None. |
|
auto_color | boolean |
None. |
|
line_color | Object |
None. |
|
is_hyaline | boolean |
None. |
|
name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "access_token": "sample string 1", "scene": "sample string 2", "page": "sample string 3", "check_path": true, "envVersion": "sample string 5", "width": 6.0, "auto_color": true, "line_color": {}, "is_hyaline": true, "name": "sample string 10" }
application/xml, text/xml
Sample:
<WeChatCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.API.Model.Wx"> <access_token>sample string 1</access_token> <auto_color>true</auto_color> <check_path>true</check_path> <envVersion>sample string 5</envVersion> <is_hyaline>true</is_hyaline> <line_color /> <name>sample string 10</name> <page>sample string 3</page> <scene>sample string 2</scene> <width>6</width> </WeChatCodeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
服务返回信息
返回数据说明
获取分享码
ResponseDataModelOfListOfGetUserModelName | Description | Type | Additional information |
---|---|---|---|
State |
返回消息状态 |
integer |
None. |
Message |
操作信息 |
string |
None. |
Data |
返回数据 |
Collection of GetUserModel |
None. |
返回数据范例
application/json, text/json
Sample:
{ "State": 1, "Message": "sample string 2", "Data": [ { "id": "sample string 1", "user_account": "sample string 2", "user_info": { "user_name": "sample string 1", "user_company": "sample string 2", "user_dept": "sample string 3", "user_pos": "sample string 4", "user_phone": "sample string 5", "login_ip": "sample string 6", "single_user_login": true, "on_line": true, "user_remark": "sample string 9", "user_type": "sample string 10" }, "operation_information": { "create_time": "2025-04-17T01:36:46.6017491+08:00", "create_user": "sample string 2", "edit_time": "2025-04-17T01:36:46.6017491+08:00", "edit_user": "sample string 4", "review": true, "review_time": "2025-04-17T01:36:46.6017491+08:00", "review_user": "sample string 7" } }, { "id": "sample string 1", "user_account": "sample string 2", "user_info": { "user_name": "sample string 1", "user_company": "sample string 2", "user_dept": "sample string 3", "user_pos": "sample string 4", "user_phone": "sample string 5", "login_ip": "sample string 6", "single_user_login": true, "on_line": true, "user_remark": "sample string 9", "user_type": "sample string 10" }, "operation_information": { "create_time": "2025-04-17T01:36:46.6017491+08:00", "create_user": "sample string 2", "edit_time": "2025-04-17T01:36:46.6017491+08:00", "edit_user": "sample string 4", "review": true, "review_time": "2025-04-17T01:36:46.6017491+08:00", "review_user": "sample string 7" } } ] }
application/xml, text/xml
Sample:
<ResponseDataModelOfArrayOfGetUserModelR7xFMsvn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.API.Model"> <Data> <GetUserModel> <_x003C_id_x003E_k__BackingField>sample string 1</_x003C_id_x003E_k__BackingField> <_x003C_operation_information_x003E_k__BackingField> <_x003C_create_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_create_time_x003E_k__BackingField> <_x003C_create_user_x003E_k__BackingField>sample string 2</_x003C_create_user_x003E_k__BackingField> <_x003C_edit_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_edit_time_x003E_k__BackingField> <_x003C_edit_user_x003E_k__BackingField>sample string 4</_x003C_edit_user_x003E_k__BackingField> <_x003C_review_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_review_time_x003E_k__BackingField> <_x003C_review_user_x003E_k__BackingField>sample string 7</_x003C_review_user_x003E_k__BackingField> <_x003C_review_x003E_k__BackingField>true</_x003C_review_x003E_k__BackingField> </_x003C_operation_information_x003E_k__BackingField> <_x003C_user_account_x003E_k__BackingField>sample string 2</_x003C_user_account_x003E_k__BackingField> <_x003C_user_info_x003E_k__BackingField> <_x003C_login_ip_x003E_k__BackingField>sample string 6</_x003C_login_ip_x003E_k__BackingField> <_x003C_on_line_x003E_k__BackingField>true</_x003C_on_line_x003E_k__BackingField> <_x003C_single_user_login_x003E_k__BackingField>true</_x003C_single_user_login_x003E_k__BackingField> <_x003C_user_company_x003E_k__BackingField>sample string 2</_x003C_user_company_x003E_k__BackingField> <_x003C_user_dept_x003E_k__BackingField>sample string 3</_x003C_user_dept_x003E_k__BackingField> <_x003C_user_name_x003E_k__BackingField>sample string 1</_x003C_user_name_x003E_k__BackingField> <_x003C_user_phone_x003E_k__BackingField>sample string 5</_x003C_user_phone_x003E_k__BackingField> <_x003C_user_pos_x003E_k__BackingField>sample string 4</_x003C_user_pos_x003E_k__BackingField> <_x003C_user_remark_x003E_k__BackingField>sample string 9</_x003C_user_remark_x003E_k__BackingField> <_x003C_user_type_x003E_k__BackingField>sample string 10</_x003C_user_type_x003E_k__BackingField> </_x003C_user_info_x003E_k__BackingField> </GetUserModel> <GetUserModel> <_x003C_id_x003E_k__BackingField>sample string 1</_x003C_id_x003E_k__BackingField> <_x003C_operation_information_x003E_k__BackingField> <_x003C_create_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_create_time_x003E_k__BackingField> <_x003C_create_user_x003E_k__BackingField>sample string 2</_x003C_create_user_x003E_k__BackingField> <_x003C_edit_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_edit_time_x003E_k__BackingField> <_x003C_edit_user_x003E_k__BackingField>sample string 4</_x003C_edit_user_x003E_k__BackingField> <_x003C_review_time_x003E_k__BackingField>2025-04-17T01:36:46.6017491+08:00</_x003C_review_time_x003E_k__BackingField> <_x003C_review_user_x003E_k__BackingField>sample string 7</_x003C_review_user_x003E_k__BackingField> <_x003C_review_x003E_k__BackingField>true</_x003C_review_x003E_k__BackingField> </_x003C_operation_information_x003E_k__BackingField> <_x003C_user_account_x003E_k__BackingField>sample string 2</_x003C_user_account_x003E_k__BackingField> <_x003C_user_info_x003E_k__BackingField> <_x003C_login_ip_x003E_k__BackingField>sample string 6</_x003C_login_ip_x003E_k__BackingField> <_x003C_on_line_x003E_k__BackingField>true</_x003C_on_line_x003E_k__BackingField> <_x003C_single_user_login_x003E_k__BackingField>true</_x003C_single_user_login_x003E_k__BackingField> <_x003C_user_company_x003E_k__BackingField>sample string 2</_x003C_user_company_x003E_k__BackingField> <_x003C_user_dept_x003E_k__BackingField>sample string 3</_x003C_user_dept_x003E_k__BackingField> <_x003C_user_name_x003E_k__BackingField>sample string 1</_x003C_user_name_x003E_k__BackingField> <_x003C_user_phone_x003E_k__BackingField>sample string 5</_x003C_user_phone_x003E_k__BackingField> <_x003C_user_pos_x003E_k__BackingField>sample string 4</_x003C_user_pos_x003E_k__BackingField> <_x003C_user_remark_x003E_k__BackingField>sample string 9</_x003C_user_remark_x003E_k__BackingField> <_x003C_user_type_x003E_k__BackingField>sample string 10</_x003C_user_type_x003E_k__BackingField> </_x003C_user_info_x003E_k__BackingField> </GetUserModel> </Data> <Message>sample string 2</Message> <State>1</State> </ResponseDataModelOfArrayOfGetUserModelR7xFMsvn>