POST Api/v1/Print
Prints logsheets for a groupof drivers. Printing is handled in the background and the state of the print job can be checked by querying the job, or subscribing to the SignalR endpoint.
Request Information
URI Parameters
None.
Body Parameters
print command
PrintJobCommandName | Description | Type | Additional information |
---|---|---|---|
LogStart | date |
None. |
|
LogEnd | date |
None. |
|
Metric | boolean |
None. |
|
IndividualDays | boolean |
None. |
|
ShowViolations | boolean |
None. |
|
DriverIds | Collection of string |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "logStart": "2025-04-21T05:17:15.258575-06:00", "logEnd": "2025-04-21T05:17:15.258575-06:00", "metric": true, "individualDays": true, "showViolations": true, "driverIds": [ "sample string 1", "sample string 2" ], "createdBy": "sample string 6" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrintJobViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LogStart | date |
None. |
|
LogEnd | date |
None. |
|
Metric | boolean |
None. |
|
IndividualDays | boolean |
None. |
|
ShowViolations | boolean |
None. |
|
Tasks | Collection of PrintTaskViewModel |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "logStart": "2025-04-21T05:17:15.258575-06:00", "logEnd": "2025-04-21T05:17:15.258575-06:00", "metric": true, "individualDays": true, "showViolations": true, "tasks": [ { "id": 1, "driverId": "sample string 2", "driverName": "sample string 3", "fileName": "sample string 4", "status": 0 }, { "id": 1, "driverId": "sample string 2", "driverName": "sample string 3", "fileName": "sample string 4", "status": 0 } ], "createdBy": "sample string 7", "createdOn": "2025-04-21T05:17:15.258575-06:00" }