POST api/prescription/addnewmastermedicine

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:
{
  "medicineId": 1,
  "delFlg": true,
  "createdOn": "2020-10-01T16:09:38.8390154+00:00",
  "createdBy": "fa27f34d-1cc7-4316-ac66-8e532c4faca9",
  "companyid": 5,
  "medicineName": "sample string 6",
  "doctorId": "1222da9a-5344-41b0-b4fc-cd8db1b165b3",
  "strength": "sample string 8",
  "medicineUnit": "sample string 9",
  "message": "sample string 10"
}

application/xml, text/xml

Sample:
<MasterMedicineModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <companyid>5</companyid>
  <createdBy>fa27f34d-1cc7-4316-ac66-8e532c4faca9</createdBy>
  <createdOn>2020-10-01T16:09:38.8390154+00:00</createdOn>
  <delFlg>true</delFlg>
  <doctorId>1222da9a-5344-41b0-b4fc-cd8db1b165b3</doctorId>
  <medicineId>1</medicineId>
  <medicineName>sample string 6</medicineName>
  <medicineUnit>sample string 9</medicineUnit>
  <message>sample string 10</message>
  <strength>sample string 8</strength>
</MasterMedicineModel>

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