POST v1/api/HrQu/SetHrQuestions
设置你问我答题目
Request Information
URI Parameters
None.
Body Parameters
HrQuestionsInputName | Description | Type | Additional information |
---|---|---|---|
usertoken |
token |
string |
None. |
questions |
问题集合 |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "usertoken": "sample string 1", "questions": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<HrQuestionsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions"> <questions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </questions> <usertoken>sample string 1</usertoken> </HrQuestionsInput>
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>