GET api/contest/getcompetitiononoff

获取竞赛开关状态

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取竞赛开关状态

JsonRtnDtoOfCompetitionOnOff
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

CompetitionOnOff

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "ccec5a94-374c-4221-81c4-081ff3875868",
    "IsOpen": true,
    "Num": 3
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"ccec5a94-374c-4221-81c4-081ff3875868","IsOpen":true,"Num":3}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfCompetitionOnOffmEDjlcEG 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:Id>ccec5a94-374c-4221-81c4-081ff3875868</d2p1:Id>
    <d2p1:IsOpen>true</d2p1:IsOpen>
    <d2p1:Num>3</d2p1:Num>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfCompetitionOnOffmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"ccec5a94-374c-4221-81c4-081ff3875868","IsOpen":true,"Num":3}});