POST api/EMRAPI/SavePreAuth

Request Information

URI Parameters

None.

Body Parameters

PreAuthInputs
NameDescriptionTypeAdditional information
rdlOPIP

string

None.

chkctg

boolean

None.

txtCTGremark

string

None.

chkpregenent

boolean

None.

rdLMP

date

None.

ddlx

string

None.

chkwrokrelated

boolean

None.

chksportrelated

boolean

None.

chkprofessionalSport

boolean

None.

chkRTArelated

boolean

None.

txtAlcohalintake

string

None.

txtreatmentdetail

string

None.

txtClinicalFindings

string

None.

txtTreatmentPlan

string

None.

txtremark

string

None.

RegistrationID

integer

None.

EncounterId

integer

None.

UserID

integer

None.

FacilityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "rdlOPIP": "sample string 1",
  "chkctg": true,
  "txtCTGremark": "sample string 3",
  "chkpregenent": true,
  "rdLMP": "2026-09-10T19:53:28.4384423+05:30",
  "ddlx": "sample string 6",
  "chkwrokrelated": true,
  "chksportrelated": true,
  "chkprofessionalSport": true,
  "chkRTArelated": true,
  "txtAlcohalintake": "sample string 11",
  "txtreatmentdetail": "sample string 12",
  "txtClinicalFindings": "sample string 13",
  "txtTreatmentPlan": "sample string 14",
  "txtremark": "sample string 15",
  "RegistrationID": 16,
  "EncounterId": 17,
  "UserID": 18,
  "FacilityId": 19
}

application/xml, text/xml

Sample:
<PreAuthInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <EncounterId>17</EncounterId>
  <FacilityId>19</FacilityId>
  <RegistrationID>16</RegistrationID>
  <UserID>18</UserID>
  <chkRTArelated>true</chkRTArelated>
  <chkctg>true</chkctg>
  <chkpregenent>true</chkpregenent>
  <chkprofessionalSport>true</chkprofessionalSport>
  <chksportrelated>true</chksportrelated>
  <chkwrokrelated>true</chkwrokrelated>
  <ddlx>sample string 6</ddlx>
  <rdLMP>2026-09-10T19:53:28.4384423+05:30</rdLMP>
  <rdlOPIP>sample string 1</rdlOPIP>
  <txtAlcohalintake>sample string 11</txtAlcohalintake>
  <txtCTGremark>sample string 3</txtCTGremark>
  <txtClinicalFindings>sample string 13</txtClinicalFindings>
  <txtTreatmentPlan>sample string 14</txtTreatmentPlan>
  <txtreatmentdetail>sample string 12</txtreatmentdetail>
  <txtremark>sample string 15</txtremark>
</PreAuthInputs>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.