Status Codes – Restriction Zones
Below is the table with the status codes for each endpoint available in the Restriction Zone API:
Code | Method | Endpoint | Description |
201 | POST | https://api.maplink.global/restriction/v1/restrictionZones/ | Restriction zone successfully created |
400 | POST | https://api.maplink.global/restriction/v1/restrictionZones/ | Restricton zone with validation errors |
409 | POST | https://api.maplink.global/restriction/v1/restrictionZones/ | Conflict (there is already a restriction zone with the same name in the same clientId) |
200 | GET | https://api.maplink.global/restriction/v1/restrictionZones/ | Restriction zone found |
400 | GET | https://api.maplink.global/restriction/v1/restrictionZones/ | Restriction zone not found (The restriction zone was not found. Check that the name and clientId are correct). |
204 | DELETE | https://api.maplink.global/restriction/v1/restrictionZones/ | No Content (the restricted area has been successfully deleted) |
400 | DELETE | https://api.maplink.global/restriction/v1/restrictionZones/ | Restriction zone not found (The restriction zone was not found. Check that the name and clientId are correct). |