Status codes – Tracking API
A continuación se muestra la tabla con los status codes para cada endpoint disponible en la Tracking API:
Código | Método | Endpoint | Descripción |
200 | POST | https://api.maplink.global/tracking/v1/orders | OK (enlace generado correctamente) |
400 | POST | https://api.maplink.global/tracking/v1/orders | Error: Bad Request (falta de parámetros, envío incompleto o solicitud con errores) |
500 | POST | https://api.maplink.global/tracking/v1/orders | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | OK |
404 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | OK (solicitud eliminada con éxito) |
404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
204 | POST | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | OK (estado actualizado correctamente) |
404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
204 | POST | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | OK (ubicación del controlador actualizada correctamente) |
404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | POST | https://api.maplink.global/tracking/v1/themes | OK (tema creado correctamente) |
400 | POST | https://api.maplink.global/tracking/v1/themes | Error: Bad Request (falta de parámetros, envío incompleto o solicitud con errores) |
500 | POST | https://api.maplink.global/tracking/v1/themes | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK |
404 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK (tema actualizado correctamente) |
404 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |
200 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK (tema eliminado con éxito) |
404 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (no encontrado debido a un ID incorrecto) |
500 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (error interno en la tramitación de la solicitud) |