GET api/Drugs/GetEmptyPrescription

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Prescription
NameDescriptionTypeAdditional information
prescription_code

integer

None.

surg_code

integer

None.

cust_num

integer

None.

visit_code

integer

None.

debit_line

integer

None.

creation_date

date

Required

expiration_date

date

None.

cust_sheet_code

integer

None.

active

string

String length: inclusive between 0 and 1

mongo_id

string

String length: inclusive between 0 and 60

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Customers

Customer

None.

Debits

Debit

None.

DrugsInPrescriptions

Collection of DrugsInPrescription

None.

Employees

Employee

None.

MedicalSheetHistorys

Collection of MedicalSheetHistory

None.

MedicalSheets

Collection of MedicalSheet

None.

MedicalSheets1

MedicalSheet

None.

Visits

Visit

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.BranchGroupKodMahon'. Path 'Customers.Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

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.BranchGroupKodMahon'. Path 'Customers.Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[CustDemog.BranchGroupKodMahon, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[CustDemog.BranchGroupKodMahon, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

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