POST api/EDvir?driverId={driverId}&vehicleId={vehicleId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
driverId | integer |
Required |
|
vehicleId | integer |
Required |
Body Parameters
EDVIR_IntermediateName | Description | Type | Additional 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": "2024-12-21T08:14:37.2508661-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>2024-12-21T08:14:37.2508661-05:00</reportTimeStamp> <vehicle>sample string 2</vehicle> </EDVIR_Intermediate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.