ArcGIS REST Services Directory Login
JSON

Relationships : (Swansea_IL/Swansea_SanitarySewer)

{"relationships": [
 {
  "id": 0,
  "name": "ssManhole_InspectReport_RELATE",
  "backwardPathLabel": "Manhole",
  "originLayerId": 3,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "To Inspection Report",
  "destinationLayerId": 15,
  "originForeignKey": "FACILITYID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 },
 {
  "id": 1,
  "name": "ssManhole_MainTo_RELATE",
  "backwardPathLabel": "Related Manhole To:",
  "originLayerId": 3,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "Related Main To:",
  "destinationLayerId": 12,
  "originForeignKey": "TOMH",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToOne",
  "attributed": false,
  "composite": false
 },
 {
  "id": 2,
  "name": "ssManhole_MainFrom_RELATE",
  "backwardPathLabel": "Related Manhole From:",
  "originLayerId": 3,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "Related Main From:",
  "destinationLayerId": 12,
  "originForeignKey": "FROMMH",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToOne",
  "attributed": false,
  "composite": false
 },
 {
  "id": 3,
  "name": "ssPump_MainTo_RELATE",
  "backwardPathLabel": "To Pump",
  "originLayerId": 4,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "To Gravity Main",
  "destinationLayerId": 12,
  "originForeignKey": "TOMH",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToOne",
  "attributed": false,
  "composite": false
 },
 {
  "id": 4,
  "name": "ssPump_MainFrom_RELATE",
  "backwardPathLabel": "From Pump",
  "originLayerId": 4,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "From Gravity Main",
  "destinationLayerId": 12,
  "originForeignKey": "FROMMH",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToOne",
  "attributed": false,
  "composite": false
 },
 {
  "id": 5,
  "name": "ssMain_InspectReport_RELATE",
  "backwardPathLabel": "Main",
  "originLayerId": 12,
  "originPrimaryKey": "FACILITYID",
  "forwardPathLabel": "To Inspection Report",
  "destinationLayerId": 16,
  "originForeignKey": "FACILITYID",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": false
 }
]}