Warranties
Create Warranty
Creates a new Warranty on the Vehicle in the path.
A start reading on either the primary meter (start_primary_meter) or the secondary meter (start_secondary_meter) is required.
post/vehicles/{vehicle_id}/warranties
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
vehicle_idstring required
Request body
Example request
{
"start_date": "2023-03-14",
"end_date": "2024-03-14"
}Response
OK
Example response
{
"start_date": "2023-03-14",
"end_date": "2024-03-14",
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.