Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Abaixo a tabela com os status codes para cada endpoint disponível na Restriction Zone API:

Código

Tipo RequisiçãoMétodo

Endpoint

Descrição

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 (já há uma restrictionZone de mesmo nome no mesmo 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 (A área de restrição não foi encontrada. Verifique se o nome e o clientId estão corretos).

204

DELETE

https://api.maplink.global/restriction/v1/restrictionZones/

No Content (a área de restrição foi excluída com sucesso)

400

DELETE

https://api.maplink.global/restriction/v1/restrictionZones/

Restriction zone not found (A área de restrição não foi encontrada. Verifique se o nome e o clientId estão corretos).