POST api/XmhHr/GetAllGuideList
Request Information
URI Parameters
None.
Body Parameters
OpenIdReqName | Description | Type | Additional information |
---|---|---|---|
openId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "openId": "sample string 1" }
application/xml, text/xml
Sample:
<OpenIdReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels.Dto"> <openId>sample string 1</openId> </OpenIdReq>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GuideViewModelName | Description | Type | Additional information |
---|---|---|---|
data | Collection of hr_guide |
None. |
|
errcode |
错误编码 2:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": 1, "title": "sample string 2", "content": "sample string 3", "creation_time": "2024-11-25T17:50:35.7617575+08:00", "update_time": "2024-11-25T17:50:35.7617575+08:00", "sort": 1, "create_emp_id": 1, "create_emp_name": "sample string 4", "is_use": 1, "is_delete": 1 }, { "id": 1, "title": "sample string 2", "content": "sample string 3", "creation_time": "2024-11-25T17:50:35.7617575+08:00", "update_time": "2024-11-25T17:50:35.7617575+08:00", "sort": 1, "create_emp_id": 1, "create_emp_name": "sample string 4", "is_use": 1, "is_delete": 1 } ], "errcode": 2, "message": "sample string 1" }
application/xml, text/xml
Sample:
<GuideViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels"> <errcode>Error</errcode> <message>sample string 1</message> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Xinminghui.Entity"> <d2p1:hr_guide> <d2p1:content>sample string 3</d2p1:content> <d2p1:create_emp_id>1</d2p1:create_emp_id> <d2p1:create_emp_name>sample string 4</d2p1:create_emp_name> <d2p1:creation_time>2024-11-25T17:50:35.7617575+08:00</d2p1:creation_time> <d2p1:id>1</d2p1:id> <d2p1:is_delete>1</d2p1:is_delete> <d2p1:is_use>1</d2p1:is_use> <d2p1:sort>1</d2p1:sort> <d2p1:title>sample string 2</d2p1:title> <d2p1:update_time>2024-11-25T17:50:35.7617575+08:00</d2p1:update_time> </d2p1:hr_guide> <d2p1:hr_guide> <d2p1:content>sample string 3</d2p1:content> <d2p1:create_emp_id>1</d2p1:create_emp_id> <d2p1:create_emp_name>sample string 4</d2p1:create_emp_name> <d2p1:creation_time>2024-11-25T17:50:35.7617575+08:00</d2p1:creation_time> <d2p1:id>1</d2p1:id> <d2p1:is_delete>1</d2p1:is_delete> <d2p1:is_use>1</d2p1:is_use> <d2p1:sort>1</d2p1:sort> <d2p1:title>sample string 2</d2p1:title> <d2p1:update_time>2024-11-25T17:50:35.7617575+08:00</d2p1:update_time> </d2p1:hr_guide> </data> </GuideViewModel>