POST _api/AMTAPI/NewAuditRating

Request Information

URI Parameters

None.

Body Parameters

Rating
NameDescriptionTypeAdditional information
Id

integer

None.

ProjectId

integer

None.

RatingDept

string

None.

HighRiskIssues

integer

None.

MedRiskIssues

integer

None.

LowRiskIssues

integer

None.

TotalIssues

integer

None.

WeightedScore

integer

None.

FinalScore

integer

None.

RatingMatrix

string

None.

RatingInterpretation

string

None.

Created

date

None.

Createdby

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProjectId": 1,
  "RatingDept": "sample string 2",
  "HighRiskIssues": 1,
  "MedRiskIssues": 1,
  "LowRiskIssues": 1,
  "TotalIssues": 1,
  "WeightedScore": 1,
  "FinalScore": 1,
  "RatingMatrix": "sample string 3",
  "RatingInterpretation": "sample string 4",
  "Created": "2025-10-28T11:23:00.197258-05:00",
  "Createdby": "sample string 5"
}

application/xml, text/xml

Sample:
<Rating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI">
  <Created>2025-10-28T11:23:00.197258-05:00</Created>
  <Createdby>sample string 5</Createdby>
  <FinalScore>1</FinalScore>
  <HighRiskIssues>1</HighRiskIssues>
  <Id>1</Id>
  <LowRiskIssues>1</LowRiskIssues>
  <MedRiskIssues>1</MedRiskIssues>
  <ProjectId>1</ProjectId>
  <RatingDept>sample string 2</RatingDept>
  <RatingInterpretation>sample string 4</RatingInterpretation>
  <RatingMatrix>sample string 3</RatingMatrix>
  <TotalIssues>1</TotalIssues>
  <WeightedScore>1</WeightedScore>
</Rating>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.