Webhooks
Vehicles
Vehicle - Vehicle Update
A Vehicle has been updated.
postWebhookvehicle_update
Headers
X-Soldo-Fingerprintstring required
Webhook authentication: SHA-512 hash (lowercase hexadecimal) of the values listed in X-Soldo-Fingerprint-Order, concatenated in that order, followed by your fingerprint token.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Orderstring required
Webhook authentication: The comma-separated list of the fields used to calculate the X-Soldo-Fingerprint, in the order they must be concatenated.
Example:id,numberPlate
X-Soldo-Fingerprint-Signaturestring required
Webhook authentication: Signature of the X-Soldo-Fingerprint, generated with the SHA512withRSA algorithm and encoded in Base64. It must be verified using the Soldo public key.
Example:{{fingerprint_signature}}
Payload
Example payload
{
"event_uuid": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"company_account_id": "XMPL1234",
"data": {
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"number_plate": "AA000BB",
"description": "Employee electric vehicle",
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z",
"card_ids": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"reimbursement_rate": 0.45,
"mileage": 125000
},
"subscription_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
}Response
Success.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.