platestringRequiredpattern"^[A-Z]{3}[0-9][A-Z0-9][0-9]{2}$"Parameters, data structure and responses from the versioned contract.
/fiscal/veiculosTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]No parameters declared for this operation.
Required
application/jsonplatestringRequiredpattern"^[A-Z]{3}[0-9][A-Z0-9][0-9]{2}$"plate_statestring | nullOptionalminLength2maxLength2renavamstring | nullOptionalpattern"^\\d{11}$"tare_kgnumber | nullOptionalminimum0capacity_kgnumber | nullOptionalminimum0capacity_m3number | nullOptionalminimum0axlesnumber | nullOptionalminimum0maximum255body_typenumber | nullOptionalminimum0maximum255wheel_typenumber | nullOptionalminimum0maximum255owner_typestring | nullOptional"own" · "third"owner_documentstring | nullOptionalmaxLength14owner_namestring | nullOptionalmaxLength120owner_rntrcstring | nullOptionalmaxLength8default_driver_user_idinteger | nullOptionalminimum1201 HTTP ResponseVehicle registered.
X-Request-IdCall correlation identifier.
401 HTTP ResponseFleetPay API key missing or invalid.
X-Request-IdCall correlation identifier.
403 HTTP ResponseFiscal scope disabled for the key, or no active carrier associated with the key.
X-Request-IdCall correlation identifier.
422 HTTP ResponseInvalid payload, outstanding requirement or business rule.
X-Request-IdCall correlation identifier.
429 HTTP ResponsePer-carrier limit exceeded.
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP ResponseInternal failure without operational integration details.
X-Request-IdCall correlation identifier.
{
"tags": [
"Veículos"
],
"summary": "Cadastrar veículo",
"operationId": "createVehicle",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VehicleCreateInput"
}
}
}
},
"responses": {
"201": {
"$ref": "#/components/responses/VehicleCreated"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"422": {
"$ref": "#/components/responses/ValidationOrBusinessRuleFailed"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "POST",
"path": "/fiscal/veiculos",
"parameters": []
}