Get all truckers
GET/truckers
Solo pueden usar los usuarios multitenant
Request
Header Parameters
Authorization stringrequired
Token de Auth del Usuario
- application/json
Body
name string
email string
phone string
taxid string
Responses
- 200
Example response
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- ]
status integer
data object
docs object[]
_id string
role string
status boolean
reason string
emailVerified boolean
phone string
country string
timezone string
image string
recovery_token string
i18n string
deleted boolean
name string
lastname string
email string
taxid string
password string
totalDocs integer
limit integer
totalPages integer
page integer
pagingCounter integer
hasPrevPage boolean
hasNextPage boolean
prevPage integer
nextPage integer
{
"status": 0,
"data": {
"docs": [
{
"_id": "65e1fc46a39d32135b12c7e0",
"position": {
"deliveries": []
},
"role": "driver",
"status": true,
"reason": "NONE",
"emailVerified": false,
"phone": "34668936908",
"country": "esp",
"timezone": "europe/madrid",
"image": "",
"recovery_token": "XXX",
"i18n": "es",
"deleted": false,
"name": "Name",
"lastname": "Lastname",
"email": "email@example.com",
"taxid": "12345678A",
"password": "XXX"
}
],
"totalDocs": 0,
"limit": 0,
"totalPages": 0,
"page": 0,
"pagingCounter": 0,
"hasPrevPage": true,
"hasNextPage": true,
"prevPage": 0,
"nextPage": 0
}
}
{
"status": 0,
"data": {
"docs": [
{
"_id": "65e1fc46a39d32135b12c7e0",
"position": {
"deliveries": []
},
"role": "driver",
"status": true,
"reason": "NONE",
"emailVerified": false,
"phone": "34668936908",
"country": "esp",
"timezone": "europe/madrid",
"image": "",
"recovery_token": "XXX",
"i18n": "es",
"deleted": false,
"name": "Name",
"lastname": "Lastname",
"email": "email@example.com",
"taxid": "12345678A",
"password": "XXX"
}
],
"totalDocs": 0,
"limit": 0,
"totalPages": 0,
"page": 2,
"pagingCounter": 0,
"hasPrevPage": true,
"hasNextPage": true,
"prevPage": 1,
"nextPage": 3
}
}
Loading...