POST api/EMRAPI/SaveReferralSlip

Request Information

URI Parameters

None.

Body Parameters

SaveReferralSlip
NameDescriptionTypeAdditional information
ReferralReplyId

integer

None.

ReferralId

integer

None.

HospitalLocationId

integer

None.

EncounterId

integer

None.

Referraldate

date

None.

ReferDoctorId

integer

None.

Doctornote

string

None.

Urgent

integer

None.

status

boolean

None.

UserId

integer

None.

ReferralSlip

string

None.

Active

integer

None.

DoctorReferral

string

None.

SpecializationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReferralReplyId": 1,
  "ReferralId": 2,
  "HospitalLocationId": 3,
  "EncounterId": 4,
  "Referraldate": "2026-09-10T19:53:59.8648753+05:30",
  "ReferDoctorId": 6,
  "Doctornote": "sample string 7",
  "Urgent": 8,
  "status": true,
  "UserId": 10,
  "ReferralSlip": "sample string 11",
  "Active": 12,
  "DoctorReferral": "sample string 13",
  "SpecializationId": 14
}

application/xml, text/xml

Sample:
<SaveReferralSlip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <Active>12</Active>
  <DoctorReferral>sample string 13</DoctorReferral>
  <Doctornote>sample string 7</Doctornote>
  <EncounterId>4</EncounterId>
  <HospitalLocationId>3</HospitalLocationId>
  <ReferDoctorId>6</ReferDoctorId>
  <ReferralId>2</ReferralId>
  <ReferralReplyId>1</ReferralReplyId>
  <ReferralSlip>sample string 11</ReferralSlip>
  <Referraldate>2026-09-10T19:53:59.8648753+05:30</Referraldate>
  <SpecializationId>14</SpecializationId>
  <Urgent>8</Urgent>
  <UserId>10</UserId>
  <status>true</status>
</SaveReferralSlip>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.