POST v1/api/HrQu/HrQAndAList
获取答题列表
Request Information
URI Parameters
None.
Body Parameters
GetQAndAInputName | Description | Type | Additional information |
---|---|---|---|
quesType |
列表类型 0 你问我答 1入职小测试 |
integer |
None. |
empName |
姓名 |
string |
None. |
postname |
岗位 |
string |
None. |
startTime |
开始时间 |
date |
None. |
endTime |
结束时间 |
date |
None. |
MaxResultCount |
每页多少条 |
integer |
None. |
SkipCount |
越过多少条 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "quesType": 1, "empName": "sample string 2", "postname": "sample string 3", "startTime": "2024-11-25T17:36:01.6269918+08:00", "endTime": "2024-11-25T17:36:01.6269918+08:00", "MaxResultCount": 4, "SkipCount": 5 }
application/xml, text/xml
Sample:
<GetQAndAInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions"> <MaxResultCount>4</MaxResultCount> <SkipCount>5</SkipCount> <empName>sample string 2</empName> <endTime>2024-11-25T17:36:01.6269918+08:00</endTime> <postname>sample string 3</postname> <quesType>1</quesType> <startTime>2024-11-25T17:36:01.6269918+08:00</startTime> </GetQAndAInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HrQuResponseDtoName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误编码 2:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 2, "message": "sample string 1" }
application/xml, text/xml
Sample:
<HrQuResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions"> <errcode>Error</errcode> <message>sample string 1</message> </HrQuResponseDto>