Fetch all operations for a dealer
This Java function fetches all operations for a dealer based on the provided dealer UUID and request parameters.
Path Parameters
The dealerUUID
parameter in the fetchOperations
method represents the unique identifier of a
dealer for whom you want to fetch all operations. This identifier is used to retrieve the operations associated with
that specific dealer.
Request Body required
The fetchOperationsRequest
parameter is an object of type FetchOperationsRequest
which is being passed as the request body in the fetchOperations
method. This object contains the data needed to
fetch operations for a specific dealer. The method processes this request and returns a response object of type `
- Array [
- ]
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 fetchOperations
is returning a ResponseEntity
object containing a FetchOperationsResponse
entity.
Schema
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
errors object[]
warnings object[]
operationDTOList object[]
vehicleMileageConfigDTOList object[]
brandDTO object
dailyLimitConfigDTOList object[]
Possible values: [OPCODE
, SERVICEMENU
, SERVICEMOTORSMAINTENANCEMENU
, SERVICEMOTORSLINEITEM
, SERVICEMOTORSINDICATOR
]
{
"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
- 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"
}