Get Trucker details
GEThttp://localhost:8080/truckers/:id
Solo pueden usar los usuarios multitenant
Request
Path Parameters
id stringrequired
Header Parameters
Authorization stringrequired
Token de Auth del Usuario
Responses
- 200
Example response
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
status integer
data object
{
"status": 0,
"data": {
"_id": "string",
"name": "string",
"image": "string",
"phone": "string",
"taxid": "string",
"email": "string",
"createdAt": "string",
"updatedAt": "string"
}
}
{
"status": 200,
"data": {
"_id": "65e5ef1851342f8dec7aa2d1",
"name": "Name",
"image": "",
"phone": "123456789",
"taxid": "12345678A",
"email": "email@example.com",
"createdAt": "2024-03-04T15:56:08.868Z",
"updatedAt": "2024-03-04T15:56:08.958Z"
}
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'http://localhost:8080/truckers/:id' \
-H 'Accept: application/json'
ResponseClear