GET api/MEQuestion/GetQuestionnaire?q={q}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfQuestionnaireDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | Collection of QuestionnaireDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": [ { "Id": 1, "Question": "sample string 2", "QuestionType": "sample string 3", "IsInline": true, "Class": "sample string 4", "PlaceHolder": "sample string 5", "MaxLength": 1, "Row": 1, "HelpText": "sample string 6", "lstOptions": [ { "Id": 1, "QuestionnaireId": 2, "OptionName": "sample string 3", "OptionValue": "sample string 4", "IsChecked": true, "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 8, "UserIDUpdated": 9 }, { "Id": 1, "QuestionnaireId": 2, "OptionName": "sample string 3", "OptionValue": "sample string 4", "IsChecked": true, "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 8, "UserIDUpdated": 9 } ], "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 10, "UserIDUpdated": 11 }, { "Id": 1, "Question": "sample string 2", "QuestionType": "sample string 3", "IsInline": true, "Class": "sample string 4", "PlaceHolder": "sample string 5", "MaxLength": 1, "Row": 1, "HelpText": "sample string 6", "lstOptions": [ { "Id": 1, "QuestionnaireId": 2, "OptionName": "sample string 3", "OptionValue": "sample string 4", "IsChecked": true, "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 8, "UserIDUpdated": 9 }, { "Id": 1, "QuestionnaireId": 2, "OptionName": "sample string 3", "OptionValue": "sample string 4", "IsChecked": true, "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 8, "UserIDUpdated": 9 } ], "ValidFlag": true, "DateCreated": "2025-04-04T05:02:08.9295195-07:00", "DateUpdated": "2025-04-04T05:02:08.9295195-07:00", "UserIDCreated": 10, "UserIDUpdated": 11 } ], "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfQuestionnaireDTOzIntITI8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common"> <isSuccess>true</isSuccess> <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam"> <d2p1:QuestionnaireDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">11</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Class>sample string 4</d2p1:Class> <d2p1:HelpText>sample string 6</d2p1:HelpText> <d2p1:Id>1</d2p1:Id> <d2p1:IsInline>true</d2p1:IsInline> <d2p1:MaxLength>1</d2p1:MaxLength> <d2p1:PlaceHolder>sample string 5</d2p1:PlaceHolder> <d2p1:Question>sample string 2</d2p1:Question> <d2p1:QuestionType>sample string 3</d2p1:QuestionType> <d2p1:Row>1</d2p1:Row> <d2p1:lstOptions> <d2p1:QuestionOptionDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">8</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Id>1</d2p1:Id> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:OptionName>sample string 3</d2p1:OptionName> <d2p1:OptionValue>sample string 4</d2p1:OptionValue> <d2p1:QuestionnaireId>2</d2p1:QuestionnaireId> </d2p1:QuestionOptionDTO> <d2p1:QuestionOptionDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">8</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Id>1</d2p1:Id> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:OptionName>sample string 3</d2p1:OptionName> <d2p1:OptionValue>sample string 4</d2p1:OptionValue> <d2p1:QuestionnaireId>2</d2p1:QuestionnaireId> </d2p1:QuestionOptionDTO> </d2p1:lstOptions> </d2p1:QuestionnaireDTO> <d2p1:QuestionnaireDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">10</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">11</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Class>sample string 4</d2p1:Class> <d2p1:HelpText>sample string 6</d2p1:HelpText> <d2p1:Id>1</d2p1:Id> <d2p1:IsInline>true</d2p1:IsInline> <d2p1:MaxLength>1</d2p1:MaxLength> <d2p1:PlaceHolder>sample string 5</d2p1:PlaceHolder> <d2p1:Question>sample string 2</d2p1:Question> <d2p1:QuestionType>sample string 3</d2p1:QuestionType> <d2p1:Row>1</d2p1:Row> <d2p1:lstOptions> <d2p1:QuestionOptionDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">8</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Id>1</d2p1:Id> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:OptionName>sample string 3</d2p1:OptionName> <d2p1:OptionValue>sample string 4</d2p1:OptionValue> <d2p1:QuestionnaireId>2</d2p1:QuestionnaireId> </d2p1:QuestionOptionDTO> <d2p1:QuestionOptionDTO> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-04T05:02:08.9295195-07:00</DateUpdated> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">8</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">9</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <d2p1:Id>1</d2p1:Id> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:OptionName>sample string 3</d2p1:OptionName> <d2p1:OptionValue>sample string 4</d2p1:OptionValue> <d2p1:QuestionnaireId>2</d2p1:QuestionnaireId> </d2p1:QuestionOptionDTO> </d2p1:lstOptions> </d2p1:QuestionnaireDTO> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfArrayOfQuestionnaireDTOzIntITI8>