POST api/EMRAPI/GetGenericDetails

Request Information

URI Parameters

None.

Body Parameters

GenericDetail
NameDescriptionTypeAdditional information
GenericId

integer

None.

GenericName

string

None.

Active

integer

None.

HospId

integer

None.

EncodedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GenericId": 1,
  "GenericName": "sample string 2",
  "Active": 3,
  "HospId": 4,
  "EncodedBy": 5
}

application/xml, text/xml

Sample:
<GenericDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <Active>3</Active>
  <EncodedBy>5</EncodedBy>
  <GenericId>1</GenericId>
  <GenericName>sample string 2</GenericName>
  <HospId>4</HospId>
</GenericDetail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.