v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

View all log suggestions

get/v1/log_suggestions

Request body

statusstring

Specify the status of the log suggestion that you want to view. Value must be one of the following: suggested. approved, rejected, cancelled, or voided.

per_pageinteger

The number of records per page.

page_nointeger

Denotes the page number.

Response

200

Example response

{
  "log_suggestions": [
    {
      "log_suggestion": {
        "id": 12267,
        "driver_ids": [
          12811
        ],
        "log_ids": [
          4483210
        ],
        "status": "suggested",
        "suggested_at": "2022-07-14T08:22:59Z",
        "drivers": [
          {
            "driver": {
              "id": 12811,
              "first_name": "Eric",
              "last_name": "Brown",
              "driver_company_id": "eric",
              "eld_mode": "logs"
            }
          }
        ],
        "dispatchers": [
          {
            "dispatcher": {
              "id": 1053651,
              "first_name": "Daniel",
              "last_name": "Smith"
            }
          }
        ],
        "suggested_changes": [
          {
            "field_name": "ref_no",
            "new_value": "ShippingA1"
          }
        ]
      }
    }
  ],
  "pagination": {
    "per_page": 2,
    "page_no": 1,
    "total": 1928
  }
}