API to get drivers feedbacks
Allows to create a driver feedback
Context informations and user feedbacks
Access token
{
"vehicleId": "efa96a5f-fdsb6-4997-ae32-fdsqfdfd",
"date": "2020-12-31T00:00:00+00:00",
"physicalReference": [
"efa96a5f-c6b6-4997-ae32-2a42d483c473",
"efa96a5f-c6b6-4997-ae32-2a42d483c473"
],
"longitude": 2.25422,
"latitude": 33.2564343,
"feedbacks": {
"accessFeedbacks": [
{
"code": "PlacePrivate",
"details": "hotel",
"comment": "Reserved to Novotel clients"
},
{
"code": "PlacePayingAccess",
"comment": "Parking with paying access"
},
{
"code": "ChargePointBlocked",
"comment": "Charge Point is blocked by an unauthorized car"
}
],
"informationFeedbacks": [
{
"code": "ChargePointInoperative",
"comment": "Charge Point is out of order. Impossible to charge my car"
}
],
"sessionFeedbacks": [
{
"code": "RfidStartFailed",
"comment": "My card is not recognized. Impossible to start the session"
}
]
},
"evaluation": {
"score": 5,
"comment": "Smooth and simple to use !"
}
}
Created
401 description
{
"anyOf": [
{
"InvalidJWT": {
"status": "Error",
"errors": [
{
"code": "InvalidJWT",
"message": "Unable to decode the JWT."
}
],
"version": "1.0"
}
},
{
"TokenExpired": {
"status": "Error",
"errors": [
{
"code": "TokenExpired",
"message": "Lifetime validation failed, the JWT is expired."
}
],
"version": "1.0"
}
},
{
"TokenNotPresent": {
"status": "Error",
"errors": [
{
"code": "TokenNotPresent",
"message": "JWT not present."
}
],
"version": "1.0"
}
}
]
}
Forbidden
{
"status": "Error",
"errors": [
{
"code": "InvalidJWT",
"message": "Unable to decode the JWT."
}
],
"version": "1.0"
}
Not found
{
"status": "Error",
"errors": [
{
"code": "Not found",
"message": "Item not found."
}
],
"version": "1.0"
}
500 description
{
"version": "1.0",
"status": "Error",
"errors": [
{
"code": "ErrorCode",
"message": "Error message/description."
}
]
}