POST _api/AMTAPI/ModifyCriteria

Request Information

URI Parameters

None.

Body Parameters

RiskCriteriaReq
NameDescriptionTypeAdditional information
Id

integer

None.

Criteria

string

None.

LowBound

integer

None.

HighBound

integer

None.

Category

integer

None.

Createdby

string

None.

Modifiedby

string

None.

Created

date

None.

Modified

date

None.

Status

boolean

None.

WorkflowStatus

string

None.

Comment

string

None.

RefNo

string

None.

StatusVal

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Criteria": "sample string 2",
  "LowBound": 1,
  "HighBound": 1,
  "Category": 1,
  "Createdby": "sample string 3",
  "Modifiedby": "sample string 4",
  "Created": "2025-10-28T11:15:57.9271216-05:00",
  "Modified": "2025-10-28T11:15:57.9271216-05:00",
  "Status": true,
  "WorkflowStatus": "sample string 5",
  "Comment": "sample string 6",
  "RefNo": "sample string 7",
  "StatusVal": 1
}

application/xml, text/xml

Sample:
<RiskCriteriaReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI">
  <Category>1</Category>
  <Comment>sample string 6</Comment>
  <Created>2025-10-28T11:15:57.9271216-05:00</Created>
  <Createdby>sample string 3</Createdby>
  <Criteria>sample string 2</Criteria>
  <HighBound>1</HighBound>
  <Id>1</Id>
  <LowBound>1</LowBound>
  <Modified>2025-10-28T11:15:57.9271216-05:00</Modified>
  <Modifiedby>sample string 4</Modifiedby>
  <RefNo>sample string 7</RefNo>
  <Status>true</Status>
  <StatusVal>1</StatusVal>
  <WorkflowStatus>sample string 5</WorkflowStatus>
</RiskCriteriaReq>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.