PUT api/Measures/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Measure
NameDescriptionTypeAdditional information
ID

integer

None.

SEQ

integer

None.

DIV_ID

integer

None.

TYPE_ID

integer

None.

ACTIVE

boolean

None.

FREQUENCY

integer

None.

CHART_DEFAULT

boolean

None.

BILLABLE

boolean

None.

TYPE

MeasureType

None.

AbnormalRanges

Collection of MeasureAbnormalRange

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SEQ": 2,
  "DIV_ID": 3,
  "TYPE_ID": 1,
  "ACTIVE": true,
  "FREQUENCY": 1,
  "CHART_DEFAULT": true,
  "BILLABLE": true,
  "TYPE": {
    "ID": 1,
    "DEFAULT_NAME": "sample string 2",
    "SYSTEM_CODES": "sample string 3",
    "UNITS": "sample string 4",
    "GROUP_NAME": "sample string 5",
    "ORDER": 1,
    "DECIMALS": 1
  },
  "AbnormalRanges": [
    {
      "ID": 1,
      "MEASURE_ID": 2,
      "MIN_VALUE": 3.0,
      "MAX_VALUE": 4.0,
      "BADGE_COLOR": "sample string 5",
      "TYPE": "sample string 6",
      "LABEL": "sample string 7"
    },
    {
      "ID": 1,
      "MEASURE_ID": 2,
      "MIN_VALUE": 3.0,
      "MAX_VALUE": 4.0,
      "BADGE_COLOR": "sample string 5",
      "TYPE": "sample string 6",
      "LABEL": "sample string 7"
    }
  ]
}

application/octet-stream

Sample:
{"ID":1,"SEQ":2,"DIV_ID":3,"TYPE_ID":1,"ACTIVE":true,"FREQUENCY":1,"CHART_DEFAULT":true,"BILLABLE":true,"TYPE":{"ID":1,"DEFAULT_NAME":"sample string 2","SYSTEM_CODES":"sample string 3","UNITS":"sample string 4","GROUP_NAME":"sample string 5","ORDER":1,"DECIMALS":1},"AbnormalRanges":[{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"},{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"}]}

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

Response Information

Resource Description

None.