The following examples illustrate how parking violations data is exported in both JSON and XML formats.
JSON
{
"ParkingZoneName": "Montreal Parking",
"ParkingRuleName": "The rule",
"ParkingZoneId": "f2deddc3-29f6-4722-8172-04688018b0cc",
"SessionId": "c3c60237-64d0-eb11-800e-fc7774906393",
"ParkingRuleId": "8289e61b-941b-431f-bb83-fea9b5d39a33",
"EntranceRead": {
"DeviceId": "48c11448-353f-42dc-be3a-6236878d3572",
"DeviceName": "Entrance Unit (G) - LPR Camera",
"PlateNumber": "23525235",
"PlateState": "QC",
"ReadId": "22bb113f-73db-4f33-9534-777911228963",
"ReadTimestampUtc": "2021-06-18T18:37:20.2638417Z",
"UnitId": "b41d7d50-fdb4-44e8-b4a2-415b59eeb4d7",
"UnitName": "Entrance Unit (G)",
"ContextImage": "...",
"LprImage": "..."
},
"TimestampUtc": "2021-06-18T18:38:20.3555523Z",
"ViolationReason": "PaidTimeInvalid"
}
XML
<InLotViolation>
<ParkingZoneName>Montreal Parking</ParkingZoneName>
<ParkingRuleName>The rule</ParkingRuleName>
<ParkingZoneId>f2deddc3-29f6-4722-8172-04688018b0cc</ParkingZoneId>
<SessionId>9eadddb8-64d0-eb11-800e-fc7774906393</SessionId>
<ParkingRuleId>8289e61b-941b-431f-bb83-fea9b5d39a33</ParkingRuleId>
<EntranceRead>
<DeviceId>48c11448-353f-42dc-be3a-6236878d3572</DeviceId>
<DeviceName>Entrance Unit (G) - LPR Camera</DeviceName>
<PlateNumber>TEST2</PlateNumber>
<PlateState>QC</PlateState>
<ReadId>cab09328-a58d-4827-af7c-854266c1d418</ReadId>
<ReadTimestampUtc>2021-06-18T18:40:58.1277448Z</ReadTimestampUtc>
<UnitId>b41d7d50-fdb4-44e8-b4a2-415b59eeb4d7</UnitId>
<UnitName>Entrance Unit (G)</UnitName>
<ContextImage>...</ContextImage>
<LprImage>...</LprImage>
</EntranceRead>
<TimestampUtc>2021-06-18T18:41:58.2057841Z</TimestampUtc>
<ViolationReason>PaidTimeInvalid</ViolationReason>
</InLotViolation>