VCS API - Apigee (1.2.2)
Download OpenAPI specification:Download
License: Internal
VCS API documentation
Authentication & Authorization
You will need to be identified before calling any VCS API endpoints.
In order to be recognized and authorized to access our VCS API, we put in place 2 mechanisms:
- Authentication mechanism is done with an API key dedicated to you.
Remember that the API key provided should be shared with care.
The API key must be inserted in the header of the request in the appropriate field - Authorization mechanism is done by a well-known authorization flow for REST Web API: “Client credentials” OAuth2.0 flow.
Get inspections data
Get inspections data filtered by parameters
Authorizations:
(OAuth2ApiKeyAuth)
query Parameters
pageNumber required | integer <int32> (PageNumberQueryParam) [ 1 .. 1000 ] Example: pageNumber=2 The page number |
pageSize required | integer <int32> (PageSizeQueryParam) [ 1 .. 1000 ] Example: pageSize=2 The page size |
lastModifiedDateFrom | string <date-time> (lastModifiedDateFromParam) Example: lastModifiedDateFrom=2024-05-02T10:00:00 Date from for last update date of data |
lastModifiedDateTo | string <date-time> (lastModifiedDateToParam) Example: lastModifiedDateTo=2024-05-02T10:00:00 Date to for last update date of data |
managingServiceCenterCode | string (managingServiceCenterCodeParam) <= 255 characters Managing service center code |
vehicleCode | string (vehicleCodeParam) <= 255 characters Example: vehicleCode=AA-123-BB Vehicle code param |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
Content type
application/json
{- "pagination": {
- "next": "/vcs-erm/v1/inspections?page=3&size=50",
- "previous": "/vcs-erm/v1/inspections?page=1&size=50",
- "pageTotal": "3",
- "totalElements": "125"
}, - "inspections": [
- {
- "code": "IP4122430S",
- "vehicleCode": "FZ-479-ZP",
- "inspectorCode": "jeanluc.lartigue.taqui",
- "locationCode": "St Léon",
- "locationName": "St Léon",
- "startDate": "2024-04-09T06:55:46",
- "endDate": "2024-04-09T06:57:52",
- "customer": {
- "companyCode": "SEMOCTOM",
- "fleetCode": "Semoctom",
- "locationCode": "St Léon",
- "locationName": "St Léon"
}, - "serviceProvider": {
- "contractorCode": "FR_BU_FRANCHISE_TAQUI",
- "marketCode": "FR_MA_FRANCHISE_TAQUI"
}, - "mileage": "120000",
- "mileageUOM": "km",
- "type": "",
- "comments": "",
- "managingServiceCenterCode": "",
- "lastModifiedDate": "2024-04-09T06:59:51",
- "measurements": [
- {
- "axlePosition": "1",
- "typrePosition": "1",
- "spareWheel": false,
- "tyreGroove": "2",
- "pressure": "2.3",
- "pressureUOM": "bar",
- "treadDepth": "8.4",
- "treadDepthUOM": "mm"
}
], - "observations": [
- {
- "axlePosition": "2",
- "tyrePosition": "3",
- "spareWheel": false,
- "name": "Irregular Wear",
- "type": "Irregular Wear",
- "severity": "Severe",
- "actionName": "Turn On Rim Urgent",
- "actionLevel": "Défaut"
}
]
}
]
}