> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.nukio.mx/nukio-api/geozone/get-geozones-range/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.nukio.mx/_mcp/server. # getGeozones range GET https://app.nukio.mx/api/v1/geozone/getgeozones/{intervalStart}/{intervalSize}/authorization Reference: https://developers.nukio.mx/nukio-api/geozone/get-geozones-range ## Authentication - `authorization` header (required) — API Key authentication via header ## Request ### Path parameters - `intervalStart` (string, required) — Interval start range - `intervalSize` (string, required) — Interval end range ## Response ### 200 OK - `success` (string, required) - `geozones` (list of ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItems, required) - `status_code` (string, required) - `hasUpdateGeozonePrivileges` (boolean, required) ## Types ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItems - `features` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeatures, required) - `sections` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSections, required) - `geozoneID` (string, required) - `geozoneType` (integer, required) - `geozonePoint1` (string, required) - `geozonePoint2` (string, required) - `geozonePoint3` (string, required) - `geozonePoint4` (string, required) - `geozonePoint5` (string, required) - `geozonePoint6` (string, required) - `geozonePoint7` (string, required) - `geozonePoint8` (string, required) - `geozoneRadius` (integer, required) - `geozoneAlertExit` (boolean, required) - `geozoneAlertEntry` (boolean, required) - `geozoneDisplayName` (string, required) - `geozoneArrivalEngineOn` (boolean, required) - `geozoneArrivalCabinLock` (boolean, required) - `geozoneArrivalCargoLock` (boolean, required) - `geozoneArrivalEngineOff` (boolean, required) - `geozoneDepartureEngineOn` (boolean, required) - `geozoneArrivalCabinUnlock` (boolean, required) - `geozoneArrivalCargoUnlock` (boolean, required) - `geozoneDepartureCabinLock` (boolean, required) - `geozoneDepartureCargoLock` (boolean, required) - `geozoneDepartureEngineOff` (boolean, required) - `geozoneDepartureCabinUnlock` (boolean, required) - `geozoneDepartureCargoUnlock` (boolean, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeatures - `cargoaccess` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccess, required) - `enginecutoff` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoff, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSections - `arrive` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArrive, required) - `depart` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepart, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccess - `states` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccessStates, required) - `displayText` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoff - `states` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoffStates, required) - `displayText` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArrive - `features` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeatures, required) - `displayText` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepart - `features` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeatures, required) - `displayText` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccessStates - `0` (string, required) - `1` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoffStates - `0` (string, required) - `1` (string, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeatures - `cargoaccess` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesCargoaccess, required) - `enginecutoff` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesEnginecutoff, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeatures - `cargoaccess` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesCargoaccess, required) - `enginecutoff` (ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesEnginecutoff, required) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesCargoaccess - `state` (string, required) - `onText` (string, required) - `offText` (string, required) - `displayName` (string, required) - `isNegativeTriggered` (boolean, required) - `pendingState` (any, optional) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesEnginecutoff - `state` (string, required) - `onText` (string, required) - `offText` (string, required) - `displayName` (string, required) - `isNegativeTriggered` (boolean, required) - `pendingState` (any, optional) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesCargoaccess - `onText` (string, required) - `offText` (string, required) - `displayName` (string, required) - `isNegativeTriggered` (boolean, required) - `state` (any, optional) - `pendingState` (any, optional) ### ApiV1GeozoneGetgeozonesIntervalStartIntervalSizeAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesEnginecutoff - `onText` (string, required) - `offText` (string, required) - `displayName` (string, required) - `isNegativeTriggered` (boolean, required) - `state` (any, optional) - `pendingState` (any, optional) ## Examples **Response** ```json { "success": "1", "geozones": [ { "features": { "cargoaccess": { "states": { "0": "Disallowed", "1": "Allowed" }, "displayText": "Cargo Access" }, "enginecutoff": { "states": { "0": "Disabled", "1": "Enabled" }, "displayText": "Engine Cutoff" } }, "sections": { "arrive": { "features": { "cargoaccess": { "state": "1", "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "state": "1", "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Arrival" }, "depart": { "features": { "cargoaccess": { "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Departure" } }, "geozoneID": "fuelquest", "geozoneType": 0, "geozonePoint1": "29.73251,-95.43456", "geozonePoint2": "0.00000,0.00000", "geozonePoint3": "0.00000,0.00000", "geozonePoint4": "0.00000,0.00000", "geozonePoint5": "0.00000,0.00000", "geozonePoint6": "0.00000,0.00000", "geozonePoint7": "0.00000,0.00000", "geozonePoint8": "0.00000,0.00000", "geozoneRadius": 400, "geozoneAlertExit": false, "geozoneAlertEntry": false, "geozoneDisplayName": "", "geozoneArrivalEngineOn": false, "geozoneArrivalCabinLock": false, "geozoneArrivalCargoLock": false, "geozoneArrivalEngineOff": true, "geozoneDepartureEngineOn": false, "geozoneArrivalCabinUnlock": false, "geozoneArrivalCargoUnlock": true, "geozoneDepartureCabinLock": false, "geozoneDepartureCargoLock": false, "geozoneDepartureEngineOff": false, "geozoneDepartureCabinUnlock": false, "geozoneDepartureCargoUnlock": false }, { "features": { "cargoaccess": { "states": { "0": "Disallowed", "1": "Allowed" }, "displayText": "Cargo Access" }, "enginecutoff": { "states": { "0": "Disabled", "1": "Enabled" }, "displayText": "Engine Cutoff" } }, "sections": { "arrive": { "features": { "cargoaccess": { "state": "string", "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "state": "string", "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Arrival" }, "depart": { "features": { "cargoaccess": { "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false, "state": null }, "enginecutoff": { "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Departure" } }, "geozoneID": "geozona_de_prueba", "geozoneType": 3, "geozonePoint1": "25.67223,-100.30978", "geozonePoint2": "25.67213,-100.30888", "geozonePoint3": "25.66993,-100.30916", "geozonePoint4": "25.66747,-100.30958", "geozonePoint5": "25.66475,-100.31029", "geozonePoint6": "25.66571,-100.31435", "geozonePoint7": "25.66829,-100.31373", "geozonePoint8": "25.66776,-100.31072", "geozoneRadius": 500, "geozoneAlertExit": false, "geozoneAlertEntry": false, "geozoneDisplayName": "", "geozoneArrivalEngineOn": false, "geozoneArrivalCabinLock": false, "geozoneArrivalCargoLock": false, "geozoneArrivalEngineOff": false, "geozoneDepartureEngineOn": false, "geozoneArrivalCabinUnlock": false, "geozoneArrivalCargoUnlock": false, "geozoneDepartureCabinLock": false, "geozoneDepartureCargoLock": false, "geozoneDepartureEngineOff": false, "geozoneDepartureCabinUnlock": false, "geozoneDepartureCargoUnlock": true }, { "features": { "cargoaccess": { "states": { "0": "Disallowed", "1": "Allowed" }, "displayText": "Cargo Access" }, "enginecutoff": { "states": { "0": "Disabled", "1": "Enabled" }, "displayText": "Engine Cutoff" } }, "sections": { "arrive": { "features": { "cargoaccess": { "state": "string", "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "state": "string", "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Arrival" }, "depart": { "features": { "cargoaccess": { "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false, "state": null }, "enginecutoff": { "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false, "state": null } }, "displayText": "Departure" } }, "geozoneID": "nuve-ati-2013", "geozoneType": 3, "geozonePoint1": "30.39707,-97.73583", "geozonePoint2": "30.39617,-97.73387", "geozonePoint3": "30.39563,-97.73378", "geozonePoint4": "30.39408,-97.73462", "geozonePoint5": "30.39374,-97.73538", "geozonePoint6": "30.39408,-97.73645", "geozonePoint7": "30.39537,-97.73712", "geozonePoint8": "30.39636,-97.73683", "geozoneRadius": 3000, "geozoneAlertExit": false, "geozoneAlertEntry": false, "geozoneDisplayName": "", "geozoneArrivalEngineOn": false, "geozoneArrivalCabinLock": false, "geozoneArrivalCargoLock": false, "geozoneArrivalEngineOff": false, "geozoneDepartureEngineOn": false, "geozoneArrivalCabinUnlock": false, "geozoneArrivalCargoUnlock": false, "geozoneDepartureCabinLock": false, "geozoneDepartureCargoLock": false, "geozoneDepartureEngineOff": true, "geozoneDepartureCabinUnlock": true, "geozoneDepartureCargoUnlock": true }, { "features": { "cargoaccess": { "states": { "0": "Disallowed", "1": "Allowed" }, "displayText": "Cargo Access" }, "enginecutoff": { "states": { "0": "Disabled", "1": "Enabled" }, "displayText": "Engine Cutoff" } }, "sections": { "arrive": { "features": { "cargoaccess": { "state": "string", "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "state": "string", "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Arrival" }, "depart": { "features": { "cargoaccess": { "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Departure" } }, "geozoneID": "prueba", "geozoneType": 3, "geozonePoint1": "22.37620,-97.90095", "geozonePoint2": "0.00000,0.00000", "geozonePoint3": "0.00000,0.00000", "geozonePoint4": "0.00000,0.00000", "geozonePoint5": "0.00000,0.00000", "geozonePoint6": "0.00000,0.00000", "geozonePoint7": "0.00000,0.00000", "geozonePoint8": "0.00000,0.00000", "geozoneRadius": 3000, "geozoneAlertExit": false, "geozoneAlertEntry": false, "geozoneDisplayName": "", "geozoneArrivalEngineOn": false, "geozoneArrivalCabinLock": false, "geozoneArrivalCargoLock": false, "geozoneArrivalEngineOff": false, "geozoneDepartureEngineOn": false, "geozoneArrivalCabinUnlock": false, "geozoneArrivalCargoUnlock": false, "geozoneDepartureCabinLock": false, "geozoneDepartureCargoLock": false, "geozoneDepartureEngineOff": false, "geozoneDepartureCabinUnlock": false, "geozoneDepartureCargoUnlock": false }, { "features": { "cargoaccess": { "states": { "0": "Disallowed", "1": "Allowed" }, "displayText": "Cargo Access" }, "enginecutoff": { "states": { "0": "Disabled", "1": "Enabled" }, "displayText": "Engine Cutoff" } }, "sections": { "arrive": { "features": { "cargoaccess": { "state": "0", "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false }, "enginecutoff": { "state": "string", "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Arrival" }, "depart": { "features": { "cargoaccess": { "onText": "on", "offText": "off", "displayName": "Cargo Access", "isNegativeTriggered": false, "state": null }, "enginecutoff": { "onText": "on", "offText": "off", "displayName": "Engine Cutoff", "isNegativeTriggered": false } }, "displayText": "Departure" } }, "geozoneID": "prueba-plataforma", "geozoneType": 3, "geozonePoint1": "30.35406,-97.75017", "geozonePoint2": "30.35379,-97.74981", "geozonePoint3": "30.35336,-97.74990", "geozonePoint4": "30.35298,-97.75017", "geozonePoint5": "30.35300,-97.75027", "geozonePoint6": "30.35308,-97.75043", "geozonePoint7": "30.35317,-97.75059", "geozonePoint8": "30.35324,-97.75073", "geozoneRadius": 500, "geozoneAlertExit": false, "geozoneAlertEntry": false, "geozoneDisplayName": "", "geozoneArrivalEngineOn": false, "geozoneArrivalCabinLock": false, "geozoneArrivalCargoLock": true, "geozoneArrivalEngineOff": false, "geozoneDepartureEngineOn": false, "geozoneArrivalCabinUnlock": false, "geozoneArrivalCargoUnlock": false, "geozoneDepartureCabinLock": false, "geozoneDepartureCargoLock": false, "geozoneDepartureEngineOff": false, "geozoneDepartureCabinUnlock": false, "geozoneDepartureCargoUnlock": true } ], "status_code": "200", "hasUpdateGeozonePrivileges": true } ``` **SDK Code** ```python Geozone_getGeozones range_example import requests url = "https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization" headers = {"authorization": ""} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript Geozone_getGeozones range_example const url = 'https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization'; const options = {method: 'GET', headers: {authorization: ''}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Geozone_getGeozones range_example package main import ( "fmt" "net/http" "io" ) func main() { url := "https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("authorization", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Geozone_getGeozones range_example require 'uri' require 'net/http' url = URI("https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["authorization"] = '' response = http.request(request) puts response.read_body ``` ```java Geozone_getGeozones range_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization") .header("authorization", "") .asString(); ``` ```php Geozone_getGeozones range_example request('GET', 'https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization', [ 'headers' => [ 'authorization' => '', ], ]); echo $response->getBody(); ``` ```csharp Geozone_getGeozones range_example using RestSharp; var client = new RestClient("https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization"); var request = new RestRequest(Method.GET); request.AddHeader("authorization", ""); IRestResponse response = client.Execute(request); ``` ```swift Geozone_getGeozones range_example import Foundation let headers = ["authorization": ""] let request = NSMutableURLRequest(url: NSURL(string: "https://app.nukio.mx/api/v1/geozone/getgeozones/1/5/authorization")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```