POST api/MedicationBrands
Request Information
URI Parameters
None.
Body Parameters
MedicationBrandName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
BRAND_NAME | string |
None. |
|
MED_ID | integer |
None. |
|
SIZE | string |
None. |
|
UNIT | string |
None. |
|
FORM | string |
None. |
|
ROUTE | string |
None. |
|
OLD | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "BRAND_NAME": "sample string 2", "MED_ID": 3, "SIZE": "sample string 4", "UNIT": "sample string 5", "FORM": "sample string 6", "ROUTE": "sample string 7", "OLD": 1 }
application/octet-stream
Sample:
{"ID":1,"BRAND_NAME":"sample string 2","MED_ID":3,"SIZE":"sample string 4","UNIT":"sample string 5","FORM":"sample string 6","ROUTE":"sample string 7","OLD":1}
application/xml, text/xml
Sample:
<MedicationBrand xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <BRAND_NAME>sample string 2</BRAND_NAME> <MED_ID>3</MED_ID> <SIZE>sample string 4</SIZE> <UNIT>sample string 5</UNIT> <FORM>sample string 6</FORM> <ROUTE>sample string 7</ROUTE> <OLD>1</OLD> </MedicationBrand>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MedicationBrandName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
BRAND_NAME | string |
None. |
|
MED_ID | integer |
None. |
|
SIZE | string |
None. |
|
UNIT | string |
None. |
|
FORM | string |
None. |
|
ROUTE | string |
None. |
|
OLD | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "BRAND_NAME": "sample string 2", "MED_ID": 3, "SIZE": "sample string 4", "UNIT": "sample string 5", "FORM": "sample string 6", "ROUTE": "sample string 7", "OLD": 1 }
application/octet-stream
Sample:
{"ID":1,"BRAND_NAME":"sample string 2","MED_ID":3,"SIZE":"sample string 4","UNIT":"sample string 5","FORM":"sample string 6","ROUTE":"sample string 7","OLD":1}
application/xml, text/xml
Sample:
<MedicationBrand xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <BRAND_NAME>sample string 2</BRAND_NAME> <MED_ID>3</MED_ID> <SIZE>sample string 4</SIZE> <UNIT>sample string 5</UNIT> <FORM>sample string 6</FORM> <ROUTE>sample string 7</ROUTE> <OLD>1</OLD> </MedicationBrand>