POST api/EDvir?driverId={driverId}&vehicleId={vehicleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverId

integer

Required

vehicleId

integer

Required

Body Parameters

EDVIR_Intermediate
NameDescriptionTypeAdditional information
reportItems

Collection of EDvirItem_Intermediate

None.

reportResult

EDvirResult

None.

reportTimeStamp

date

None.

vehicle

string

None.

driver

string

None.

Request Formats

application/json, text/json

Sample:
{
  "reportItems": [
    {
      "ID": 1,
      "exceptionNote": "sample string 2",
      "pass": true
    },
    {
      "ID": 1,
      "exceptionNote": "sample string 2",
      "pass": true
    }
  ],
  "reportResult": 0,
  "reportTimeStamp": "2022-12-09T19:00:09.3458696-05:00",
  "vehicle": "sample string 2",
  "driver": "sample string 3"
}

application/xml, text/xml

Sample:
<EDVIR_Intermediate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FareBackEndData">
  <driver>sample string 3</driver>
  <reportItems>
    <EDvirItem_Intermediate>
      <ID>1</ID>
      <exceptionNote>sample string 2</exceptionNote>
      <pass>true</pass>
    </EDvirItem_Intermediate>
    <EDvirItem_Intermediate>
      <ID>1</ID>
      <exceptionNote>sample string 2</exceptionNote>
      <pass>true</pass>
    </EDvirItem_Intermediate>
  </reportItems>
  <reportResult>pass</reportResult>
  <reportTimeStamp>2022-12-09T19:00:09.3458696-05:00</reportTimeStamp>
  <vehicle>sample string 2</vehicle>
</EDVIR_Intermediate>

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.