Fetch motor operations for a dealer
This function fetches motor operations for a dealer.
Path Parameters
The dealerUUID
parameter in the fetchMotorOperations
method is a path variable representing
the unique identifier of a dealer. It is extracted from the request URL and used to fetch motor operations specific
to that dealer.
Request Body required
The fetchOperationsRequest
parameter in the fetchMotorOperations
method is the
request body that contains the information needed to fetch motor operations for a specific dealer. This parameter
likely includes details such as filters, search criteria, or any other data required to retrieve the relevant
information from the system.
Possible values: [OPCODE
, NAME
, PRICE
, SORT_ORDER
, _SCORE
]
Possible values: [ASCENDING
, DESCENDING
]
Possible values: [MAINTENANCE
, REPAIR
, INSPECT
, SERVICE
]
Possible values: [OPCODE
, SERVICEMENU
, SERVICEMOTORSMAINTENANCEMENU
, SERVICEMOTORSLINEITEM
, SERVICEMOTORSINDICATOR
]
mileageDTOList object[]
- 200
- 400
- 401
- 403
- 500
The method fetchMotorOperations
is returning a ResponseEntity
object containing a
FetchOperationsResponse
object.
Schema
errors object[]
warnings object[]
operationDTOList object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string",
"operationDTOList": [
{
"laborOpCode": "string",
"opCodeName": "string",
"description": "string",
"totalPrice": "string",
"opCodeDurationInMinutes": "string",
"isValid": true,
"uuid": "string",
"inMobileService": true,
"inOnlineScheduler": true,
"communicationCodes": [
"string"
],
"payType": "string",
"inServiceCart": true,
"inDealerAppScheduler": true,
"dmsDescription": "string",
"laborPrice": "string",
"dmsLaborPrice": "string",
"partsPrice": "string",
"dmsPartsPrice": "string",
"taxAmount": "string",
"dmsTaxAmount": "string",
"dmsTotalPrice": "string",
"sortOrder": 0,
"correction": "string",
"cause": "string",
"soldHours": 0,
"dispatchCode": "string",
"comebackFlag": true,
"usagePercentile": 0,
"position": 0,
"leadTimeInMinutes": 0,
"isIndexed": true,
"isDefault": true,
"notes": "string",
"serviceType": "string",
"serviceTypeServiceCart": "string",
"recallId": "string",
"vehicleMileageConfigDTOList": [
{
"brandDTO": {
"id": 0,
"name": "string",
"motorsMakeId": 0,
"motorsMakeName": "string"
},
"year": "string",
"model": "string",
"trim": "string",
"engine": "string",
"mileageUuid": "string",
"uuid": "string",
"motorsBaseVehicleId": "string",
"motorsEngineId": "string",
"isValid": true
}
],
"dailyLimitConfigDTOList": [
{
"dayNumber": 0,
"dayLimit": 0
}
],
"pullEstimateInSC": true,
"miscPrice": "string",
"useDmsPrice": true,
"showDmsPriceMismatchWarning": true,
"noPartsNeeded": true,
"inCheckIn": true,
"quickOpLiteUuid": "string",
"invoiceLineList": [
null
],
"menuName": "string",
"operationType": "OPCODE",
"dealerUuid": "string",
"isCustomConcern": true,
"taxonomyId": 0,
"severityFlag": "string",
"isSeverityNormal": true,
"isSeveritySevere": true,
"notesSevere": [
"string"
],
"notesNormal": [
"string"
],
"motorsOperationName": "string",
"mileage": 0,
"motorsMake": "string",
"motorsMakeId": 0,
"totalPriceForConversion": 0
}
],
"totalCount": 0,
"mkAndDmsSimilarOpcodeCount": 0,
"pricingVisibleToCustomer": true
}
Bad Request
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Unauthorized
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Forbidden
Schema
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
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
POST /v1/dealers/:dealerUUID/motors/operations/searches
Authorization
name: basicAuthtype: httpin: headerscheme: basic
Request
Request
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/searches' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"requesterUserUUID": "string",
"onlineSchedulerVisibility": true,
"mobileServiceVisibility": true,
"serviceCartVisibility": true,
"dealerAppSchedulerVisibility": true,
"checkInVisibility": true,
"isDefault": true,
"startPosition": 0,
"endPosition": 0,
"isLastPage": true,
"resultSize": 0,
"communicationCodes": [
"string"
],
"opCodes": [
"string"
],
"uuidList": [
"string"
],
"getTotalCount": true,
"getMkAndDmsSimilarOpcodeCount": true,
"searchToken": "string",
"sortPreference": "OPCODE",
"sortDirection": "ASCENDING",
"eventDealerAssociateUuid": "string",
"serviceTypeList": [
"MAINTENANCE"
],
"brandUuidList": [
"string"
],
"typeList": [
"OPCODE"
],
"mileageDTOList": [
{
"startMileage": 0,
"repeatInterval": 0,
"endMileage": 0
}
],
"baseVehicleId": 0,
"engineId": 0,
"minPrice": 0,
"maxPrice": 0,
"dmsLaborPriceMismatch": true,
"severityFlag": "string",
"engineList": [
"string"
],
"modelList": [
"string"
],
"yearList": [
0
],
"trimList": [
"string"
],
"vehicleUuid": "string",
"vin": "string",
"model": "string",
"year": "string",
"make": "string"
}'