GET api/papertemplate/get?id={id}
加载单个试卷模板
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
加载单个试卷模板
JsonRtnDtoOfTemplateDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | TemplateDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": "4f9dec85-9892-41dd-a32e-0dfa7129a5be", "TemplateName": "sample string 2", "ProfessionalCourseId": 3, "ProfessionalCoursePath": "sample string 4", "IsShared": true, "Lrrd": [ { "Id": "07811049-f985-4447-b6ca-138d8ddc2674", "Knowledge": "sample string 2", "PId": "df60fb47-b86f-40eb-9f4b-f32fc44be7f4", "RuleInfo": "sample string 3", "RuleType": 1, "Taget": 4, "TestTypeId": 5, "Difficulty": 6, "ReTestNum": 7, "Score": "sample string 8", "ReTestRepositoryId": 9, "DescribeReTestRepositoryId": "b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92", "Sort": 10 }, { "Id": "07811049-f985-4447-b6ca-138d8ddc2674", "Knowledge": "sample string 2", "PId": "df60fb47-b86f-40eb-9f4b-f32fc44be7f4", "RuleInfo": "sample string 3", "RuleType": 1, "Taget": 4, "TestTypeId": 5, "Difficulty": 6, "ReTestNum": 7, "Score": "sample string 8", "ReTestRepositoryId": 9, "DescribeReTestRepositoryId": "b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92", "Sort": 10 } ], "TemplateType": 0, "JsonTemplate": "sample string 6", "JsonCard": "sample string 7" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"4f9dec85-9892-41dd-a32e-0dfa7129a5be","TemplateName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCoursePath":"sample string 4","IsShared":true,"Lrrd":[{"Id":"07811049-f985-4447-b6ca-138d8ddc2674","Knowledge":"sample string 2","PId":"df60fb47-b86f-40eb-9f4b-f32fc44be7f4","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92","Sort":10},{"Id":"07811049-f985-4447-b6ca-138d8ddc2674","Knowledge":"sample string 2","PId":"df60fb47-b86f-40eb-9f4b-f32fc44be7f4","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92","Sort":10}],"TemplateType":0,"JsonTemplate":"sample string 6","JsonCard":"sample string 7"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfTemplateDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <Id>4f9dec85-9892-41dd-a32e-0dfa7129a5be</Id> <IsShared>true</IsShared> <JsonCard>sample string 7</JsonCard> <JsonTemplate>sample string 6</JsonTemplate> <Lrrd> <RandomRuleDto> <DescribeReTestRepositoryId>b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92</DescribeReTestRepositoryId> <Difficulty>6</Difficulty> <Id>07811049-f985-4447-b6ca-138d8ddc2674</Id> <Knowledge>sample string 2</Knowledge> <PId>df60fb47-b86f-40eb-9f4b-f32fc44be7f4</PId> <ReTestNum>7</ReTestNum> <ReTestRepositoryId>9</ReTestRepositoryId> <RuleInfo>sample string 3</RuleInfo> <RuleType>组合规则</RuleType> <Score>sample string 8</Score> <Sort>10</Sort> <Taget>4</Taget> <TestTypeId>5</TestTypeId> </RandomRuleDto> <RandomRuleDto> <DescribeReTestRepositoryId>b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92</DescribeReTestRepositoryId> <Difficulty>6</Difficulty> <Id>07811049-f985-4447-b6ca-138d8ddc2674</Id> <Knowledge>sample string 2</Knowledge> <PId>df60fb47-b86f-40eb-9f4b-f32fc44be7f4</PId> <ReTestNum>7</ReTestNum> <ReTestRepositoryId>9</ReTestRepositoryId> <RuleInfo>sample string 3</RuleInfo> <RuleType>组合规则</RuleType> <Score>sample string 8</Score> <Sort>10</Sort> <Taget>4</Taget> <TestTypeId>5</TestTypeId> </RandomRuleDto> </Lrrd> <ProfessionalCourseId>3</ProfessionalCourseId> <ProfessionalCoursePath>sample string 4</ProfessionalCoursePath> <TemplateName>sample string 2</TemplateName> <TemplateType>线上模板</TemplateType> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfTemplateDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"4f9dec85-9892-41dd-a32e-0dfa7129a5be","TemplateName":"sample string 2","ProfessionalCourseId":3,"ProfessionalCoursePath":"sample string 4","IsShared":true,"Lrrd":[{"Id":"07811049-f985-4447-b6ca-138d8ddc2674","Knowledge":"sample string 2","PId":"df60fb47-b86f-40eb-9f4b-f32fc44be7f4","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92","Sort":10},{"Id":"07811049-f985-4447-b6ca-138d8ddc2674","Knowledge":"sample string 2","PId":"df60fb47-b86f-40eb-9f4b-f32fc44be7f4","RuleInfo":"sample string 3","RuleType":1,"Taget":4,"TestTypeId":5,"Difficulty":6,"ReTestNum":7,"Score":"sample string 8","ReTestRepositoryId":9,"DescribeReTestRepositoryId":"b8d6e2e0-3a87-4c28-8adc-2eb8859e0e92","Sort":10}],"TemplateType":0,"JsonTemplate":"sample string 6","JsonCard":"sample string 7"}});