POST api/Visits/GetEmptyFullVisitDataWithDebit?date_actual={date_actual}&pDline={pDline}&pCustNum={pCustNum}&insur_code={insur_code}&oper_code={oper_code}&service_code={service_code}&district_code={district_code}&branch_code={branch_code}&emp_service_line_code={emp_service_line_code}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
date_actual

date

Required

pDline

integer

Required

pCustNum

integer

Required

insur_code

integer

Required

oper_code

integer

Required

service_code

integer

Default value is 0

district_code

integer

Default value is 0

branch_code

integer

Default value is 0

emp_service_line_code

integer

Default value is 0

type

string

Default value is service

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.