Skip to main content

Saves custom Mile

This Java function saves custom mileage for a dealer and handles migration-related checks.

Path Parameters
    dealerUUID string required

    The dealerUuid parameter in the saveCustomMiles method is a path variable representing the unique identifier of a dealer. It is extracted from the URL path and used to identify the specific dealer for whom the custom mileage is being saved.

Request Body required

The saveCustomMilesRequest parameter in the saveCustomMiles method is of type SaveCustomMilesRequest. It is annotated with @RequestBody, indicating that the data for this parameter will be extracted from the request body of the HTTP POST request.

    requesterUserUUID string
    name string
    mileageDTOList object[]
  • Array [
  • startMileage int64
    repeatInterval int64
    endMileage int64
  • ]
Responses

A ResponseEntity containing a SaveCustomMileageResponse object is being returned from this method.


Schema
    errors object[]
  • Array [
  • errorName string
    errorMessage string
    errorCode int32
  • ]
  • warnings object[]
  • Array [
  • warningCode string
    warningTitle string
    warningMessage string
  • ]
  • statusCode int32
    apiRequestId string
    mileageName string
    mileageUuid string
Loading...