Update Defect Status
curl --request PUT \
--url https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "<string>",
"signature": "<string>",
"repairDate": "<string>",
"notes": "<string>"
}
'import requests
url = "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}"
payload = {
"status": "<string>",
"signature": "<string>",
"repairDate": "<string>",
"notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
status: '<string>',
signature: '<string>',
repairDate: '<string>',
notes: '<string>'
})
};
fetch('https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => '<string>',
'signature' => '<string>',
'repairDate' => '<string>',
'notes' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}"
payload := strings.NewReader("{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body"OPEN"/vehicle-checks
Update Defect Status
PUT request to update defect status.
PUT
/
api
/
v1
/
vehicle-checks
/
defects
/
defect-status
/
{defectId}
Update Defect Status
curl --request PUT \
--url https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "<string>",
"signature": "<string>",
"repairDate": "<string>",
"notes": "<string>"
}
'import requests
url = "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}"
payload = {
"status": "<string>",
"signature": "<string>",
"repairDate": "<string>",
"notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
status: '<string>',
signature: '<string>',
repairDate: '<string>',
notes: '<string>'
})
};
fetch('https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => '<string>',
'signature' => '<string>',
'repairDate' => '<string>',
'notes' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}"
payload := strings.NewReader("{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vehiclechecks-public-api.connectedfleet.michelin.com/public/bvfm/vehicle-checks/public-api/api/v1/vehicle-checks/defects/defect-status/{defectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"<string>\",\n \"signature\": \"<string>\",\n \"repairDate\": \"<string>\",\n \"notes\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body"OPEN"Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
System-generated unique identifier for the defect.
Body
application/json
The status to which the defect should be updated. Possible options for status: OPEN, DEFERRED, CLOSED_REPAIRED, CLOSED_DUPLICATE, CLOSED_NO_FAULT_FOUND.
The signature of the person who modified the status.
Date of repair in UTC, in the format yyyy-MM-dd'T'HH:mm'Z'.
The notes for this status change. Included in the response if notes have been specified for this status change.
Response
200 - application/json
OK
The response is of type string.
Example:
"OPEN"
Was this page helpful?
⌘I
