POST api/PredictedMeasures

Request Information

URI Parameters

None.

Body Parameters

PredictedData
NameDescriptionTypeAdditional information
currentMeasure

decimal number

None.

currentDate

date

None.

lstFilteredInspections

Collection of Inspection

None.

dotNumber

string

None.

basicTypeId

integer

None.

driverIds

string

None.

violations

string

None.

Request Formats

application/json, text/json

Sample:
{
  "currentMeasure": 1.0,
  "currentDate": "2025-05-31T19:50:38.2735563-04:00",
  "lstFilteredInspections": [
    {
      "InspectionDate": "2025-05-31T19:50:38.2735563-04:00",
      "ViolationAge": 2,
      "TimeWeight": 3,
      "ViolationWeight": 4.0,
      "TimeSeverityWeight": 5.0,
      "DriverId": 6,
      "ViolationCode": "sample string 7"
    },
    {
      "InspectionDate": "2025-05-31T19:50:38.2735563-04:00",
      "ViolationAge": 2,
      "TimeWeight": 3,
      "ViolationWeight": 4.0,
      "TimeSeverityWeight": 5.0,
      "DriverId": 6,
      "ViolationCode": "sample string 7"
    }
  ],
  "dotNumber": "sample string 3",
  "basicTypeId": 4,
  "driverIds": "sample string 5",
  "violations": "sample string 6"
}

application/xml, text/xml

Sample:
<PredictedData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartnersDTO.Client">
  <basicTypeId>4</basicTypeId>
  <currentDate>2025-05-31T19:50:38.2735563-04:00</currentDate>
  <currentMeasure>1</currentMeasure>
  <dotNumber>sample string 3</dotNumber>
  <driverIds>sample string 5</driverIds>
  <lstFilteredInspections>
    <Inspection>
      <DriverId>6</DriverId>
      <InspectionDate>2025-05-31T19:50:38.2735563-04:00</InspectionDate>
      <TimeSeverityWeight>5</TimeSeverityWeight>
      <TimeWeight>3</TimeWeight>
      <ViolationAge>2</ViolationAge>
      <ViolationCode>sample string 7</ViolationCode>
      <ViolationWeight>4</ViolationWeight>
    </Inspection>
    <Inspection>
      <DriverId>6</DriverId>
      <InspectionDate>2025-05-31T19:50:38.2735563-04:00</InspectionDate>
      <TimeSeverityWeight>5</TimeSeverityWeight>
      <TimeWeight>3</TimeWeight>
      <ViolationAge>2</ViolationAge>
      <ViolationCode>sample string 7</ViolationCode>
      <ViolationWeight>4</ViolationWeight>
    </Inspection>
  </lstFilteredInspections>
  <violations>sample string 6</violations>
</PredictedData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.