POST _api/AMTAPI/ModifyMetrics

Request Information

URI Parameters

None.

Body Parameters

EvaluationMetric
NameDescriptionTypeAdditional information
Id

integer

None.

Category

integer

None.

StartRange

string

None.

EndRange

string

None.

Created

date

None.

Createdby

string

None.

Modified

date

None.

Modifiedby

string

None.

RiskLevel

string

None.

Recommendation

string

None.

Status

boolean

None.

WK

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Category": 1,
  "StartRange": "sample string 2",
  "EndRange": "sample string 3",
  "Created": "2025-10-28T11:12:30.5145866-05:00",
  "Createdby": "sample string 4",
  "Modified": "2025-10-28T11:12:30.5145866-05:00",
  "Modifiedby": "sample string 5",
  "RiskLevel": "sample string 6",
  "Recommendation": "sample string 7",
  "Status": true,
  "WK": "sample string 8"
}

application/xml, text/xml

Sample:
<EvaluationMetric xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI">
  <Category>1</Category>
  <Created>2025-10-28T11:12:30.5145866-05:00</Created>
  <Createdby>sample string 4</Createdby>
  <EndRange>sample string 3</EndRange>
  <Id>1</Id>
  <Modified>2025-10-28T11:12:30.5145866-05:00</Modified>
  <Modifiedby>sample string 5</Modifiedby>
  <Recommendation>sample string 7</Recommendation>
  <RiskLevel>sample string 6</RiskLevel>
  <StartRange>sample string 2</StartRange>
  <Status>true</Status>
  <WK>sample string 8</WK>
</EvaluationMetric>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.