Skip to main content
Version: latest

获取360评估明细

重要提示

该功能为 尊享版 付费功能,如未升级,请先 升级 后再使用

接口概述#

  • 功能:获取360评估明细(仅支持360问卷)
  • 请求方式:GET
  • 请求地址:/api/surveys/{survey_id}/appraisals/result/{staff_id}/relations?appid={appid}&access_token={access_token}

请求参数#

参数名类型参数位置描述示例值
survey_idintegeruri问卷ID292192
staff_idintegeruri被评估人标识1

响应参数#

参数名类型描述
[_].appraisal_user_idinteger评估人用户ID
[_].appraiser_namestring评估人用户昵称
[_].relation_namestring评估关系
[_].resultinteger最终得分
[_].answer_idinteger评估问卷回收序号
[_].question_resultsarray[object]各题目得分数组
[_].question_results[_].question_idstring题目ID
[_].question_results[_].resultstring单个题目得分

响应示例#

{    "code": "OK",    "error": {        "type": ""    },    "data": [        {            "id": 10110,            "appraiser_id": 21084709,            "appraisal_user_id": 500024100001,            "appraiser_name": "用户A",            "relation_id": 1000,            "relation_name": "自评",            "relation_alias": "自评",            "result": 5,            "answer_id": 35,            "question_results": [                {                    "question_id": "q-2-BJrH",                    "result": 2.1                },                {                    "question_id": "q-1-abcd",                    "result": 3.5                }            ]        },        {            "id": 10110,            "appraiser_id": 21084705,            "appraisal_user_id": 500024100002,            "appraiser_name": "用户B",            "relation_id": 1002,            "relation_name": "自评",            "relation_alias": "自评",            "result": 8,            "answer_id": 30,            "question_results": [                {                    "question_id": "q-2-BJrH",                    "result": 3                },                {                    "question_id": "q-1-abcd",                    "result": 3.6                }            ]        }    ],    "request_id": "iSO1bko6Dg2NNhnZ20240604172849"}
  • 请求失败
{    "code": "InvalidArgument",    "error": {        "type": "invalid_argument",    },    "data": {},    "request_id": "ddec96d2-165e-4f3e-8a64-2057db116d1s"}

错误码#

error.type 错误代码错误描述
claim_error权限校验错误
invalid_argument参数校验不通过