GET apioauth/matrixv2/dot/{dotNumber}/countysummary/{startDate}/{endDate}

Get a distance and speeding event summary for each county

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dotNumber

The dot number queried

string

Required

startDate

The start date being queried yyyyMMddHHmmss

string

Required

endDate

The end date being queried yyyyMMddHHmmss

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CountySummary
NameDescriptionTypeAdditional information
County

The county

string

None.

DistanceMetres

The distance travelled in this county in metres

integer

None.

SpeedingEventsLt5Over

Numbe of speeding events less than 5mph over the speed limit

integer

None.

SpeedingEventsGt5Lt10Over

Number of speeding events between 5mph and 10mph over the speed limit

integer

None.

SpeedingEventsGt10Lt15Over

Number of speeding events between 10mph and 15mph over the speed limit

integer

None.

SpeedingEventsGt15Over

Number of speeding events 15mph over the speed limit

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "County": "sample string 1",
    "DistanceMetres": 2,
    "SpeedingEventsLt5Over": 3,
    "SpeedingEventsGt5Lt10Over": 4,
    "SpeedingEventsGt10Lt15Over": 5,
    "SpeedingEventsGt15Over": 6
  },
  {
    "County": "sample string 1",
    "DistanceMetres": 2,
    "SpeedingEventsLt5Over": 3,
    "SpeedingEventsGt5Lt10Over": 4,
    "SpeedingEventsGt10Lt15Over": 5,
    "SpeedingEventsGt15Over": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountySummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CountySummary>
    <County>sample string 1</County>
    <DistanceMetres>2</DistanceMetres>
    <SpeedingEventsLt5Over>3</SpeedingEventsLt5Over>
    <SpeedingEventsGt5Lt10Over>4</SpeedingEventsGt5Lt10Over>
    <SpeedingEventsGt10Lt15Over>5</SpeedingEventsGt10Lt15Over>
    <SpeedingEventsGt15Over>6</SpeedingEventsGt15Over>
  </CountySummary>
  <CountySummary>
    <County>sample string 1</County>
    <DistanceMetres>2</DistanceMetres>
    <SpeedingEventsLt5Over>3</SpeedingEventsLt5Over>
    <SpeedingEventsGt5Lt10Over>4</SpeedingEventsGt5Lt10Over>
    <SpeedingEventsGt10Lt15Over>5</SpeedingEventsGt10Lt15Over>
    <SpeedingEventsGt15Over>6</SpeedingEventsGt15Over>
  </CountySummary>
</ArrayOfCountySummary>