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.
application/json
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.
- Array [
- ]
requesterUserUUID string
name string
mileageDTOList object[]
startMileage int64
repeatInterval int64
endMileage int64
Responses
- 200
- 400
- 401
- 403
- 500
A ResponseEntity
containing a SaveCustomMileageResponse
object is being returned from this method.
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorName string
errorMessage string
errorCode int32
warnings object[]
warningCode string
warningTitle string
warningMessage string
statusCode int32
apiRequestId string
mileageName string
mileageUuid string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string",
"mileageName": "string",
"mileageUuid": "string"
}
Bad Request
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorName string
errorMessage string
errorCode int32
warnings object[]
warningCode string
warningTitle string
warningMessage string
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorName string
errorMessage string
errorCode int32
warnings object[]
warningCode string
warningTitle string
warningMessage string
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Forbidden
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorName string
errorMessage string
errorCode int32
warnings object[]
warningCode string
warningTitle string
warningMessage string
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorName string
errorMessage string
errorCode int32
warnings object[]
warningCode string
warningTitle string
warningMessage string
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Loading...