PUT api/Drugs/UpdateDrug
Request Information
URI Parameters
None.
Body Parameters
DrugName | Description | Type | Additional information |
---|---|---|---|
drug_code | integer |
None. |
|
drug_name | string |
Required String length: inclusive between 0 and 100 |
|
drug_hebrew_name | string |
String length: inclusive between 0 and 100 |
|
dosage | decimal number |
None. |
|
drug_unit | integer |
None. |
|
capacity | integer |
None. |
|
dosage_unit | string |
String length: inclusive between 0 and 20 |
|
times_per_unit | integer |
None. |
|
dosage_from | integer |
None. |
|
active | string |
String length: inclusive between 0 and 1 |
|
barcode | string |
None. |
|
interface_code | string |
String length: inclusive between 0 and 10 |
|
old_code | integer |
None. |
|
custPermanentDrugs | Collection of custPermanentDrug |
None. |
|
Units | Unit |
None. |
|
DrugsForCocktails | Collection of DrugsForCocktails |
None. |
|
DrugsForInsures | Collection of DrugsForInsures |
None. |
|
DrugsInPrescriptions | Collection of DrugsInPrescription |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.