GetTripLog

  • This document provides details on the GetTrip request and response within the Fleet Engine system.

  • The GetTrip request includes a header and the trip ID.

  • The GetTrip response returns the trip details if successful, otherwise returns an error response.

  • JSON representations are provided for the request, response, and error response.

Details on GetTrip request and response.

JSON representation
{
  "request": {
    object (GetTripRequestLog)
  },
  "response": {
    object (TripLog)
  },
  "errorResponse": {
    object (ErrorResponseLog)
  }
}
Fields
request

object (GetTripRequestLog)

The request sent to Fleet Engine.

response

object (TripLog)

The response returned to the client. If the RPC call results in an error the response is not set.

errorResponse

object (ErrorResponseLog)

The error response returned to the client. It will be unset if the RPC call succeeded.

GetTripRequestLog

Details on the GetTrip request.

JSON representation
{
  "header": {
    object (RequestHeaderLog)
  },
  "tripId": string
}
Fields
header

object (RequestHeaderLog)

Request header.

tripId

string

The ID of the trip to fetch.