POST api/Masters/GetGenericDetails

Request Information

URI Parameters

None.

Body Parameters

GetGenericDetails
NameDescriptionTypeAdditional information
GenericId

integer

None.

GenericName

string

None.

Active

integer

None.

HospitalLocationId

integer

None.

UserId

integer

None.

CIMSCategoryId

integer

None.

CIMSSubCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GenericId": 1,
  "GenericName": "sample string 2",
  "Active": 3,
  "HospitalLocationId": 4,
  "UserId": 5,
  "CIMSCategoryId": 6,
  "CIMSSubCategoryId": 7
}

application/xml, text/xml

Sample:
<GetGenericDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <Active>3</Active>
  <CIMSCategoryId>6</CIMSCategoryId>
  <CIMSSubCategoryId>7</CIMSSubCategoryId>
  <GenericId>1</GenericId>
  <GenericName>sample string 2</GenericName>
  <HospitalLocationId>4</HospitalLocationId>
  <UserId>5</UserId>
</GetGenericDetails>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.