GET api/Manage/ViewExam/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfExamRsponse
NameDescriptionTypeAdditional information
data

ExamRsponse

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "sortList": [
      {
        "type": "sample string 1",
        "number": 2,
        "score": 3,
        "total": 4
      },
      {
        "type": "sample string 1",
        "number": 2,
        "score": 3,
        "total": 4
      }
    ],
    "Id": 1,
    "DeptId": [
      1,
      2
    ],
    "STitle": "sample string 2",
    "NType": 1,
    "StartTime": "2024-11-25T16:51:05.8730856+08:00",
    "EndTime": "2024-11-25T16:51:05.8730856+08:00",
    "UseTime": 1,
    "Count0": 1,
    "PName0": "sample string 3",
    "Core0": 1,
    "Count1": 1,
    "PName1": "sample string 4",
    "Core1": 1,
    "Count2": 1,
    "PName2": "sample string 5",
    "Core2": 1,
    "Count3": 1,
    "PName3": "sample string 6",
    "Core3": 1,
    "TotalCore": 1,
    "PassCore": 1,
    "IsEnable": 1,
    "AddEmpDatas": [
      {
        "deptId": 1,
        "emp": [
          1,
          2
        ]
      },
      {
        "deptId": 1,
        "emp": [
          1,
          2
        ]
      }
    ],
    "DelEmpDatas": [
      {
        "id": 1,
        "name": "sample string 2"
      },
      {
        "id": 1,
        "name": "sample string 2"
      }
    ]
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfExamRsponsewByyLw_Px xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data>
    <AddEmpDatas>
      <AddEmpDatasModel>
        <deptId>1</deptId>
        <emp xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </emp>
      </AddEmpDatasModel>
      <AddEmpDatasModel>
        <deptId>1</deptId>
        <emp xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </emp>
      </AddEmpDatasModel>
    </AddEmpDatas>
    <Core0>1</Core0>
    <Core1>1</Core1>
    <Core2>1</Core2>
    <Core3>1</Core3>
    <Count0>1</Count0>
    <Count1>1</Count1>
    <Count2>1</Count2>
    <Count3>1</Count3>
    <DelEmpDatas>
      <ExtData>
        <id>1</id>
        <name>sample string 2</name>
      </ExtData>
      <ExtData>
        <id>1</id>
        <name>sample string 2</name>
      </ExtData>
    </DelEmpDatas>
    <DeptId xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </DeptId>
    <EndTime>2024-11-25T16:51:05.8730856+08:00</EndTime>
    <Id>1</Id>
    <IsEnable>1</IsEnable>
    <NType>1</NType>
    <PName0>sample string 3</PName0>
    <PName1>sample string 4</PName1>
    <PName2>sample string 5</PName2>
    <PName3>sample string 6</PName3>
    <PassCore>1</PassCore>
    <STitle>sample string 2</STitle>
    <StartTime>2024-11-25T16:51:05.8730856+08:00</StartTime>
    <TotalCore>1</TotalCore>
    <UseTime>1</UseTime>
    <sortList>
      <QuestionType>
        <number>2</number>
        <score>3</score>
        <total>4</total>
        <type>sample string 1</type>
      </QuestionType>
      <QuestionType>
        <number>2</number>
        <score>3</score>
        <total>4</total>
        <type>sample string 1</type>
      </QuestionType>
    </sortList>
  </data>
</BaseResponseOfExamRsponsewByyLw_Px>