- 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
| Parameter | Details | 
|---|---|
| 
 | The response format. The default response format is html. Values: html | json | 
Example Usage
JSON Response Syntax
{
   "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
{
    "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
         }
      }
  ]
}