Ir al contenido

Obtener punto de ruta por ID

GET
/teams/{teamId}/route-points/{routePointId}
curl --request GET \
--url https://api.dev.lade.com.mx/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/route-points/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Retorna información detallada de un punto de ruta

teamId
required
string format: uuid

ID del equipo (UUID)

routePointId
required
string format: uuid

ID del punto de ruta (UUID)

Información del punto de ruta

Media typeapplication/json
object
id
string format: uuid
teamId
string format: uuid
clientId
string format: uuid
nullable
clientName
string
nullable
name
string
address
string
city
string
nullable
state
string
nullable
zipCode
string
nullable
country
string
default: Mexico
coordsLat
number
nullable >= -90 <= 90
coordsLng
number
nullable >= -180 <= 180
pointType

Tipo de punto de ruta

string
Allowed values: PICKUP DELIVERY BOTH
contactName
string
nullable
contactPhone
string
nullable
notes
string
nullable
isActive
boolean
default: true
createdAt
string format: date-time
Example
{
"country": "Mexico",
"pointType": "PICKUP",
"isActive": true
}

No autenticado

Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{
"error": "Unauthorized",
"message": "Invalid or expired token"
}

Sin permisos

Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{
"error": "Forbidden",
"message": "You don't have permission to access this resource"
}

Recurso no encontrado

Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{
"error": "Not found",
"message": "Resource not found"
}