POST api/Drugs/AddPrescription

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:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/bson

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