ArcGIS REST Services Directory Login
JSON

Relationships : (Hosted/Water_Right_Features_Demo_File_GDB)

{"relationships": [
 {
  "relationshipTableId": 12,
  "attributed": true,
  "rules": [],
  "forwardPathLabel": "WWR has one or more conveyanes",
  "cardinality": "esriRelCardinalityManyToMany",
  "destinationLayerId": 2,
  "destinationForeignKey": "water_right_feat_globalid_3",
  "composite": false,
  "originLayerId": 11,
  "name": "",
  "backwardPathLabel": "Conveyance has one or more WWR",
  "originPrimaryKey": "globalid",
  "id": 0,
  "destinationPrimaryKey": "globalid",
  "originForeignKey": "water_right_feat_globalid_2"
 },
 {
  "destinationLayerId": 7,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Measurement Device has POD",
  "rules": [],
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "POD has Measurement Device",
  "id": 1,
  "originForeignKey": "water_right_feat_globalid_2",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "relationshipTableId": 13,
  "attributed": true,
  "rules": [],
  "forwardPathLabel": "WRR has one or more POD",
  "cardinality": "esriRelCardinalityManyToMany",
  "destinationLayerId": 3,
  "destinationForeignKey": "water_right_feat_globalid_3",
  "composite": false,
  "originLayerId": 11,
  "name": "",
  "backwardPathLabel": "POD has zero or many WRR",
  "originPrimaryKey": "globalid",
  "id": 2,
  "destinationPrimaryKey": "globalid",
  "originForeignKey": "water_right_feat_globalid_2"
 },
 {
  "relationshipTableId": 14,
  "attributed": true,
  "rules": [],
  "forwardPathLabel": "WRR has one or more POU",
  "cardinality": "esriRelCardinalityManyToMany",
  "destinationLayerId": 4,
  "destinationForeignKey": "water_right_feat_globalid_3",
  "composite": false,
  "originLayerId": 11,
  "name": "",
  "backwardPathLabel": "POU has one or more WRR",
  "originPrimaryKey": "globalid",
  "id": 3,
  "destinationPrimaryKey": "globalid",
  "originForeignKey": "water_right_feat_globalid_2"
 },
 {
  "relationshipTableId": 10,
  "attributed": true,
  "rules": [],
  "forwardPathLabel": "Source Document has Contact",
  "cardinality": "esriRelCardinalityManyToMany",
  "destinationLayerId": 5,
  "destinationForeignKey": "water_right_feat_globalid_3",
  "composite": false,
  "originLayerId": 9,
  "name": "",
  "backwardPathLabel": "Contact has Source Document",
  "originPrimaryKey": "globalid",
  "id": 4,
  "destinationPrimaryKey": "globalid",
  "originForeignKey": "water_right_feat_globalid_2"
 },
 {
  "destinationLayerId": 11,
  "attributed": false,
  "composite": false,
  "originLayerId": 9,
  "name": "",
  "backwardPathLabel": "WRR has one Source Document",
  "rules": [],
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "Source Documents has one or more WRR",
  "id": 5,
  "originForeignKey": "water_right_feat_globalid_2",
  "cardinality": "esriRelCardinalityOneToMany"
 }
]}