GET api/Visits/GetCustQuestioanarCopyFrom?pCustNum={pCustNum}&id={id}&onlyActive={onlyActive}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pCustNum | integer |
Required |
|
id | string |
Required |
|
onlyActive | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of QuestionnaryName | Description | Type | Additional information |
---|---|---|---|
_id | ObjectId |
None. |
|
parentTamplate | ObjectId |
None. |
|
QuestName | string |
None. |
|
QuestNameForCustomer | string |
None. |
|
active | boolean |
None. |
|
customerId | integer |
None. |
|
tabs | Collection of TabsTemplate |
None. |
|
CreationTime | date |
None. |
|
updationTime | date |
None. |
|
updateBy | string |
None. |
|
emailagree | boolean |
None. |
|
singleInVisit | boolean |
None. |
|
digitalSignature | string |
None. |
|
copyFormQuestion | boolean |
None. |
|
saveBefordigitalSignature | boolean |
None. |
|
digitalSignatureRequired | boolean |
None. |
|
ShowTabToPatient | boolean |
None. |
|
editAfterSign | boolean |
None. |
|
for_ascii | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "_id": "000000000000000000000000", "parentTamplate": "000000000000000000000000", "QuestName": "sample string 1", "QuestNameForCustomer": "sample string 2", "active": true, "customerId": 4, "tabs": [ { "name": "sample string 1", "categories": [ { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] }, { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] } ] }, { "name": "sample string 1", "categories": [ { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] }, { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] } ] } ], "CreationTime": "2024-11-21T11:59:07.3196945+02:00", "updationTime": "2024-11-21T11:59:07.3196945+02:00", "updateBy": "sample string 7", "emailagree": true, "singleInVisit": true, "digitalSignature": "sample string 10", "copyFormQuestion": true, "saveBefordigitalSignature": true, "digitalSignatureRequired": true, "ShowTabToPatient": true, "editAfterSign": true, "for_ascii": true }, { "_id": "000000000000000000000000", "parentTamplate": "000000000000000000000000", "QuestName": "sample string 1", "QuestNameForCustomer": "sample string 2", "active": true, "customerId": 4, "tabs": [ { "name": "sample string 1", "categories": [ { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] }, { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] } ] }, { "name": "sample string 1", "categories": [ { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] }, { "name": "sample string 1", "questions": [ null, { "Id": "000000000000000000000000", "name": null, "isRequired": false, "type": "dropdown", "isVisible": false, "isText": null, "visibleIf": null, "validator": null, "withUnknown": false, "inline": null, "multySelect": null, "itemsSelect": null, "textAfter": null, "optionRR": null, "answer": null, "answerValue": null, "multipleAnswers": null, "listOccup": null } ] } ] } ], "CreationTime": "2024-11-21T11:59:07.3196945+02:00", "updationTime": "2024-11-21T11:59:07.3196945+02:00", "updateBy": "sample string 7", "emailagree": true, "singleInVisit": true, "digitalSignature": "sample string 10", "copyFormQuestion": true, "saveBefordigitalSignature": true, "digitalSignatureRequired": true, "ShowTabToPatient": true, "editAfterSign": true, "for_ascii": true } ]
application/xml, text/xml
Sample:
<ArrayOfQuestionnary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical"> <Questionnary> <CreationTime>2024-11-21T11:59:07.3196945+02:00</CreationTime> <QuestName>sample string 1</QuestName> <QuestNameForCustomer>sample string 2</QuestNameForCustomer> <ShowTabToPatient>true</ShowTabToPatient> <_id xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </_id> <active>true</active> <copyFormQuestion>true</copyFormQuestion> <customerId>4</customerId> <digitalSignature>sample string 10</digitalSignature> <digitalSignatureRequired>true</digitalSignatureRequired> <editAfterSign>true</editAfterSign> <emailagree>true</emailagree> <for_ascii>true</for_ascii> <parentTamplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </parentTamplate> <saveBefordigitalSignature>true</saveBefordigitalSignature> <singleInVisit>true</singleInVisit> <tabs> <TabsTemplate> <categories> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> </categories> <name>sample string 1</name> </TabsTemplate> <TabsTemplate> <categories> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> </categories> <name>sample string 1</name> </TabsTemplate> </tabs> <updateBy>sample string 7</updateBy> <updationTime>2024-11-21T11:59:07.3196945+02:00</updationTime> </Questionnary> <Questionnary> <CreationTime>2024-11-21T11:59:07.3196945+02:00</CreationTime> <QuestName>sample string 1</QuestName> <QuestNameForCustomer>sample string 2</QuestNameForCustomer> <ShowTabToPatient>true</ShowTabToPatient> <_id xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </_id> <active>true</active> <copyFormQuestion>true</copyFormQuestion> <customerId>4</customerId> <digitalSignature>sample string 10</digitalSignature> <digitalSignatureRequired>true</digitalSignatureRequired> <editAfterSign>true</editAfterSign> <emailagree>true</emailagree> <for_ascii>true</for_ascii> <parentTamplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d3p1:_a>0</d3p1:_a> <d3p1:_b>0</d3p1:_b> <d3p1:_c>0</d3p1:_c> </parentTamplate> <saveBefordigitalSignature>true</saveBefordigitalSignature> <singleInVisit>true</singleInVisit> <tabs> <TabsTemplate> <categories> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> </categories> <name>sample string 1</name> </TabsTemplate> <TabsTemplate> <categories> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> <CategoryTemplate> <name>sample string 1</name> <questions> <questionTemplate i:nil="true" /> <questionTemplate> <Id>000000000000000000000000</Id> <answer i:nil="true" /> <answerValue i:nil="true" /> <inline i:nil="true" /> <isRequired>false</isRequired> <isText i:nil="true" /> <isVisible>false</isVisible> <itemsSelect xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <listOccup xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multipleAnswers xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <multySelect i:nil="true" /> <name i:nil="true" /> <optionRR i:nil="true" /> <textAfter i:nil="true" /> <type>dropdown</type> <validator i:nil="true" /> <visibleIf i:nil="true" /> <withUnknown>false</withUnknown> </questionTemplate> </questions> </CategoryTemplate> </categories> <name>sample string 1</name> </TabsTemplate> </tabs> <updateBy>sample string 7</updateBy> <updationTime>2024-11-21T11:59:07.3196945+02:00</updationTime> </Questionnary> </ArrayOfQuestionnary>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.