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.
- 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 generateOperationsExcelAndSendOverEmail
is returning a ResponseEntity
object with the body
containing an ApiResponse
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"
}
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"
}