POST api/PersonalTest/SaveResult

保存作答结果并返回报告地址

Request Information

Parameters

NameDescriptionAdditional information
data

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userInfo": {
    "guid": "sample string 1",
    "name": "sample string 2",
    "sex": true,
    "company": "sample string 4"
  },
  "Part1": [
    {
      "guid": "sample string 1",
      "result": "sample string 2"
    },
    {
      "guid": "sample string 1",
      "result": "sample string 2"
    },
    {
      "guid": "sample string 1",
      "result": "sample string 2"
    }
  ],
  "Part2": [
    {
      "guid": "sample string 1",
      "result": 2
    },
    {
      "guid": "sample string 1",
      "result": 2
    },
    {
      "guid": "sample string 1",
      "result": 2
    }
  ],
  "ReportNumber": [
    1,
    2,
    3
  ],
  "login": {
    "account": "sample string 1",
    "password": "sample string 2"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2",
  "data": {}
}