POST api/XmhHr/SubmitQuAnswer

提交入职小测试答案

Request Information

URI Parameters

None.

Body Parameters

InductionReq
NameDescriptionTypeAdditional information
answer

答题json字符串

string

None.

openId

openId/token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "answer": "sample string 1",
  "openId": "sample string 2"
}

application/xml, text/xml

Sample:
<InductionReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <openId>sample string 2</openId>
  <answer>sample string 1</answer>
</InductionReq>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InductionReq'.

Response Information

Resource Description

BaseOut
NameDescriptionTypeAdditional 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:
<BaseOut 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>
</BaseOut>