POST api/EMRAPI/SaveDoctorFavChiefComplaint

Request Information

URI Parameters

None.

Body Parameters

DoctorProblemModel
NameDescriptionTypeAdditional information
DoctorProblem

Collection of ChiefComplaint

None.

DoctorId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorProblem": [
    {
      "problemId": 1,
      "problemName": "sample string 2",
      "duration": "sample string 3",
      "intduration": "sample string 4",
      "remarks": "sample string 5",
      "Approx": true
    },
    {
      "problemId": 1,
      "problemName": "sample string 2",
      "duration": "sample string 3",
      "intduration": "sample string 4",
      "remarks": "sample string 5",
      "Approx": true
    }
  ],
  "DoctorId": 1,
  "UserId": 2
}

application/xml, text/xml

Sample:
<DoctorProblemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <DoctorId>1</DoctorId>
  <DoctorProblem>
    <ChiefComplaint>
      <Approx>true</Approx>
      <duration>sample string 3</duration>
      <intduration>sample string 4</intduration>
      <problemId>1</problemId>
      <problemName>sample string 2</problemName>
      <remarks>sample string 5</remarks>
    </ChiefComplaint>
    <ChiefComplaint>
      <Approx>true</Approx>
      <duration>sample string 3</duration>
      <intduration>sample string 4</intduration>
      <problemId>1</problemId>
      <problemName>sample string 2</problemName>
      <remarks>sample string 5</remarks>
    </ChiefComplaint>
  </DoctorProblem>
  <UserId>2</UserId>
</DoctorProblemModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.