GeoZones Admin

Add dataset definition

Creates a new dataset definition

post/api/v1/geoaware/admin/dataset-definitions

Request

  • Base URL
    http://localhost:8486
  • Auth
    API key in header x-auth-token

Request body

namestring required

Dataset definition name

geographicalCoveragestring required

Geographical coverage identifier

updateIntervalstring

Update interval as ISO-8601 duration

authorativeLevel'AUTHORATIVE' | 'NON_AUTHORATIVE'

Authoritative level

featuresIncludedstring[]

Set of feature type IDs included in this dataset

Example request

{
  "name": "Norwegian Airspace Restrictions",
  "geographicalCoverage": "NO",
  "dataSource": {
    "type": "ARCGIS_FEATURE_SERVICE",
    "converterBeanName": "arcgisFeatureServiceConverter",
    "contentType": "application/json"
  },
  "updateInterval": "PT24H"
}

Response

Dataset definition created successfully

idinteger

Dataset definition ID

versioninteger

Version for optimistic locking

namestring

Dataset definition name

geographicalCoveragestring

Geographical coverage identifier

updateIntervalstring

Update interval as ISO-8601 duration

authorativeLevel'AUTHORATIVE' | 'NON_AUTHORATIVE'

Authoritative level

activeboolean

Whether the dataset definition is active

featuresIncludedstring[]

Set of feature type IDs included in this dataset

Example response

{
  "name": "Norwegian Airspace Restrictions",
  "geographicalCoverage": "NO",
  "dataSource": {
    "type": "ARCGIS_FEATURE_SERVICE",
    "converterBeanName": "arcgisFeatureServiceConverter",
    "contentType": "application/json"
  },
  "updateInterval": "PT24H"
}

Changes

No recorded changes to this operation across all 1 revision of this API.