Pular para o conteúdo

Obter AGOL GeoJSON

Requisição

Segurança
API-Key and Client-Code
Caminho
serviceIdstring
Consulta
layerIdinteger, >= 0
Padrão:0
curl -i -X GET \
  'https://api-alliances.inflor-qas.cloud/api/v2/gis/agol/geojson/{serviceId}?layerId=0' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Client-Code: YOUR_API_KEY_HERE'

Respostas

Sucesso. Retorna um objeto do tipo GeoJSON seguindo a especificação RFC 7946.

Corpoapplication/json
typestringobrigatório
Value:"FeatureCollection"
Discriminador
featuresArray of objects, >= 0 itemsobrigatório
propertiesobject or null
Resposta
{ "type": "FeatureCollection", "features": [ { … } ], "properties": {} }