Updated Since
curl --request GET \
--url https://api.connectedfleet.michelin.com/job-management/job/updatedSince \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.connectedfleet.michelin.com/job-management/job/updatedSince"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.connectedfleet.michelin.com/job-management/job/updatedSince', 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://api.connectedfleet.michelin.com/job-management/job/updatedSince",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.connectedfleet.michelin.com/job-management/job/updatedSince"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.connectedfleet.michelin.com/job-management/job/updatedSince")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.connectedfleet.michelin.com/job-management/job/updatedSince")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"jobId": "<string>",
"jobNumber": "<string>",
"jobTitle": "<string>",
"clientName": "<string>",
"accountNumber": "<string>",
"contactName": "<string>",
"contactEmail": "<string>",
"contactPhone": "<string>",
"notes": "<string>",
"lat": 123,
"lng": 123,
"address": "<string>",
"statusChangeTimestamp": "<string>",
"statusChangeId": "<string>",
"scheduledStartDateTime": "<string>",
"jobDuration": "<string>",
"arrivalWindowStart": "<string>",
"arrivalWindowEnd": "<string>",
"personId": "<string>",
"vehicleId": "<string>",
"groupName": "<string>",
"personName": "<string>",
"vehicleName": "<string>",
"orderNumbers": [
"<string>"
],
"driverNotes": "<string>",
"statusHistory": [
{
"date": "<string>",
"personId": "<string>",
"name": "<string>",
"statusChangeId": "<string>"
}
],
"actualStart": "<string>",
"actualEnd": "<string>",
"overrideLat": 123,
"overrideLng": 123,
"jobHistory": [
{
"date": "<string>",
"personId": "<string>",
"name": "<string>",
"assignedPersonName": "<string>",
"assignedAssetName": "<string>"
}
],
"jobRadius": 123,
"eta": "<string>",
"etaDistanceKms": 123,
"lastEtaCalcTime": "<string>",
"jobTypeId": "<string>",
"jobType": {
"id": "<string>",
"label": "<string>",
"description": "<string>",
"global": true,
"used": true,
"disabled": true,
"key": "<string>",
"earliestStartTime": 123,
"latestStartTime": 123,
"duration": "<string>",
"notes": "<string>",
"resources": [
{
"name": "<string>",
"fileType": "<string>",
"storageUrl": "<string>",
"uploadUrl": "<string>",
"presignedGetUrl": "<string>"
}
],
"sendJobReportOnCompletion": true,
"workflowId": "<string>"
},
"jobPhotos": [
{
"date": "<string>",
"downloadUrl": "<string>"
}
],
"jobSignature": {
"date": "<string>",
"downloadUrl": "<string>",
"signeeName": "<string>"
},
"linkingId": "<string>",
"linkedJobDescription": "<string>",
"linkedJobIndex": "<string>",
"resources": [
{
"name": "<string>",
"fileType": "<string>",
"storageUrl": "<string>",
"uploadUrl": "<string>",
"presignedGetUrl": "<string>"
}
],
"subStatus": {
"key": "<string>",
"value": "<string>"
},
"lastServerTime": "<string>",
"visitResults": [
{
"jobScheduledStart": "<string>",
"taskAnswers": [
{
"title": "<string>",
"description": "<string>",
"key": "<string>",
"statusChangeId": "<string>",
"timestamp": "<string>",
"nextTaskKey": "<string>",
"onTransitionTo": "<string>",
"mandatory": true,
"includeInReport": true,
"value": {
"stringValues": [
"<string>"
],
"integerValue": 123,
"doubleValue": 123,
"blobValues": [
"<string>"
]
},
"onTransitionToLabel": "<string>",
"personId": "<string>",
"personName": "<string>"
}
]
}
],
"subStatusLabel": "<string>",
"statusLabel": "<string>"
}
],
"nextToken": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"count": 123
}/job
Updated Since
GET request to retrieve a list of jobs. Like the “List Job” API (See 5.6) , however, returns jobs results that have updates since a specific date/time. The updatedSince cannot be more than 7 days in the past.
GET
/
job
/
updatedSince
Updated Since
curl --request GET \
--url https://api.connectedfleet.michelin.com/job-management/job/updatedSince \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.connectedfleet.michelin.com/job-management/job/updatedSince"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.connectedfleet.michelin.com/job-management/job/updatedSince', 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://api.connectedfleet.michelin.com/job-management/job/updatedSince",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.connectedfleet.michelin.com/job-management/job/updatedSince"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.connectedfleet.michelin.com/job-management/job/updatedSince")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.connectedfleet.michelin.com/job-management/job/updatedSince")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"jobId": "<string>",
"jobNumber": "<string>",
"jobTitle": "<string>",
"clientName": "<string>",
"accountNumber": "<string>",
"contactName": "<string>",
"contactEmail": "<string>",
"contactPhone": "<string>",
"notes": "<string>",
"lat": 123,
"lng": 123,
"address": "<string>",
"statusChangeTimestamp": "<string>",
"statusChangeId": "<string>",
"scheduledStartDateTime": "<string>",
"jobDuration": "<string>",
"arrivalWindowStart": "<string>",
"arrivalWindowEnd": "<string>",
"personId": "<string>",
"vehicleId": "<string>",
"groupName": "<string>",
"personName": "<string>",
"vehicleName": "<string>",
"orderNumbers": [
"<string>"
],
"driverNotes": "<string>",
"statusHistory": [
{
"date": "<string>",
"personId": "<string>",
"name": "<string>",
"statusChangeId": "<string>"
}
],
"actualStart": "<string>",
"actualEnd": "<string>",
"overrideLat": 123,
"overrideLng": 123,
"jobHistory": [
{
"date": "<string>",
"personId": "<string>",
"name": "<string>",
"assignedPersonName": "<string>",
"assignedAssetName": "<string>"
}
],
"jobRadius": 123,
"eta": "<string>",
"etaDistanceKms": 123,
"lastEtaCalcTime": "<string>",
"jobTypeId": "<string>",
"jobType": {
"id": "<string>",
"label": "<string>",
"description": "<string>",
"global": true,
"used": true,
"disabled": true,
"key": "<string>",
"earliestStartTime": 123,
"latestStartTime": 123,
"duration": "<string>",
"notes": "<string>",
"resources": [
{
"name": "<string>",
"fileType": "<string>",
"storageUrl": "<string>",
"uploadUrl": "<string>",
"presignedGetUrl": "<string>"
}
],
"sendJobReportOnCompletion": true,
"workflowId": "<string>"
},
"jobPhotos": [
{
"date": "<string>",
"downloadUrl": "<string>"
}
],
"jobSignature": {
"date": "<string>",
"downloadUrl": "<string>",
"signeeName": "<string>"
},
"linkingId": "<string>",
"linkedJobDescription": "<string>",
"linkedJobIndex": "<string>",
"resources": [
{
"name": "<string>",
"fileType": "<string>",
"storageUrl": "<string>",
"uploadUrl": "<string>",
"presignedGetUrl": "<string>"
}
],
"subStatus": {
"key": "<string>",
"value": "<string>"
},
"lastServerTime": "<string>",
"visitResults": [
{
"jobScheduledStart": "<string>",
"taskAnswers": [
{
"title": "<string>",
"description": "<string>",
"key": "<string>",
"statusChangeId": "<string>",
"timestamp": "<string>",
"nextTaskKey": "<string>",
"onTransitionTo": "<string>",
"mandatory": true,
"includeInReport": true,
"value": {
"stringValues": [
"<string>"
],
"integerValue": 123,
"doubleValue": 123,
"blobValues": [
"<string>"
]
},
"onTransitionToLabel": "<string>",
"personId": "<string>",
"personName": "<string>"
}
]
}
],
"subStatusLabel": "<string>",
"statusLabel": "<string>"
}
],
"nextToken": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"count": 123
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Date time used to check changes from , in UTC, in the format of YYYY-MM-DDThh:mmZ
The number of jobs to include in the output. If not specified, it will default to 20. Advise this is not set to greater than 1000 to avoid any issues with response size.
Specifies where to continue listing jobs
Was this page helpful?
⌘I
