POST api/testQuestion/Submit?testId={testId}&userId={userId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
testId
No documentation available.

Define this parameter in the request URI.

userId
No documentation available.

Define this parameter in the request URI.

answers
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "Key": 1,
    "Value": 2
  },
  {
    "Key": 1,
    "Value": 2
  },
  {
    "Key": 1,
    "Value": 2
  }
]

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 'List`1'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "st_Id": 1,
  "st_Staff_Id": "sample string 2",
  "st_TestId": 3,
  "st_Score": 1,
  "st_CreateDate": "2026-03-30T01:51:04.7043005+08:00",
  "Tab_WX_Staff_Test_Quesion": [
    {
      "stq_Id": 1,
      "stq_StaffTestId": 1,
      "stq_QuesionId": 3,
      "stq_Score": 1.0,
      "Tab_WX_Staff_Test_Answer": [
        {
          "sta_Id": 1,
          "sta_StaffTestQuesion_Id": 1,
          "sta_TestQuestionAnswerId": 3
        }
      ]
    }
  ]
}