GET api/questionnaire/load?id={id}
加载一个问卷
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
加载一个问卷
JsonRtnDtoOfQuestionnaireName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Questionnaire |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "PubId": "df87189a-e78f-4ce4-a2b1-54aa7f6ae176", "MemberId": "sample string 3", "MemberName": "sample string 4", "MemberType": 5, "QuestionnaireName": "sample string 6", "QuestionnaireDescription": "sample string 7", "BeginTime": "2024-09-25T00:10:20.1245067+08:00", "EndTime": "2024-09-25T00:10:20.1245067+08:00", "MaxLen": 8, "Anonymity": true, "PubReport": true, "CreatedTime": "2024-09-25T00:10:20.1245067+08:00", "Necessary": true, "State": 0 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"PubId":"df87189a-e78f-4ce4-a2b1-54aa7f6ae176","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","QuestionnaireDescription":"sample string 7","BeginTime":"2024-09-25T00:10:20.1245067+08:00","EndTime":"2024-09-25T00:10:20.1245067+08:00","MaxLen":8,"Anonymity":true,"PubReport":true,"CreatedTime":"2024-09-25T00:10:20.1245067+08:00","Necessary":true,"State":0}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfQuestionnairemEDjlcEG 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:Anonymity>true</d2p1:Anonymity> <d2p1:BeginTime>2024-09-25T00:10:20.1245067+08:00</d2p1:BeginTime> <d2p1:CreatedTime>2024-09-25T00:10:20.1245067+08:00</d2p1:CreatedTime> <d2p1:EndTime>2024-09-25T00:10:20.1245067+08:00</d2p1:EndTime> <d2p1:Id>1</d2p1:Id> <d2p1:MaxLen>8</d2p1:MaxLen> <d2p1:MemberId>sample string 3</d2p1:MemberId> <d2p1:MemberName>sample string 4</d2p1:MemberName> <d2p1:MemberType>5</d2p1:MemberType> <d2p1:Necessary>true</d2p1:Necessary> <d2p1:PubId>df87189a-e78f-4ce4-a2b1-54aa7f6ae176</d2p1:PubId> <d2p1:PubReport>true</d2p1:PubReport> <d2p1:QuestionnaireDescription>sample string 7</d2p1:QuestionnaireDescription> <d2p1:QuestionnaireName>sample string 6</d2p1:QuestionnaireName> <d2p1:State>全部</d2p1:State> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfQuestionnairemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"PubId":"df87189a-e78f-4ce4-a2b1-54aa7f6ae176","MemberId":"sample string 3","MemberName":"sample string 4","MemberType":5,"QuestionnaireName":"sample string 6","QuestionnaireDescription":"sample string 7","BeginTime":"2024-09-25T00:10:20.1245067+08:00","EndTime":"2024-09-25T00:10:20.1245067+08:00","MaxLen":8,"Anonymity":true,"PubReport":true,"CreatedTime":"2024-09-25T00:10:20.1245067+08:00","Necessary":true,"State":0}});