Status codes – Tracking API
Below is the table with the status codes for each endpoint available in the Tracking API:
| Code | Method | Endpoint | Description |
| 200 | POST | https://api.maplink.global/tracking/v1/orders | OK (link successfully generated) |
| 400 | POST | https://api.maplink.global/tracking/v1/orders | Error: Bad Request (missing parameters, incomplete sending or request with errors) |
| 500 | POST | https://api.maplink.global/tracking/v1/orders | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | OK |
| 404 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | NOT FOUND (not found due to incorrect ID) |
| 500 | GET | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | OK (request successfully deleted) |
| 404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | NOT FOUND (not found due to incorrect ID) |
| 500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}} | An Internal Server Error occurred (internal error in processing the requisition) |
| 204 | POST | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | OK (status successfully updated) |
| 404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | NOT FOUND (not found due to incorrect ID) |
| 500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/status | An Internal Server Error occurred (internal error in processing the requisition) |
| 204 | POST | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | OK (driver location successfully updated) |
| 404 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | NOT FOUND (not found due to incorrect ID) |
| 500 | DELETE | https://api.maplink.global/tracking/v1/orders/{{trackingId}}/driver | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | POST | https://api.maplink.global/tracking/v1/themes | OK (theme successfully created) |
| 400 | POST | https://api.maplink.global/tracking/v1/themes | Error: Bad Request (missing parameters, incomplete sending or request with errors) |
| 500 | POST | https://api.maplink.global/tracking/v1/themes | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK |
| 404 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (not found due to incorrect ID) |
| 500 | GET | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK (theme successfully updated) |
| 404 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (not found due to incorrect ID) |
| 500 | PUT | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (internal error in processing the requisition) |
| 200 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | OK (topic successfully deleted) |
| 404 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | NOT FOUND (not found due to incorrect ID) |
| 500 | DELETE | https://api.maplink.global/tracking/v1/themes/{{trackingTheme}} | An Internal Server Error occurred (internal error in processing the requisition) |