API referenceEndpoints
State a coach's length
States the coach's overall length in metres, which bays it fits on; an omitted length is cleared. **Required permission:** `referential.vehicle:write`
PUT
/referential/v1/vehicles/{id}/lengthStates the coach's overall length in metres, which bays it fits on; an omitted length is cleared.
Required permission: referential.vehicle:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*DeclareVehicleLengthRequest
Response Body
*/*
*/*
*/*
curl -X PUT "https://example.com/referential/v1/vehicles/string/length" \ -H "Content-Type: application/json" \ -d '{}'{ "brand": "string", "capacity": 0, "carrier_id": "string", "created_at": "2019-08-24T14:15:22Z", "fleet_number": "string", "id": "string", "length_m": 0, "model": "string", "plate_number": "string", "replacement": true, "seating_mode": "string", "service_category": "string", "standing": "string", "status": "string", "suspension_reason": "string", "type": "string", "uhf_tag_missing": true, "updated_at": "2019-08-24T14:15:22Z"}