POST api/Visits/GetFullVisitData?pCustNum={pCustNum}&pVisit={pVisit}&pVisitCode={pVisitCode}&pDLine={pDLine}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCustNum

integer

Required

pVisit

boolean

Default value is False

pVisitCode

integer

Default value is -1

pDLine

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

FullVisit
NameDescriptionTypeAdditional information
VisitData

Visit

None.

VisitMoreData

Object

None.

CustomerData

Customer

None.

ScansList

Collection of VisitsImage

None.

Packages

Collection of integer

None.

QuestList

Collection of CustQuestionnary

None.

DebitList

Object

None.

AllVisits

Collection of Object

None.

MedicalSheets

Collection of Object

None.

MedicalMeasurements

Collection of Object

None.

SequrityAnswers

Collection of CustSecurityAnswer

None.

AppointmentRemark

string

None.

VistsCode

integer

None.

DLine

integer

None.

TreatesCount

Dictionary of integer [key] and integer [value]

None.

VisitSummary

RetSummaryVisit

None.

InitialData

PhoneAppointmentInitialData

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CustDemog.AnswerStatusChange'. Path 'VisitData.AnswerStatusHistory[0].Debits.AnswerStatusHistory'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CustDemog.AnswerStatusChange'. Path 'VisitData.AnswerStatusHistory[0].Debits.AnswerStatusHistory'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

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