push motor operations to ES for a dealer
This function pushes motor operations to Elasticsearch for a specific dealer.
Path Parameters
dealerUUID string required
The dealerUUID
parameter is a unique identifier for a dealer, typically used to identify a
specific dealer in the system. In the given code snippet, this parameter is extracted from the path variable in the
URL and then used to push motor operations to Elasticsearch for the specified dealer.
Responses
- 200
- 400
- 401
- 403
- 500
The method pushMotorOperationsToES
is returning a ResponseEntity
object containing an ApiResponse
object.
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Bad Request
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Forbidden
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
statusCode int32
apiRequestId string
{
"errors": [
{
"errorName": "string",
"errorMessage": "string",
"errorCode": 0
}
],
"warnings": [
{
"warningCode": "string",
"warningTitle": "string",
"warningMessage": "string"
}
],
"statusCode": 0,
"apiRequestId": "string"
}
POST /v1/dealers/:dealerUUID/motors/operations/os
Authorization
name: basicAuthtype: httpin: headerscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
python / requests
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
go / native
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
nodejs / axios
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
ruby / Net::HTTP
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
csharp / RestSharp
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
php / cURL
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
java / OkHttp
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'
powershell / RestMethod
curl -L -X POST '/opcodes/v1/dealers/:dealerUUID/motors/operations/os' \
-H 'Accept: */*'