POST api/SaveMedicine

Request Information

URI Parameters

None.

Body Parameters

MedicinesVm
NameDescriptionTypeAdditional information
Id

integer

None.

fk_Profiles_Id

integer

None.

pHciTransNo

string

None.

pCategory

string

None.

pDrugCode

string

None.

pGenericCode

string

None.

pSaltCode

string

None.

pStrengthCode

string

None.

pFormCode

string

None.

pUnitCode

string

None.

pPackageCode

string

None.

pOtherMedicine

string

None.

pOthMedDrugGrouping

string

None.

pRoute

string

None.

pQuantity

decimal number

None.

pActualUnitPrice

decimal number

None.

pTotalAmtPrice

decimal number

None.

pInstructionQuantity

string

None.

pInstructionStrength

string

None.

pInstructionFrequency

string

None.

pPrescribingPhysician

string

None.

pIsDispensed

string

None.

pDateDispensed

date

None.

pDateDispensedStr

string

None.

pDispensingPersonnel

string

None.

pIsApplicable

string

None.

AddedBy

string

None.

DateAdded

date

None.

DateAddedStr

string

None.

DeletedBy

string

None.

DateDeleted

date

None.

DateDeletedStr

string

None.

UpdatedBy

string

None.

DateUpdated

date

None.

DateUpdatedStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "fk_Profiles_Id": 1,
  "pHciTransNo": "sample string 1",
  "pCategory": "sample string 2",
  "pDrugCode": "sample string 3",
  "pGenericCode": "sample string 4",
  "pSaltCode": "sample string 5",
  "pStrengthCode": "sample string 6",
  "pFormCode": "sample string 7",
  "pUnitCode": "sample string 8",
  "pPackageCode": "sample string 9",
  "pOtherMedicine": "sample string 10",
  "pOthMedDrugGrouping": "sample string 11",
  "pRoute": "sample string 12",
  "pQuantity": 1.0,
  "pActualUnitPrice": 1.0,
  "pTotalAmtPrice": 1.0,
  "pInstructionQuantity": "sample string 13",
  "pInstructionStrength": "sample string 14",
  "pInstructionFrequency": "sample string 15",
  "pPrescribingPhysician": "sample string 16",
  "pIsDispensed": "sample string 17",
  "pDateDispensed": "2026-01-28T09:23:44.6884425+08:00",
  "pDateDispensedStr": "sample string 18",
  "pDispensingPersonnel": "sample string 19",
  "pIsApplicable": "sample string 20",
  "AddedBy": "sample string 21",
  "DateAdded": "2026-01-28T09:23:44.6884425+08:00",
  "DateAddedStr": "sample string 22",
  "DeletedBy": "sample string 23",
  "DateDeleted": "2026-01-28T09:23:44.6884425+08:00",
  "DateDeletedStr": "sample string 24",
  "UpdatedBy": "sample string 25",
  "DateUpdated": "2026-01-28T09:23:44.6884425+08:00",
  "DateUpdatedStr": "sample string 26"
}

application/xml, text/xml

Sample:
<MedicinesVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/konsulta_api.Models">
  <AddedBy>sample string 21</AddedBy>
  <DateAdded>2026-01-28T09:23:44.6884425+08:00</DateAdded>
  <DateAddedStr>sample string 22</DateAddedStr>
  <DateDeleted>2026-01-28T09:23:44.6884425+08:00</DateDeleted>
  <DateDeletedStr>sample string 24</DateDeletedStr>
  <DateUpdated>2026-01-28T09:23:44.6884425+08:00</DateUpdated>
  <DateUpdatedStr>sample string 26</DateUpdatedStr>
  <DeletedBy>sample string 23</DeletedBy>
  <Id>1</Id>
  <UpdatedBy>sample string 25</UpdatedBy>
  <fk_Profiles_Id>1</fk_Profiles_Id>
  <pActualUnitPrice>1</pActualUnitPrice>
  <pCategory>sample string 2</pCategory>
  <pDateDispensed>2026-01-28T09:23:44.6884425+08:00</pDateDispensed>
  <pDateDispensedStr>sample string 18</pDateDispensedStr>
  <pDispensingPersonnel>sample string 19</pDispensingPersonnel>
  <pDrugCode>sample string 3</pDrugCode>
  <pFormCode>sample string 7</pFormCode>
  <pGenericCode>sample string 4</pGenericCode>
  <pHciTransNo>sample string 1</pHciTransNo>
  <pInstructionFrequency>sample string 15</pInstructionFrequency>
  <pInstructionQuantity>sample string 13</pInstructionQuantity>
  <pInstructionStrength>sample string 14</pInstructionStrength>
  <pIsApplicable>sample string 20</pIsApplicable>
  <pIsDispensed>sample string 17</pIsDispensed>
  <pOthMedDrugGrouping>sample string 11</pOthMedDrugGrouping>
  <pOtherMedicine>sample string 10</pOtherMedicine>
  <pPackageCode>sample string 9</pPackageCode>
  <pPrescribingPhysician>sample string 16</pPrescribingPhysician>
  <pQuantity>1</pQuantity>
  <pRoute>sample string 12</pRoute>
  <pSaltCode>sample string 5</pSaltCode>
  <pStrengthCode>sample string 6</pStrengthCode>
  <pTotalAmtPrice>1</pTotalAmtPrice>
  <pUnitCode>sample string 8</pUnitCode>
</MedicinesVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.