Create new trucker
POST/truckers
Solo pueden usar los usuarios multitenant
Request
Header Parameters
Authorization stringrequired
Token de Auth del Usuario
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
status integer
data object
_id string
Possible values: non-empty
ID unico generado aleatoriamente en el momento de creación
name string
image string
phone string
taxid string
email string
createdAt string
updatedAt string
{
"status": 0,
"data": {
"_id": "5d84f846b0f6ba698f544dbf",
"name": "string",
"image": "string",
"phone": "string",
"taxid": "string",
"email": "string",
"createdAt": "string",
"updatedAt": "string"
}
}
{
"status": 200,
"data": {
"_id": "658d4d3f73c4fa012eb43bda",
"name": "string",
"image": "",
"phone": "626262626",
"taxid": "string",
"email": "string",
"createdAt": "2023-12-28T10:26:07.148Z",
"updatedAt": "2023-12-28T10:26:07.217Z"
}
}
Loading...