GET api/Visits/GetCustQuestioanariesList?pCustNum={pCustNum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCustNum

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustQuestionnary
NameDescriptionTypeAdditional information
questcode

integer

None.

visitcode

integer

None.

questname

string

Required

String length: inclusive between 0 and 30

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

emailagree

string

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
[
  {
    "questcode": 1,
    "visitcode": 2,
    "questname": "sample string 3",
    "active": "sample string 4",
    "creationtime": "2019-10-19T00:52:39.6741092+03:00",
    "pdfname": "sample string 6",
    "mongoid": "sample string 7",
    "emailagree": "sample string 8"
  },
  {
    "questcode": 1,
    "visitcode": 2,
    "questname": "sample string 3",
    "active": "sample string 4",
    "creationtime": "2019-10-19T00:52:39.6741092+03:00",
    "pdfname": "sample string 6",
    "mongoid": "sample string 7",
    "emailagree": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustQuestionnary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <CustQuestionnary>
    <active>sample string 4</active>
    <creationtime>2019-10-19T00:52:39.6741092+03:00</creationtime>
    <emailagree>sample string 8</emailagree>
    <mongoid>sample string 7</mongoid>
    <pdfname>sample string 6</pdfname>
    <questcode>1</questcode>
    <questname>sample string 3</questname>
    <visitcode>2</visitcode>
  </CustQuestionnary>
  <CustQuestionnary>
    <active>sample string 4</active>
    <creationtime>2019-10-19T00:52:39.6741092+03:00</creationtime>
    <emailagree>sample string 8</emailagree>
    <mongoid>sample string 7</mongoid>
    <pdfname>sample string 6</pdfname>
    <questcode>1</questcode>
    <questname>sample string 3</questname>
    <visitcode>2</visitcode>
  </CustQuestionnary>
</ArrayOfCustQuestionnary>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.