POST api/EMRAPI/GetAgeinDays

Request Information

URI Parameters

None.

Body Parameters

GrowthChart
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

FacilityId

integer

None.

RegistrationId

integer

None.

DisplayName

string

None.

FromAge

integer

None.

ToAge

integer

None.

DayType

string

None.

GrowthChartId

integer

None.

Measurmentsystem

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "RegistrationId": 3,
  "DisplayName": "sample string 4",
  "FromAge": 5,
  "ToAge": 6,
  "DayType": "sample string 7",
  "GrowthChartId": 8,
  "Measurmentsystem": "sample string 9"
}

application/xml, text/xml

Sample:
<GrowthChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <DayType>sample string 7</DayType>
  <DisplayName>sample string 4</DisplayName>
  <FacilityId>2</FacilityId>
  <FromAge>5</FromAge>
  <GrowthChartId>8</GrowthChartId>
  <HospitalLocationId>1</HospitalLocationId>
  <Measurmentsystem>sample string 9</Measurmentsystem>
  <RegistrationId>3</RegistrationId>
  <ToAge>6</ToAge>
</GrowthChart>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.