Esri ArcGIS Feature Service User Attributes

These are the attribute types defined by this format.

Attribute Type

Description

BigInteger

BigInteger fields store 64-big integers. This field type is fully supported by ArcGIS Online and ArcGIS Enterprise 11.3+ (beta support was added in ArcGIS Enterprise 11.2)

Date

A date field stores date and/or time. It is represented as a UNIX timestamp (milliseconds since epoch).

DateOnly

A DateOnly field stores date values, represented as ISO 8601 formatted date strings. Attribute values containing time will not be accepted. This field type is fully supported by ArcGIS Online and ArcGIS Enterprise 11.3+ (beta support was added in ArcGIS Enterprise 11.2)

Double

Double fields store 64-bit floating point values. There is no ability to specify the precision and width of the field.

GlobalID(width)

The Global ID field. Each feature type may define at most one field with this type. Its value is a GUID. The width is ignored. It is exposed to maintain parity with the ArcGIS REST API.

GUID(width)

A globally unique identifier (GUID) field. The width is ignored. It is exposed to maintain parity with the ArcGIS REST API.

OID

The Object ID field. Each feature type may define at most one field with this type. Its value is an integer.

Integer

Integer fields store signed 32-bit integers.

Single

Single fields store 32-bit floating point values.

There is no ability to specify the precision and width of the field.

SmallInteger

Small integer fields store 16-bit signed integers.

String(width)

String fields store arbitrary string data, up to a specified size limit.

TimeOnly

A TimeOnly field stores time values, represented as ISO 8601 formatted time strings. Attribute values containing dates will not be accepted.

This field type is fully supported by ArcGIS Online and ArcGIS Enterprise 11.3+ (beta support was added in ArcGIS Enterprise 11.2)

TimestampOffset

Timestamp fields store datetime values which contain timezone offsets. The expected format is an ISO 8601 formatted datetime string. If a timezone is not provided, an offset of 0 (UTC) will be assumed by the server.

This field type is fully supported by ArcGIS Online and ArcGIS Enterprise 11.3+ (beta support was added in ArcGIS Enterprise 11.2). Not all ArcGIS Enterprise instances support this type.

Layer indexes can be set during feature service creation.

The Index field is optional.

Index Name

Description

Unique

All non-null values in this field will be unique.

NotNull

All values in this field will not be NULL.

UniqueNotNull

All values in this field will be unique and not NULL. Fields with this index constraint can be used as an ‘Upsert Match Field’