POST api/EMRAPI/GetPatientRegistrationNo

Request Information

URI Parameters

None.

Body Parameters

Allergy
NameDescriptionTypeAdditional information
RegistrationId

integer

None.

HospId

integer

None.

FacilityId

integer

None.

interfaceFor

integer

None.

Id

integer

None.

CancelRemarks

string

None.

PageId

integer

None.

Flag

integer

None.

EncounterId

integer

None.

EncodedBy

integer

None.

showNotesVal

string

None.

ItemName

string

None.

AllergyTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RegistrationId": 1,
  "HospId": 2,
  "FacilityId": 3,
  "interfaceFor": 4,
  "Id": 5,
  "CancelRemarks": "sample string 6",
  "PageId": 7,
  "Flag": 8,
  "EncounterId": 9,
  "EncodedBy": 10,
  "showNotesVal": "sample string 11",
  "ItemName": "sample string 12",
  "AllergyTypeId": 13
}

application/xml, text/xml

Sample:
<Allergy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <AllergyTypeId>13</AllergyTypeId>
  <CancelRemarks>sample string 6</CancelRemarks>
  <EncodedBy>10</EncodedBy>
  <EncounterId>9</EncounterId>
  <FacilityId>3</FacilityId>
  <Flag>8</Flag>
  <HospId>2</HospId>
  <Id>5</Id>
  <ItemName>sample string 12</ItemName>
  <PageId>7</PageId>
  <RegistrationId>1</RegistrationId>
  <interfaceFor>4</interfaceFor>
  <showNotesVal>sample string 11</showNotesVal>
</Allergy>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.