ArcGIS REST Services Directory Login
JSON

Relationships : (WaterUN/Fire_Hydrants_Cityworks)

{"relationships": [
 {
  "id": 0,
  "name": "WaterDevice_WATER_PUMP",
  "backwardPathLabel": "WATER_PUMP",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 1,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 1,
  "name": "WaterDevice_WATER_CHLORINE_ANALYZER",
  "backwardPathLabel": "WATER_CHLORINE_ANALYZER",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 2,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 2,
  "name": "WaterDevice_WATER_RTU",
  "backwardPathLabel": "WATER_RTU",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 3,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 3,
  "name": "WaterDevice_WATER_CONTROL_VALVE",
  "backwardPathLabel": "WATER_CONTROL_VALVE",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 4,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 4,
  "name": "WaterDevice_WATER_COMPRESSOR",
  "backwardPathLabel": "WATER_COMPRESSOR",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 5,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 5,
  "name": "WaterDevice_WATER_ARV",
  "backwardPathLabel": "WATER_ARV",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 6,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 6,
  "name": "WaterDevice_WATER_CHECK_VALVE",
  "backwardPathLabel": "WATER_CHECK_VALVE",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 7,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 7,
  "name": "WaterDevice_WATER_GATE_VALVE",
  "backwardPathLabel": "WATER_GATE_VALVE",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 8,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 8,
  "name": "WaterDevice_WATER_MCC",
  "backwardPathLabel": "WATER_MCC",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 9,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 9,
  "name": "WaterDevice_WATER_GENERATOR",
  "backwardPathLabel": "WaterDevice",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "WATER_GENERATOR",
  "destinationLayerId": 10,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 10,
  "name": "WaterDevice_WATER_MOTOR",
  "backwardPathLabel": "WATER_MOTOR",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 11,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 11,
  "name": "WaterDevice_WATER_METER",
  "backwardPathLabel": "WATER_METER",
  "originLayerId": 0,
  "originPrimaryKey": "UID",
  "forwardPathLabel": "Water Device",
  "destinationLayerId": 12,
  "originForeignKey": "PARENT_UID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 }
]}