GET api/InfractionLevels
Gets all infraction level records.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of infraction level records.
Collection of InfractionLevelHierarchy| Name | Description | Type | Additional information |
|---|---|---|---|
| InfractionLevelItems |
The items for the infraction level. |
Collection of InfractionLevelItem |
None. |
| ID |
The ID of the infraction level record. |
integer |
None. |
| Level |
The level value of the infraction level. |
integer |
None. |
| PointValue |
The amount of infraction points this infraction level is worth. |
integer |
None. |
| IsDateToCorrectRequired |
Whether or not the date to correct field should show on inspections and prechecks (PDFs primarily). |
boolean |
None. |
| IsSignatureRequired |
Whether or not the signature field should show on inspections and prechecks (PDFs primarily). |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"InfractionLevelItems": [
{
"ID": 1,
"InfractionLevelID": 2,
"Description": "sample string 3"
},
{
"ID": 1,
"InfractionLevelID": 2,
"Description": "sample string 3"
}
],
"ID": 1,
"Level": 2,
"PointValue": 3,
"IsDateToCorrectRequired": true,
"IsSignatureRequired": true
},
{
"InfractionLevelItems": [
{
"ID": 1,
"InfractionLevelID": 2,
"Description": "sample string 3"
},
{
"ID": 1,
"InfractionLevelID": 2,
"Description": "sample string 3"
}
],
"ID": 1,
"Level": 2,
"PointValue": 3,
"IsDateToCorrectRequired": true,
"IsSignatureRequired": true
}
]