---
schema_version: "1"
id: c0eb09ec057fb762ff2de47f9befc561ddf429f38cd0920dd51fcd470e9ac665
title: Charts Geodata List Resource
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest/bi_resources_eclair_geodata.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_resources_eclair_geodata.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ece90075ec7ed4e1a24973308bf568b0d6e5f6871916acf77963e59f737ecf9e
description: Returns a collection of geodata definitions and creates a geodata definition.
---
# Charts Geodata List Resource

Returns a collection of geodata definitions and creates a geodata definition.

Resource URL

/eclair/geodata

Formats

JSON

Available Version

38.0

HTTP Methods

GET POST

Request parameters for GET

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| page | Int | The page number you want to view. | Optional | 38.0 |
| pageSize | Int | The number of items to be returned in a single page. Minimum is 1, maximum is 200, and default is 25. | Optional | 38.0 |

Response body for GET

[Geo Data Collection](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_geo_data_collection.htm "A collection of the geo data used by a map.")

Request parameters for POST

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| geo​Data​File | Binary | The geodata JSON file to upload. | Required | 39.0 |
| geo​Data​Object | [Geo​Data​Input](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_requests_geo_data_input.htm "The geo data used by a map.") | All the relevant information about the geodata, such as {"label": "My GeoData"}. | Required | 39.0 |

Response body for POST

[Geo Data](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_geo_data.htm "The geo data used by a map.")

The following JSON shows how to create a geodata resource from a GeoJson file.

{
  "label": "GeoJsonLabel",
  "name": "GeoJsonName"
}