POST api/Order/Event

Documentation for 'Event'.

Request Information

Parameters

NameDescriptionAdditional information
orderEventRequest
Documentation for 'orderEventRequest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CarId": 1,
  "DriverId": 2,
  "HeaderId": 3,
  "EventId": 4,
  "RegDate": "2025-10-26T10:06:04.9235498+01:00",
  "GPSInformation": {
    "Latitude": "sample string 1",
    "Longitude": "sample string 2",
    "TimeOfFix": "2025-10-26T10:06:04.9235498+01:00",
    "AccuracyInMeters": 4.1,
    "SpeedInMeters": "sample string 5",
    "GsmCoverage": 6
  }
}

text/xml

Sample:
<OrderEventRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CarId>1</CarId>
  <DriverId>2</DriverId>
  <HeaderId>3</HeaderId>
  <EventId>4</EventId>
  <RegDate>2025-10-26T10:06:04.9235498+01:00</RegDate>
  <GPSInformation>
    <Latitude>sample string 1</Latitude>
    <Longitude>sample string 2</Longitude>
    <TimeOfFix>2025-10-26T10:06:04.9235498+01:00</TimeOfFix>
    <AccuracyInMeters>4.1</AccuracyInMeters>
    <SpeedInMeters>sample string 5</SpeedInMeters>
    <GsmCoverage>6</GsmCoverage>
  </GPSInformation>
</OrderEventRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.