Fields

URL:
https://<catalog-url>/<serviceName>/RelationalCatalogServer/entities/<entityCatalogId>/fields
Methods:
GET
Version Introduced:
10.5

Description

This resource provides information about an entity's fields.

Request Parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example Usage

https://services.myserver.com/arcgis/rest/services/LOB/RelationalCatalogServer/entities/dbo.flight_route/fields?f=json

JSON Response Syntax

1
2
3
4
5
6
7
8
9
10
11
12
{
   "fields":[
     {
       "catalogId": "",             //unique ID for the field
       "type": "",                  //esriFieldTypeEnum
       "alias": "",                 //user-friendly name (not guaranteed to be unique)
       "nullable": <true | false>,  //indicates whether the field can accept null values
       "geometryType": "",          //esriGeometryPoint | esriGeometryPolyline | esriGeometryPolygon | esriGeometryMultipoint
       "spatialReference": {}       //spatial reference object
     },…
  ]
}

JSON Response Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
    "fields" : [
      {
        "catalogId":"dbo.flight_route.id",
        "type":"esriFieldTypeInteger",
        "alias":"id",
        "nullable":false
      },
      {
        "catalogId":"dbo.flight_route.codeshare",
        "type":"esriFieldTypeString",
        "alias":"codeshare",
        "nullable":true
      },
      {
        "catalogId":"dbo.flight_route.shape_geom",
        "type":"esriFieldTypeGeometry",
        "alias":"shape_geom",
        "nullable":true,
        "geometryType":"esriGeometryPolyline",
        "spatialReference":{
          "wkid":4326
         }
      }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close