List of Vehicle Types
GET/vehicles/types
Get a list of company types
Request
Header Parameters
Authorization stringrequired
Token de Auth del Usuario
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- Array [
- ]
- ]
status integer
data object[]
_id string
Possible values: non-empty
ID unico generado aleatoriamente en el momento de creación
code string
deleted boolean
langs object[]
lang string
name string
_id string
createdAt string
updatedAt string
__v integer
visible boolean
{
"status": 0,
"data": [
{
"_id": "64631c98b7f2514e55109c50",
"code": "cocar",
"deleted": false,
"langs": [
{
"lang": "es",
"name": "camión portacontenedores",
"_id": "64631c98b7f2514e55109c51"
},
{
"_id": "650b0b1b37cb755fa8c7d81e",
"lang": "en",
"name": "container truck"
},
{
"_id": "650b0b1b37cb755fa8c7d81f",
"lang": "pt",
"name": "caminhão contêiner"
}
],
"createdAt": "2023-05-16T06:03:04.754Z",
"updatedAt": "2023-05-16T06:03:04.754Z",
"__v": 0,
"visible": true
}
]
}
{
"status": 200,
"data": [
{
"_id": "64631c98b7f2514e55109c50",
"code": "cocar",
"deleted": false,
"langs": [
{
"lang": "es",
"name": "camión portacontenedores",
"_id": "64631c98b7f2514e55109c51"
},
{
"_id": "650b0b1b37cb755fa8c7d81e",
"lang": "en",
"name": "container truck"
},
{
"_id": "650b0b1b37cb755fa8c7d81f",
"lang": "pt",
"name": "caminhão contêiner"
}
],
"createdAt": "2023-05-16T06:03:04.754Z",
"updatedAt": "2023-05-16T06:03:04.754Z",
"__v": 0,
"visible": true
}
]
}
Loading...