GET api/contest/getcompetitiontypelist
获取竞赛类型列表
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取竞赛类型列表
JsonRtnDtoOfListOfCompetitionTypeName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of CompetitionType |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "TypeName": "sample string 1", "Id": "f69296ca-3176-4514-a436-92397b1266a5", "CreatedTime": "2024-09-25T00:11:29.2650279+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:11:29.2650279+08:00" }, { "TypeName": "sample string 1", "Id": "f69296ca-3176-4514-a436-92397b1266a5", "CreatedTime": "2024-09-25T00:11:29.2650279+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:11:29.2650279+08:00" } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"TypeName":"sample string 1","Id":"f69296ca-3176-4514-a436-92397b1266a5","CreatedTime":"2024-09-25T00:11:29.2650279+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:29.2650279+08:00"},{"TypeName":"sample string 1","Id":"f69296ca-3176-4514-a436-92397b1266a5","CreatedTime":"2024-09-25T00:11:29.2650279+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:29.2650279+08:00"}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfCompetitionTypemEDjlcEG 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:CompetitionType> <d2p1:CreatedTime>2024-09-25T00:11:29.2650279+08:00</d2p1:CreatedTime> <d2p1:Id>f69296ca-3176-4514-a436-92397b1266a5</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:LastUpdatedTime>2024-09-25T00:11:29.2650279+08:00</d2p1:LastUpdatedTime> <d2p1:TypeName>sample string 1</d2p1:TypeName> </d2p1:CompetitionType> <d2p1:CompetitionType> <d2p1:CreatedTime>2024-09-25T00:11:29.2650279+08:00</d2p1:CreatedTime> <d2p1:Id>f69296ca-3176-4514-a436-92397b1266a5</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:LastUpdatedTime>2024-09-25T00:11:29.2650279+08:00</d2p1:LastUpdatedTime> <d2p1:TypeName>sample string 1</d2p1:TypeName> </d2p1:CompetitionType> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfCompetitionTypemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"TypeName":"sample string 1","Id":"f69296ca-3176-4514-a436-92397b1266a5","CreatedTime":"2024-09-25T00:11:29.2650279+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:29.2650279+08:00"},{"TypeName":"sample string 1","Id":"f69296ca-3176-4514-a436-92397b1266a5","CreatedTime":"2024-09-25T00:11:29.2650279+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:11:29.2650279+08:00"}]});