POST api/drugs/create

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "drugId": 1,
  "createdBy": "b18c745c-43f1-4e90-9235-f48b40e604b1",
  "drugName": "sample string 3",
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<DrugsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <createdBy>b18c745c-43f1-4e90-9235-f48b40e604b1</createdBy>
  <drugId>1</drugId>
  <drugName>sample string 3</drugName>
  <message>sample string 4</message>
</DrugsModel>

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 'DrugsModel'.