Versions Compared

Key

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

Tabela com os códigos de resposta da API:

Código

Tipo Requisição

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

/suggestions

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).