POST api/Drugs/UpdatePrescription

Request Information

URI Parameters

None.

Body Parameters

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

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.

Request 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/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Prescription'.

application/bson

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

Response Information

Resource Description

None.