GET api/contest/getexamplanbyid?Id={Id}

根据ID获取考务

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

主键ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

根据ID获取考务

JsonRtnDtoOfExamPlan
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

ExamPlan

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Title": "sample string 1",
    "BeginTime": "2024-09-25T00:11:57.8120068+08:00",
    "CanUpSetStuCode": true,
    "EndTime": "2024-09-25T00:11:57.8120068+08:00",
    "Id": "912220c5-e968-44dd-af3e-033706fa9c9c",
    "CreatedTime": "2024-09-25T00:11:57.8120068+08:00",
    "IsDeleted": true,
    "LastUpdatedTime": "2024-09-25T00:11:57.8120068+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Title":"sample string 1","BeginTime":"2024-09-25T00:11:57.8120068+08:00","CanUpSetStuCode":true,"EndTime":"2024-09-25T00:11:57.8120068+08:00","Id":"912220c5-e968-44dd-af3e-033706fa9c9c","CreatedTime":"2024-09-25T00:11:57.8120068+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:57.8120068+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfExamPlanmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:CreatedTime>2024-09-25T00:11:57.8120068+08:00</d2p1:CreatedTime>
    <d2p1:Id>912220c5-e968-44dd-af3e-033706fa9c9c</d2p1:Id>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:LastUpdatedTime>2024-09-25T00:11:57.8120068+08:00</d2p1:LastUpdatedTime>
    <d2p1:BeginTime>2024-09-25T00:11:57.8120068+08:00</d2p1:BeginTime>
    <d2p1:CanUpSetStuCode>true</d2p1:CanUpSetStuCode>
    <d2p1:EndTime>2024-09-25T00:11:57.8120068+08:00</d2p1:EndTime>
    <d2p1:Title>sample string 1</d2p1:Title>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfExamPlanmEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Title":"sample string 1","BeginTime":"2024-09-25T00:11:57.8120068+08:00","CanUpSetStuCode":true,"EndTime":"2024-09-25T00:11:57.8120068+08:00","Id":"912220c5-e968-44dd-af3e-033706fa9c9c","CreatedTime":"2024-09-25T00:11:57.8120068+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:57.8120068+08:00"}});