CreateDeliveryVehicleLog

  • This document provides details on the CreateDeliveryVehicle request and response within the Deliveries API.

  • It includes the JSON representation and field descriptions for the overall request log.

  • The CreateDeliveryVehicleRequestLog section specifically outlines the structure and fields for creating a delivery vehicle, including the vehicle ID and details.

  • The log includes information on request header, request details, response, and potential errors.

Details on the CreateDeliveryVehicle request and response.

JSON representation
{
  "header": {
    object (DeliveryRequestHeaderLog)
  },
  "request": {
    object (CreateDeliveryVehicleRequestLog)
  },
  "response": {
    object (DeliveryVehicleLog)
  },
  "errorResponse": {
    object (ErrorResponseLog)
  }
}
Fields
header

object (DeliveryRequestHeaderLog)

Request header.

request

object (CreateDeliveryVehicleRequestLog)

The request sent to the Deliveries API.

response

object (DeliveryVehicleLog)

The response returned to the client. It will be unset if the RPC call resulted in an error.

errorResponse

object (ErrorResponseLog)

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

CreateDeliveryVehicleRequestLog

Details on the CreateDeliveryVehicle request.

JSON representation
{
  "deliveryVehicleId": string,
  "deliveryVehicle": {
    object (DeliveryVehicleLog)
  }
}
Fields
deliveryVehicleId

string

The ID of the delivery vehicle being created.

deliveryVehicle

object (DeliveryVehicleLog)

The delivery vehicle specified in the create request.