v1
latestOpenAPI 3.0.32026-08-0645108163.2 KBRegistration
Register kilometer allowance
Registers the kilometer allowance for the worker. from and to address are optional. If they are not present, the location of the placement and the home address of the worker will be used. The distance is as determined by the Mapbox API
post/public/registrations/v1/register-kilometer-allowance
Request body
Example request
{
"date": "2024-10-30",
"fromAddress": {
"houseNumber": 102,
"houseNumberAddition": "B",
"zipCode": "5652AA",
"countryCode": "US"
},
"toAddress": {
"houseNumber": 102,
"houseNumberAddition": "B",
"zipCode": "5652AA",
"countryCode": "US"
}
}Response
Successfully registered kilometer allowance
Example response
{
"kilometers": 64.41,
"amount": 24.69
}