Hi @RKoon-1279 ,
Thanks for sharing your API call. One thing that I noticed is that you're using carrierNumber as a search property, you will need to perform the search by one of the supported search properties for this API call (id, companyGroups, driverGroups), you can find more details by reviewing the DutyStatusViolationSearch reference
{
"method": "Get",
"params": {
"search": {
"userSearch": {
"id": "USER_ID"
},
"fromdate": "2022-02-03T13:26:49"
},
"typeName": "DutyStatusViolation",
"credentials": {
"database": "mydatabase",
"path": "ThisServer",
"sessionId": "mysessionid",
"userName": "myusername"
}
}
}
I was able to retrieve unverified violations right after they were triggered via the API with my test device.
The way in which violations are triggered depend on the type of the violation and the ruleset that the driver has configured, you can review the specifics for each rule set by following this link.
If you're still presenting problems, feel free to reach out to me via email with the specific details and we can go over the specifics of your API call and current results.