Fetch all operations and send excel over email
This function generates an Excel file containing operations data and sends it over email for a specified dealer, with authorization and error handling.
Path Parameters
The dealerUUID
parameter is a path variable representing the unique identifier of a dealer. It
is extracted from the URL path of the request to identify the specific dealer for whom the operations data is being
fetched and processed.
Request Body required
The fetchOperationsRequest
parameter is a request body object that contains
information needed to fetch operations and generate an Excel file to be sent over email. It likely includes details
such as filters, sorting criteria, and any other parameters required to retrieve the operations data for the
specified dealer.
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 generateOperationsExcelAndSendOverEmail
is returning a ResponseEntity
object with the body
containing an ApiResponse
object.
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
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/operations/searches/async
Authorization
name: basicAuthtype: httpin: headerscheme: basic
Request
Request
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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/operations/searches/async' \
-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"
}'