CreateTripLog

  • The CreateTrip request initiates a new trip within Fleet Engine and requires a tripId and detailed trip information.

  • The CreateTrip request returns a TripLog object upon successful creation or an ErrorResponseLog object if an error occurs.

  • CreateTripRequestLog provides details on the structure and content of the CreateTrip request, including header information, tripId, and the intended trip details.

Details on CreateTrip request and response.

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

object (CreateTripRequestLog)

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.

CreateTripRequestLog

Details on the CreateTrip request.

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

object (RequestHeaderLog)

Request header.

tripId

string

The ID of the trip to create.

trip

object (TripLog)

The trip specified in the create request.