Skip To Content

Centerline Sequence Table

Description

License:

The ArcGIS Location Referencing license is required to use this resource.

This operation represents a centerline sequence table in a linear referencing geodatabase.

Request parameters

ParameterDetails
f

Optional parameter to specify the response format. The default response format is html.

Values: html | json

Example usage

URL for centerline sequence table ID 17.

http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRSServer/CenterlineSequenceTables/17

JSON response syntax


{
  "id": "<layerId>",
  "name": "<layerName>",
  "type": "<layerType>",
  "isDataVersioned": "<true | false>",
  "isBranchVersioned": "<true | false>",
  "versionName": "<versionName>",
  "dateFormat": "<sqlDateFormat>",
  "centerlineIdFieldName": "<fieldName>",
  "routeIdFieldName": "<fieldName>",
  "fromDateFieldName": "<fieldName>",
  "toDateFieldName": "<fieldName>",
  "networkFieldName": "<fieldName>",
  "lrs": {
    "id": "<id>",
    "name": "<name>"
  },
  "fields": [
  {
    "name": "<fieldName1>",
    "type": "<fieldType1>",
    "alias": "<fieldAlias1>",
    "length": "<length1>",
    "editable": "<true | false>",
    "nullable": "<true | false>",
    "defaultValue": "<defaultValue1>",
    "domain": "<domain1>"
  },
  {
    "name": "<fieldName2>",
    "type": "<fieldType2>",
    "alias": "<fieldAlias2>",
    "length": "<length2>",
    "editable": "<true | false>",
    "nullable": "<true | false>",
    "defaultValue": "<defaultValue2>",
    "domain": "<domain2>"
  },
  ...
 ]
}

JSON response example


{
  "id": 17,
  "name": "Centerline_Sequence",
  "type": "",
  "isDataVersioned": true,
  "isBranchVersioned": true,
  "versionName": "sde.DEFAULT",
  "dateFormat": "esriLRSDateFormatStandard",
  "centerlineIdFieldName": "CenterlineId",
  "routeIdFieldName": "RouteId",
  "fromDateFieldName": "FromDate",
  "toDateFieldName": "ToDate",
  "networkFieldName": "NetworkId",
  "lrs": {
    "id": "F284C173-7730-4F72-B998-F1FA89CE4E8E",
    "name": "LRS"
  },
  "fields": [
  {
    "name": "OBJECTID",
    "type": "esriFieldTypeOID",
    "alias": "OBJECTID",
    "editable": false,
    "nullable": false,
    "defaultValue": null,
    "domain": null
  },
  {
    "name": "FromDate",
    "type": "esriFieldTypeDate",
    "alias": "FromDate",
    "length": 8,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "domain": null
  },
  {
    "name": "ToDate",
    "type": "esriFieldTypeDate",
    "alias": "ToDate",
    "length": 8,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "domain": null
  },
  {
    "name": "NetworkId",
    "type": "esriFieldTypeSmallInteger",
    "alias": "NetworkId",
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "domain": 
    {
      "type": "codedValue",
      "name": "dLRSNetworks",
      "codedValues": [
      {
        "name": "Network",
        "code": 1
      }
      ]
    }
  },
  {
    "name": "RouteId",
    "type": "esriFieldTypeString",
    "alias": "RouteId",
    "length": 255,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "domain": null
  },
  {
    "name": "CenterlineId",
    "type": "esriFieldTypeGUID",
    "alias": "CenterlineId",
    "length": 38,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "domain": null
  }
  ]
}