POST api/CustomMedicine

Request Information

URI Parameters

None.

Body Parameters

Custom_Medicine
NameDescriptionTypeAdditional information
CM_Id

integer

None.

MobileNumber

string

None.

MedicineName

string

None.

BrandName

string

None.

mg

string

None.

PatientId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CM_Id": 1,
  "MobileNumber": "sample string 2",
  "MedicineName": "sample string 3",
  "BrandName": "sample string 4",
  "mg": "sample string 5",
  "PatientId": 1
}

application/xml, text/xml

Sample:
<Custom_Medicine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model">
  <BrandName>sample string 4</BrandName>
  <CM_Id>1</CM_Id>
  <MedicineName>sample string 3</MedicineName>
  <MobileNumber>sample string 2</MobileNumber>
  <PatientId>1</PatientId>
  <mg>sample string 5</mg>
</Custom_Medicine>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Custom_Medicine
NameDescriptionTypeAdditional information
CM_Id

integer

None.

MobileNumber

string

None.

MedicineName

string

None.

BrandName

string

None.

mg

string

None.

PatientId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CM_Id": 1,
  "MobileNumber": "sample string 2",
  "MedicineName": "sample string 3",
  "BrandName": "sample string 4",
  "mg": "sample string 5",
  "PatientId": 1
}

application/xml, text/xml

Sample:
<Custom_Medicine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model">
  <BrandName>sample string 4</BrandName>
  <CM_Id>1</CM_Id>
  <MedicineName>sample string 3</MedicineName>
  <MobileNumber>sample string 2</MobileNumber>
  <PatientId>1</PatientId>
  <mg>sample string 5</mg>
</Custom_Medicine>