Skip to main content

Save operations for a dealer

This Java function saves operations for a dealer and includes authorization, logging, error handling, and response generation logic.

Path Parameters
    dealerUUID string required

    The dealerUUID parameter in the saveOperation method represents the unique identifier of the dealer for whom the operations are being saved. It is extracted from the path variable in the request URL.

Query Parameters
    operationType string required

    The operationType parameter in the saveOperation method represents the type of operation that is being saved for a dealer. It is a required parameter and is expected to be provided as a request parameter in the POST request to the endpoint defined by the @PostMapping annotation. The `operation

Request Body required

The saveOperationRequest parameter in the saveOperation method is of type SaveOperationRequest. It is annotated with @RequestBody, which means that the data for this parameter will be extracted from the request body of the HTTP request.

    requesterUserUUID string
    operationDTO object
    laborOpCode string
    opCodeName string
    description string
    totalPrice string
    opCodeDurationInMinutes string
    isValid boolean
    uuid string
    inMobileService boolean
    inOnlineScheduler boolean
    communicationCode string
    payType string
    inServiceCart boolean
    inDealerAppScheduler boolean
    dmsDescription string
    laborPrice string
    dmsLaborPrice string
    partsPrice string
    dmsPartsPrice string
    taxAmount string
    dmsTaxAmount string
    dmsTotalPrice string
    sortOrder int64
    correction string
    cause string
    soldHours double
    dispatchCode string
    comebackFlag boolean
    usagePercentile int64
    position int32
    leadTimeInMinutes int64
    isIndexed boolean
    isDefault boolean
    notes string
    serviceType string
    serviceTypeServiceCart string
    recallId string
    vehicleMileageConfigDTOList object[]
  • Array [
  • brandDTO object
    id int64
    name string
    motorsMakeId int32
    motorsMakeName string
    year string
    model string
    trim string
    engine string
    mileageUuid string
    uuid string
    motorsBaseVehicleId string
    motorsEngineId string
    isValid boolean
  • ]
  • dailyLimitConfigDTOList object[]
  • Array [
  • dayNumber int32
    dayLimit int32
  • ]
  • pullEstimateInSC boolean
    miscPrice string
    useDmsPrice boolean
    showDmsPriceMismatchWarning boolean
    noPartsNeeded boolean
    inCheckIn boolean
    quickOpLiteUuid string
    invoiceLineList undefined[]
    menuName string
    operationType string

    Possible values: [OPCODE, SERVICEMENU, SERVICEMOTORSMAINTENANCEMENU, SERVICEMOTORSLINEITEM, SERVICEMOTORSINDICATOR]

    dealerUuid string
    isCustomConcern boolean
    taxonomyId int32
    severityFlag string
    isSeverityNormal boolean
    isSeveritySevere boolean
    notesSevere string[]
    notesNormal string[]
    motorsOperationName string
    mileage int64
    motorsMake string
    motorsMakeId int32
    totalPriceForConversion number
    updateOnDuplicate boolean
Responses

The method is returning a ResponseEntity object containing a SaveOperationResponse entity.


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