GET api/Visits/getVisitQuestionnaires?pVisitCode={pVisitCode}&pCustNum={pCustNum}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pVisitCode | integer |
Required |
|
pCustNum | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustQuestionnaryName | Description | Type | Additional information |
---|---|---|---|
questcode | integer |
None. |
|
visitcode | integer |
None. |
|
custnum | integer |
None. |
|
questname | string |
Required String length: inclusive between 0 and 100 |
|
active | string |
Required String length: inclusive between 0 and 1 |
|
creationtime | date |
None. |
|
pdfname | string |
String length: inclusive between 0 and 30 |
|
mongoid | string |
String length: inclusive between 0 and 60 |
|
tamplateId | string |
String length: inclusive between 0 and 60 |
|
emailagree | string |
String length: inclusive between 0 and 1 |
|
for_ascii | string |
String length: inclusive between 0 and 1 |
|
Memo_code | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "questcode": 1, "visitcode": 1, "custnum": 1, "questname": "sample string 2", "active": "sample string 3", "creationtime": "2024-11-21T11:55:55.1474411+02:00", "pdfname": "sample string 5", "mongoid": "sample string 6", "tamplateId": "sample string 7", "emailagree": "sample string 8", "for_ascii": "sample string 9", "Memo_code": 1 }, { "questcode": 1, "visitcode": 1, "custnum": 1, "questname": "sample string 2", "active": "sample string 3", "creationtime": "2024-11-21T11:55:55.1474411+02:00", "pdfname": "sample string 5", "mongoid": "sample string 6", "tamplateId": "sample string 7", "emailagree": "sample string 8", "for_ascii": "sample string 9", "Memo_code": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfCustQuestionnary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <CustQuestionnary> <Memo_code>1</Memo_code> <active>sample string 3</active> <creationtime>2024-11-21T11:55:55.1474411+02:00</creationtime> <custnum>1</custnum> <emailagree>sample string 8</emailagree> <for_ascii>sample string 9</for_ascii> <mongoid>sample string 6</mongoid> <pdfname>sample string 5</pdfname> <questcode>1</questcode> <questname>sample string 2</questname> <tamplateId>sample string 7</tamplateId> <visitcode>1</visitcode> </CustQuestionnary> <CustQuestionnary> <Memo_code>1</Memo_code> <active>sample string 3</active> <creationtime>2024-11-21T11:55:55.1474411+02:00</creationtime> <custnum>1</custnum> <emailagree>sample string 8</emailagree> <for_ascii>sample string 9</for_ascii> <mongoid>sample string 6</mongoid> <pdfname>sample string 5</pdfname> <questcode>1</questcode> <questname>sample string 2</questname> <tamplateId>sample string 7</tamplateId> <visitcode>1</visitcode> </CustQuestionnary> </ArrayOfCustQuestionnary>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.