update motor operations for a dealer
This Java function updates motor operations for a dealer based on the provided request and parameters.
Path Parameters
The dealerUUID
parameter in the updateMotorOperations
method is a path variable representing
the unique identifier of a dealer. It is extracted from the request URL and used to identify the specific dealer for
which the motor operations are being updated.
Query Parameters
The isBulkEdit
parameter in the updateMotorOperations
method is a boolean parameter that is
required as a request parameter. It is used to indicate whether the update operation is a bulk edit or not. The
method expects this parameter to be provided in the request URL when calling the API.
Request Body required
The updateOperationsRequest
parameter in the updateMotorOperations
method is of
type UpdateOperationsRequest
. It is a request body parameter that contains the data needed to update motor
operations for a dealer. This parameter is received from the client as part of the request body when the method is
called
- Array [
- ]
- Array [
- ]
operationDTO object
vehicleMileageConfigDTOList object[]
brandDTO object
dailyLimitConfigDTOList object[]
Possible values: [OPCODE
, SERVICEMENU
, SERVICEMOTORSMAINTENANCEMENU
, SERVICEMOTORSLINEITEM
, SERVICEMOTORSINDICATOR
]
customMenuUuidToParentQuickOpLiteUuidMap object
factoryMenuToParentQuickOpLiteUuidMap object
- 200
- 400
- 401
- 403
- 500
The method updateMotorOperations
is returning a ResponseEntity
object containing an
UpdateOperationsResponse
object.
Schema
- Array [
- ]
- Array [
- ]
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string",
"customMenuUuidList": [
"string"
],
"quickOpLiteUuidList": [
"string"
],
"motorDealerOperationUuidList": [
"string"
]
}
Bad Request
Schema
- Array [
- ]
- Array [
- ]
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Unauthorized
Schema
- Array [
- ]
- Array [
- ]
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Forbidden
Schema
- Array [
- ]
- Array [
- ]
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Internal Server Error
Schema
- Array [
- ]
- Array [
- ]
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}