Relationships for 3D (Feature Service/Layer)

URL:
https://<root>/<serviceName>/FeatureServer/<layerId>/relationshipsfor3d
Methods:
GET
Version Introduced:
11.1

Description

The relationshipsfor3d resource returns information about the relationship between the layer and the asset map and asset table of a 3D object feature layer.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the relationshipsfor3d resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/rest/services/City_Park_Assets/FeatureServer/0/relationshipsfor3d?f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "relationships": [
    {
      "id": <id>,
      "name": "<name>",
      "catalogID": "<catalogId>",
      "backwardPathLabel": "<pathLabel>",
      "originLayerId": <originLayerId>,
      "originPrimaryKey": "<originPrimaryKey>",
      "forwardPathLabel": "<forwardPathLabel>",
      "destinationLayerId": <destinationLayerId>,
      "originForeignKey": "<originForeignKey>",
      "rules": [],
      "cardinality": <esriRelCardinalityOneToOne | esriRelCardinalityOneToMany | esriRelCardinalityManyToMany>,
      "attributed": <true | false>,
      "composite": <true | false>
    }
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "relationships": [
    {
      "id": 0,
      "name": "FC3DObject2_3DORCAM",
      "catalogID": "{8D5DAD58-3007-489C-B93D-DFD5E8BDBB23}",
      "backwardPathLabel": "belongs to feature",
      "originLayerId": 0,
      "originPrimaryKey": "GlobalID",
      "forwardPathLabel": "has asset info",
      "destinationLayerId": 1,
      "originForeignKey": "ESRI3DO_PID",
      "rules": [],
      "cardinality": "esriRelCardinalityOneToMany",
      "attributed": false,
      "composite": true
    },
    {
      "id": 1,
      "name": "FC3DObject2_3DORCAT",
      "catalogID": "{27B89B31-132C-4EC0-A696-19E623837222}",
      "backwardPathLabel": "is BLOB",
      "originLayerId": 2,
      "originPrimaryKey": "ESRI3DO_AHASH",
      "forwardPathLabel": "has asset info",
      "destinationLayerId": 1,
      "originForeignKey": "ESRI3DO_AHASH",
      "rules": [],
      "cardinality": "esriRelCardinalityOneToMany",
      "attributed": false,
      "composite": false
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.