PUT api/MeasureTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

MeasureType
NameDescriptionTypeAdditional information
ID

integer

None.

DEFAULT_NAME

string

None.

SYSTEM_CODES

string

None.

UNITS

string

None.

GROUP_NAME

string

None.

ORDER

integer

None.

DECIMALS

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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
}

application/octet-stream

Sample:
{"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}

application/xml, text/xml

Sample:
<MeasureType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <DEFAULT_NAME>sample string 2</DEFAULT_NAME>
  <SYSTEM_CODES>sample string 3</SYSTEM_CODES>
  <UNITS>sample string 4</UNITS>
  <GROUP_NAME>sample string 5</GROUP_NAME>
  <ORDER>1</ORDER>
  <DECIMALS>1</DECIMALS>
</MeasureType>

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

Response Information

Resource Description

None.