ArcGIS REST Services Directory Login
JSON

Relationships : (Hosted/Permits)

{"relationships": [
 {
  "destinationLayerId": 6,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "uniqueid",
  "forwardPathLabel": "buildingpermit",
  "id": 0,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 5,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "uniqueid",
  "forwardPathLabel": "buildingsiteonly",
  "id": 1,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 4,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "SoilProfile",
  "id": 2,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 10,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "inspections",
  "id": 3,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 7,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "uniqueid",
  "forwardPathLabel": "solarpermit",
  "id": 4,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 9,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "uniqueid",
  "forwardPathLabel": "inspection_request",
  "id": 5,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 8,
  "attributed": false,
  "composite": false,
  "originLayerId": 3,
  "name": "",
  "backwardPathLabel": "Permits",
  "rules": [],
  "originPrimaryKey": "uniqueid",
  "forwardPathLabel": "well_sewer",
  "id": 6,
  "originForeignKey": "uniqueid",
  "cardinality": "esriRelCardinalityOneToMany"
 }
]}